2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-12-27 11:21:42 +00:00

Merge branch 'master' of github.com:xcat2/xcat-core

This commit is contained in:
Jarrod Johnson
2016-04-29 11:34:23 -04:00
40 changed files with 2127 additions and 155 deletions

View File

@@ -23,11 +23,11 @@ SYNOPSIS
\ **bmcdiscover**\ [\ **-v | -**\ **-version**\ ]
\ **bmcdiscover**\ [\ **-s**\ \ *scan_method*\ ] \ **-**\ **-range**\ \ *ip_ranges*\ [\ **-z**\ ] [\ **-w**\ ] [\ **-t**\ ]
\ **bmcdiscover**\ [\ **-s**\ \ *scan_method*\ ] [\ **-u**\ \ *bmc_user*\ ] [\ **-p**\ \ *bmc_passwd*\ ] [\ **-z**\ ] [\ **-w**\ ] [\ **-t**\ ] \ **-**\ **-range**\ \ *ip_ranges*\
\ **bmcdiscover**\ {\ **-i | -**\ **-bmcip**\ } \ *bmc_ip*\ {\ **-u | -**\ **-bmcuser**\ } \ *bmc_username*\ {\ **-p | -**\ **-bmcpasswd**\ } \ *bmc_password*\ \ **-**\ **-check**\
\ **bmcdiscover**\ \ **-u**\ \ *bmc_user*\ \ **-p**\ \ *bmc_passwd*\ \ **-i**\ \ *bmc_ip*\ \ **-**\ **-check**\
\ **bmcdiscover**\ {\ **-i | -**\ **-bmcip**\ } \ *bmc_ip*\ {\ **-u | -**\ **-bmcuser**\ } \ *bmc_username*\ {\ **-p | -**\ **-bmcpasswd**\ } \ *bmc_password*\ \ **-**\ **-ipsource**\
\ **bmcdiscover**\ [\ **-u**\ \ *bmc_user*\ ] [\ **-p**\ \ *bmc_passwd*\ ] \ **-i**\ \ *bmc_ip*\ \ **-**\ **-ipsource**\
***********
@@ -100,13 +100,13 @@ OPTIONS
\ **-c|-**\ **-check**\
Check
Check BMC administrator User/Password.
\ **-**\ **-ipsource**\
BMC IP source
Display the BMC IP configuration.

View File

@@ -63,9 +63,9 @@ mpa Attributes:
\ **slots**\
The number of available slots in the chassis. For PCM, this attribute is used to store the number of slots in the following format: <slot rows>,<slot columns>,<slot orientation> Where:
<slot rows> = number of rows of slots in chassis
<slot columns> = number of columns of slots in chassis
<slot orientation> = set to 0 if slots are vertical, and set to 1 if slots of horizontal
<slot rows> = number of rows of slots in chassis
<slot columns> = number of columns of slots in chassis
<slot orientation> = set to 0 if slots are vertical, and set to 1 if slots of horizontal

View File

@@ -19,7 +19,7 @@ SYNOPSIS
********
\ **noderes Attributes:**\ \ *node*\ , \ *servicenode*\ , \ *netboot*\ , \ *tftpserver*\ , \ *tftpdir*\ , \ *nfsserver*\ , \ *monserver*\ , \ *nfsdir*\ , \ *installnic*\ , \ *primarynic*\ , \ *discoverynics*\ , \ *cmdinterface*\ , \ *xcatmaster*\ , \ *current_osimage*\ , \ *next_osimage*\ , \ *nimserver*\ , \ *routenames*\ , \ *nameservers*\ , \ *proxydhcp*\ , \ *comments*\ , \ *disable*\
\ **noderes Attributes:**\ \ *node*\ , \ *servicenode*\ , \ *netboot*\ , \ *tftpserver*\ , \ *tftpdir*\ , \ *nfsserver*\ , \ *monserver*\ , \ *nfsdir*\ , \ *installnic*\ , \ *primarynic*\ , \ *discoverynics*\ , \ *cmdinterface*\ , \ *xcatmaster*\ , \ *current_osimage*\ , \ *next_osimage*\ , \ *nimserver*\ , \ *routenames*\ , \ *nameservers*\ , \ *proxydhcp*\ , \ *syslog*\ , \ *comments*\ , \ *disable*\
***********
@@ -156,6 +156,12 @@ noderes Attributes:
\ **syslog**\
To configure how to configure syslog for compute node. Valid values:blank(not set), ignore. blank - run postscript syslog; ignore - do NOT run postscript syslog
\ **comments**\
Any user-written notes.

View File

@@ -300,16 +300,16 @@ site Attributes:
xcatconfdir: Where xCAT config data is (default /etc/xcat).
xcatdebugmode: the xCAT debug level. xCAT provides a batch of techniques
to help user debug problems while using xCAT, especially on OS provision,
such as collecting logs of the whole installation process and accessing
the installing system via ssh, etc. These techniques will be enabled
according to different xCAT debug levels specified by 'xcatdebugmode',
currently supported values:
'0': disable debug mode
'1': enable basic debug mode
'2': enalbe expert debug mode
For the details on 'basic debug mode' and 'expert debug mode',
please refer to xCAT documentation.
to help user debug problems while using xCAT, especially on OS provision,
such as collecting logs of the whole installation process and accessing
the installing system via ssh, etc. These techniques will be enabled
according to different xCAT debug levels specified by 'xcatdebugmode',
currently supported values:
'0': disable debug mode
'1': enable basic debug mode
'2': enalbe expert debug mode
For the details on 'basic debug mode' and 'expert debug mode',
please refer to xCAT documentation.
--------------------
REMOTESHELL ATTRIBUTES
@@ -380,6 +380,10 @@ site Attributes:
entries generated by 'makehosts' will put the FQDN before the PQDN(Partially
Qualified Domain Name). Otherwise, the original behavior will be performed.
heirarchicalattrs: Table attributes(e.g. postscripts, postbootscripts) that will be
included hierarchically. Attribute values for all the node's groups
will be applied to the node in the groups' order except the repeat one.
.. code-block:: perl

View File

@@ -19,7 +19,7 @@ SYNOPSIS
********
\ **group Attributes:**\ \ *addkcmdline*\ , \ *arch*\ , \ *authdomain*\ , \ *bmc*\ , \ *bmcpassword*\ , \ *bmcport*\ , \ *bmcusername*\ , \ *cfgmgr*\ , \ *cfgmgtroles*\ , \ *cfgserver*\ , \ *chain*\ , \ *chassis*\ , \ *cmdmapping*\ , \ *cons*\ , \ *conserver*\ , \ *consoleondemand*\ , \ *cpucount*\ , \ *cputype*\ , \ *currchain*\ , \ *currstate*\ , \ *dhcpinterfaces*\ , \ *disksize*\ , \ *displayname*\ , \ *dockercpus*\ , \ *dockerflag*\ , \ *dockerhost*\ , \ *dockermemory*\ , \ *dockernics*\ , \ *domainadminpassword*\ , \ *domainadminuser*\ , \ *domaintype*\ , \ *getmac*\ , \ *groupname*\ , \ *grouptype*\ , \ *hcp*\ , \ *height*\ , \ *hostcluster*\ , \ *hostinterface*\ , \ *hostmanager*\ , \ *hostnames*\ , \ *hosttype*\ , \ *hwtype*\ , \ *id*\ , \ *initrd*\ , \ *installnic*\ , \ *interface*\ , \ *ip*\ , \ *iscsipassword*\ , \ *iscsiserver*\ , \ *iscsitarget*\ , \ *iscsiuserid*\ , \ *kcmdline*\ , \ *kernel*\ , \ *linkports*\ , \ *mac*\ , \ *membergroups*\ , \ *members*\ , \ *memory*\ , \ *mgt*\ , \ *micbridge*\ , \ *michost*\ , \ *micid*\ , \ *miconboot*\ , \ *micpowermgt*\ , \ *micvlog*\ , \ *migrationdest*\ , \ *monserver*\ , \ *mpa*\ , \ *mtm*\ , \ *nameservers*\ , \ *netboot*\ , \ *nfsdir*\ , \ *nfsserver*\ , \ *nicaliases*\ , \ *niccustomscripts*\ , \ *nicdevices*\ , \ *nicextraparams*\ , \ *nichostnameprefixes*\ , \ *nichostnamesuffixes*\ , \ *nicips*\ , \ *nicnetworks*\ , \ *nicsadapter*\ , \ *nictypes*\ , \ *nimserver*\ , \ *nodetype*\ , \ *ondiscover*\ , \ *os*\ , \ *osvolume*\ , \ *otherinterfaces*\ , \ *ou*\ , \ *parent*\ , \ *passwd.HMC*\ , \ *passwd.admin*\ , \ *passwd.celogin*\ , \ *passwd.general*\ , \ *passwd.hscroot*\ , \ *password*\ , \ *postbootscripts*\ , \ *postscripts*\ , \ *power*\ , \ *pprofile*\ , \ *prescripts-begin*\ , \ *prescripts-end*\ , \ *primarynic*\ , \ *productkey*\ , \ *profile*\ , \ *protocol*\ , \ *provmethod*\ , \ *rack*\ , \ *room*\ , \ *routenames*\ , \ *serial*\ , \ *serialflow*\ , \ *serialport*\ , \ *serialspeed*\ , \ *servicenode*\ , \ *setupconserver*\ , \ *setupdhcp*\ , \ *setupftp*\ , \ *setupipforward*\ , \ *setupldap*\ , \ *setupnameserver*\ , \ *setupnfs*\ , \ *setupnim*\ , \ *setupntp*\ , \ *setupproxydhcp*\ , \ *setuptftp*\ , \ *sfp*\ , \ *side*\ , \ *slot*\ , \ *slotid*\ , \ *slots*\ , \ *snmpauth*\ , \ *snmppassword*\ , \ *snmpprivacy*\ , \ *snmpusername*\ , \ *snmpversion*\ , \ *storagcontroller*\ , \ *storagetype*\ , \ *supernode*\ , \ *supportedarchs*\ , \ *supportproxydhcp*\ , \ *switch*\ , \ *switchinterface*\ , \ *switchport*\ , \ *switchtype*\ , \ *switchvlan*\ , \ *termport*\ , \ *termserver*\ , \ *tftpdir*\ , \ *tftpserver*\ , \ *unit*\ , \ *urlpath*\ , \ *usercomment*\ , \ *userid*\ , \ *username*\ , \ *vmbeacon*\ , \ *vmbootorder*\ , \ *vmcfgstore*\ , \ *vmcluster*\ , \ *vmcpus*\ , \ *vmhost*\ , \ *vmmanager*\ , \ *vmmaster*\ , \ *vmmemory*\ , \ *vmnicnicmodel*\ , \ *vmnics*\ , \ *vmothersetting*\ , \ *vmphyslots*\ , \ *vmstorage*\ , \ *vmstoragecache*\ , \ *vmstorageformat*\ , \ *vmstoragemodel*\ , \ *vmtextconsole*\ , \ *vmvirtflags*\ , \ *vmvncport*\ , \ *webport*\ , \ *wherevals*\ , \ *xcatmaster*\
\ **group Attributes:**\ \ *addkcmdline*\ , \ *arch*\ , \ *authdomain*\ , \ *bmc*\ , \ *bmcpassword*\ , \ *bmcport*\ , \ *bmcusername*\ , \ *cfgmgr*\ , \ *cfgmgtroles*\ , \ *cfgserver*\ , \ *chain*\ , \ *chassis*\ , \ *cmdmapping*\ , \ *cons*\ , \ *conserver*\ , \ *consoleondemand*\ , \ *cpucount*\ , \ *cputype*\ , \ *currchain*\ , \ *currstate*\ , \ *dhcpinterfaces*\ , \ *disksize*\ , \ *displayname*\ , \ *dockercpus*\ , \ *dockerflag*\ , \ *dockerhost*\ , \ *dockermemory*\ , \ *dockernics*\ , \ *domainadminpassword*\ , \ *domainadminuser*\ , \ *domaintype*\ , \ *getmac*\ , \ *groupname*\ , \ *grouptype*\ , \ *hcp*\ , \ *height*\ , \ *hostcluster*\ , \ *hostinterface*\ , \ *hostmanager*\ , \ *hostnames*\ , \ *hosttype*\ , \ *hwtype*\ , \ *id*\ , \ *initrd*\ , \ *installnic*\ , \ *interface*\ , \ *ip*\ , \ *iscsipassword*\ , \ *iscsiserver*\ , \ *iscsitarget*\ , \ *iscsiuserid*\ , \ *kcmdline*\ , \ *kernel*\ , \ *linkports*\ , \ *mac*\ , \ *membergroups*\ , \ *members*\ , \ *memory*\ , \ *mgt*\ , \ *micbridge*\ , \ *michost*\ , \ *micid*\ , \ *miconboot*\ , \ *micpowermgt*\ , \ *micvlog*\ , \ *migrationdest*\ , \ *monserver*\ , \ *mpa*\ , \ *mtm*\ , \ *nameservers*\ , \ *netboot*\ , \ *nfsdir*\ , \ *nfsserver*\ , \ *nicaliases*\ , \ *niccustomscripts*\ , \ *nicdevices*\ , \ *nicextraparams*\ , \ *nichostnameprefixes*\ , \ *nichostnamesuffixes*\ , \ *nicips*\ , \ *nicnetworks*\ , \ *nicsadapter*\ , \ *nictypes*\ , \ *nimserver*\ , \ *nodetype*\ , \ *ondiscover*\ , \ *os*\ , \ *osvolume*\ , \ *otherinterfaces*\ , \ *ou*\ , \ *parent*\ , \ *passwd.HMC*\ , \ *passwd.admin*\ , \ *passwd.celogin*\ , \ *passwd.general*\ , \ *passwd.hscroot*\ , \ *password*\ , \ *postbootscripts*\ , \ *postscripts*\ , \ *power*\ , \ *pprofile*\ , \ *prescripts-begin*\ , \ *prescripts-end*\ , \ *primarynic*\ , \ *productkey*\ , \ *profile*\ , \ *protocol*\ , \ *provmethod*\ , \ *rack*\ , \ *room*\ , \ *routenames*\ , \ *serial*\ , \ *serialflow*\ , \ *serialport*\ , \ *serialspeed*\ , \ *servicenode*\ , \ *setupconserver*\ , \ *setupdhcp*\ , \ *setupftp*\ , \ *setupipforward*\ , \ *setupldap*\ , \ *setupnameserver*\ , \ *setupnfs*\ , \ *setupnim*\ , \ *setupntp*\ , \ *setupproxydhcp*\ , \ *setuptftp*\ , \ *sfp*\ , \ *side*\ , \ *slot*\ , \ *slotid*\ , \ *slots*\ , \ *snmpauth*\ , \ *snmppassword*\ , \ *snmpprivacy*\ , \ *snmpusername*\ , \ *snmpversion*\ , \ *storagcontroller*\ , \ *storagetype*\ , \ *supernode*\ , \ *supportedarchs*\ , \ *supportproxydhcp*\ , \ *switch*\ , \ *switchinterface*\ , \ *switchport*\ , \ *switchtype*\ , \ *switchvlan*\ , \ *syslog*\ , \ *termport*\ , \ *termserver*\ , \ *tftpdir*\ , \ *tftpserver*\ , \ *unit*\ , \ *urlpath*\ , \ *usercomment*\ , \ *userid*\ , \ *username*\ , \ *vmbeacon*\ , \ *vmbootorder*\ , \ *vmcfgstore*\ , \ *vmcluster*\ , \ *vmcpus*\ , \ *vmhost*\ , \ *vmmanager*\ , \ *vmmaster*\ , \ *vmmemory*\ , \ *vmnicnicmodel*\ , \ *vmnics*\ , \ *vmothersetting*\ , \ *vmphyslots*\ , \ *vmstorage*\ , \ *vmstoragecache*\ , \ *vmstorageformat*\ , \ *vmstoragemodel*\ , \ *vmtextconsole*\ , \ *vmvirtflags*\ , \ *vmvncport*\ , \ *webport*\ , \ *wherevals*\ , \ *xcatmaster*\
***********
@@ -1120,11 +1120,11 @@ group Attributes:
.. code-block:: perl
<slot rows> = number of rows of slots in chassis
<slot rows> = number of rows of slots in chassis
<slot columns> = number of columns of slots in chassis
<slot columns> = number of columns of slots in chassis
<slot orientation> = set to 0 if slots are vertical, and set to 1 if slots of horizontal
<slot orientation> = set to 0 if slots are vertical, and set to 1 if slots of horizontal
@@ -1227,6 +1227,12 @@ group Attributes:
\ **syslog**\ (noderes.syslog)
To configure how to configure syslog for compute node. Valid values:blank(not set), ignore. blank - run postscript syslog; ignore - do NOT run postscript syslog
\ **termport**\ (nodehm.termport)
The port number on the terminal server that this node is connected to.

View File

@@ -19,7 +19,7 @@ SYNOPSIS
********
\ **node Attributes:**\ \ *addkcmdline*\ , \ *appstatus*\ , \ *appstatustime*\ , \ *arch*\ , \ *authdomain*\ , \ *bmc*\ , \ *bmcpassword*\ , \ *bmcport*\ , \ *bmcusername*\ , \ *cfgmgr*\ , \ *cfgmgtroles*\ , \ *cfgserver*\ , \ *chain*\ , \ *chassis*\ , \ *cmdmapping*\ , \ *cons*\ , \ *conserver*\ , \ *consoleondemand*\ , \ *cpucount*\ , \ *cputype*\ , \ *currchain*\ , \ *currstate*\ , \ *dhcpinterfaces*\ , \ *disksize*\ , \ *displayname*\ , \ *dockercpus*\ , \ *dockerflag*\ , \ *dockerhost*\ , \ *dockermemory*\ , \ *dockernics*\ , \ *domainadminpassword*\ , \ *domainadminuser*\ , \ *domaintype*\ , \ *getmac*\ , \ *groups*\ , \ *hcp*\ , \ *height*\ , \ *hidden*\ , \ *hostcluster*\ , \ *hostinterface*\ , \ *hostmanager*\ , \ *hostnames*\ , \ *hosttype*\ , \ *hwtype*\ , \ *id*\ , \ *initrd*\ , \ *installnic*\ , \ *interface*\ , \ *ip*\ , \ *iscsipassword*\ , \ *iscsiserver*\ , \ *iscsitarget*\ , \ *iscsiuserid*\ , \ *kcmdline*\ , \ *kernel*\ , \ *linkports*\ , \ *mac*\ , \ *memory*\ , \ *mgt*\ , \ *micbridge*\ , \ *michost*\ , \ *micid*\ , \ *miconboot*\ , \ *micpowermgt*\ , \ *micvlog*\ , \ *migrationdest*\ , \ *monserver*\ , \ *mpa*\ , \ *mtm*\ , \ *nameservers*\ , \ *netboot*\ , \ *nfsdir*\ , \ *nfsserver*\ , \ *nicaliases*\ , \ *niccustomscripts*\ , \ *nicdevices*\ , \ *nicextraparams*\ , \ *nichostnameprefixes*\ , \ *nichostnamesuffixes*\ , \ *nicips*\ , \ *nicnetworks*\ , \ *nicsadapter*\ , \ *nictypes*\ , \ *nimserver*\ , \ *node*\ , \ *nodetype*\ , \ *ondiscover*\ , \ *os*\ , \ *osvolume*\ , \ *otherinterfaces*\ , \ *ou*\ , \ *parent*\ , \ *passwd.HMC*\ , \ *passwd.admin*\ , \ *passwd.celogin*\ , \ *passwd.general*\ , \ *passwd.hscroot*\ , \ *password*\ , \ *postbootscripts*\ , \ *postscripts*\ , \ *power*\ , \ *pprofile*\ , \ *prescripts-begin*\ , \ *prescripts-end*\ , \ *primarynic*\ , \ *primarysn*\ , \ *productkey*\ , \ *profile*\ , \ *protocol*\ , \ *provmethod*\ , \ *rack*\ , \ *room*\ , \ *routenames*\ , \ *serial*\ , \ *serialflow*\ , \ *serialport*\ , \ *serialspeed*\ , \ *servicenode*\ , \ *setupconserver*\ , \ *setupdhcp*\ , \ *setupftp*\ , \ *setupipforward*\ , \ *setupldap*\ , \ *setupnameserver*\ , \ *setupnfs*\ , \ *setupnim*\ , \ *setupntp*\ , \ *setupproxydhcp*\ , \ *setuptftp*\ , \ *sfp*\ , \ *side*\ , \ *slot*\ , \ *slotid*\ , \ *slots*\ , \ *snmpauth*\ , \ *snmppassword*\ , \ *snmpprivacy*\ , \ *snmpusername*\ , \ *snmpversion*\ , \ *status*\ , \ *statustime*\ , \ *storagcontroller*\ , \ *storagetype*\ , \ *supernode*\ , \ *supportedarchs*\ , \ *supportproxydhcp*\ , \ *switch*\ , \ *switchinterface*\ , \ *switchport*\ , \ *switchtype*\ , \ *switchvlan*\ , \ *termport*\ , \ *termserver*\ , \ *tftpdir*\ , \ *tftpserver*\ , \ *unit*\ , \ *updatestatus*\ , \ *updatestatustime*\ , \ *urlpath*\ , \ *usercomment*\ , \ *userid*\ , \ *username*\ , \ *vmbeacon*\ , \ *vmbootorder*\ , \ *vmcfgstore*\ , \ *vmcluster*\ , \ *vmcpus*\ , \ *vmhost*\ , \ *vmmanager*\ , \ *vmmaster*\ , \ *vmmemory*\ , \ *vmnicnicmodel*\ , \ *vmnics*\ , \ *vmothersetting*\ , \ *vmphyslots*\ , \ *vmstorage*\ , \ *vmstoragecache*\ , \ *vmstorageformat*\ , \ *vmstoragemodel*\ , \ *vmtextconsole*\ , \ *vmvirtflags*\ , \ *vmvncport*\ , \ *webport*\ , \ *xcatmaster*\ , \ *zonename*\
\ **node Attributes:**\ \ *addkcmdline*\ , \ *appstatus*\ , \ *appstatustime*\ , \ *arch*\ , \ *authdomain*\ , \ *bmc*\ , \ *bmcpassword*\ , \ *bmcport*\ , \ *bmcusername*\ , \ *cfgmgr*\ , \ *cfgmgtroles*\ , \ *cfgserver*\ , \ *chain*\ , \ *chassis*\ , \ *cmdmapping*\ , \ *cons*\ , \ *conserver*\ , \ *consoleondemand*\ , \ *cpucount*\ , \ *cputype*\ , \ *currchain*\ , \ *currstate*\ , \ *dhcpinterfaces*\ , \ *disksize*\ , \ *displayname*\ , \ *dockercpus*\ , \ *dockerflag*\ , \ *dockerhost*\ , \ *dockermemory*\ , \ *dockernics*\ , \ *domainadminpassword*\ , \ *domainadminuser*\ , \ *domaintype*\ , \ *getmac*\ , \ *groups*\ , \ *hcp*\ , \ *height*\ , \ *hidden*\ , \ *hostcluster*\ , \ *hostinterface*\ , \ *hostmanager*\ , \ *hostnames*\ , \ *hosttype*\ , \ *hwtype*\ , \ *id*\ , \ *initrd*\ , \ *installnic*\ , \ *interface*\ , \ *ip*\ , \ *iscsipassword*\ , \ *iscsiserver*\ , \ *iscsitarget*\ , \ *iscsiuserid*\ , \ *kcmdline*\ , \ *kernel*\ , \ *linkports*\ , \ *mac*\ , \ *memory*\ , \ *mgt*\ , \ *micbridge*\ , \ *michost*\ , \ *micid*\ , \ *miconboot*\ , \ *micpowermgt*\ , \ *micvlog*\ , \ *migrationdest*\ , \ *monserver*\ , \ *mpa*\ , \ *mtm*\ , \ *nameservers*\ , \ *netboot*\ , \ *nfsdir*\ , \ *nfsserver*\ , \ *nicaliases*\ , \ *niccustomscripts*\ , \ *nicdevices*\ , \ *nicextraparams*\ , \ *nichostnameprefixes*\ , \ *nichostnamesuffixes*\ , \ *nicips*\ , \ *nicnetworks*\ , \ *nicsadapter*\ , \ *nictypes*\ , \ *nimserver*\ , \ *node*\ , \ *nodetype*\ , \ *ondiscover*\ , \ *os*\ , \ *osvolume*\ , \ *otherinterfaces*\ , \ *ou*\ , \ *parent*\ , \ *passwd.HMC*\ , \ *passwd.admin*\ , \ *passwd.celogin*\ , \ *passwd.general*\ , \ *passwd.hscroot*\ , \ *password*\ , \ *postbootscripts*\ , \ *postscripts*\ , \ *power*\ , \ *pprofile*\ , \ *prescripts-begin*\ , \ *prescripts-end*\ , \ *primarynic*\ , \ *primarysn*\ , \ *productkey*\ , \ *profile*\ , \ *protocol*\ , \ *provmethod*\ , \ *rack*\ , \ *room*\ , \ *routenames*\ , \ *serial*\ , \ *serialflow*\ , \ *serialport*\ , \ *serialspeed*\ , \ *servicenode*\ , \ *setupconserver*\ , \ *setupdhcp*\ , \ *setupftp*\ , \ *setupipforward*\ , \ *setupldap*\ , \ *setupnameserver*\ , \ *setupnfs*\ , \ *setupnim*\ , \ *setupntp*\ , \ *setupproxydhcp*\ , \ *setuptftp*\ , \ *sfp*\ , \ *side*\ , \ *slot*\ , \ *slotid*\ , \ *slots*\ , \ *snmpauth*\ , \ *snmppassword*\ , \ *snmpprivacy*\ , \ *snmpusername*\ , \ *snmpversion*\ , \ *status*\ , \ *statustime*\ , \ *storagcontroller*\ , \ *storagetype*\ , \ *supernode*\ , \ *supportedarchs*\ , \ *supportproxydhcp*\ , \ *switch*\ , \ *switchinterface*\ , \ *switchport*\ , \ *switchtype*\ , \ *switchvlan*\ , \ *syslog*\ , \ *termport*\ , \ *termserver*\ , \ *tftpdir*\ , \ *tftpserver*\ , \ *unit*\ , \ *updatestatus*\ , \ *updatestatustime*\ , \ *urlpath*\ , \ *usercomment*\ , \ *userid*\ , \ *username*\ , \ *vmbeacon*\ , \ *vmbootorder*\ , \ *vmcfgstore*\ , \ *vmcluster*\ , \ *vmcpus*\ , \ *vmhost*\ , \ *vmmanager*\ , \ *vmmaster*\ , \ *vmmemory*\ , \ *vmnicnicmodel*\ , \ *vmnics*\ , \ *vmothersetting*\ , \ *vmphyslots*\ , \ *vmstorage*\ , \ *vmstoragecache*\ , \ *vmstorageformat*\ , \ *vmstoragemodel*\ , \ *vmtextconsole*\ , \ *vmvirtflags*\ , \ *vmvncport*\ , \ *webport*\ , \ *xcatmaster*\ , \ *zonename*\
***********
@@ -1132,11 +1132,11 @@ node Attributes:
.. code-block:: perl
<slot rows> = number of rows of slots in chassis
<slot rows> = number of rows of slots in chassis
<slot columns> = number of columns of slots in chassis
<slot columns> = number of columns of slots in chassis
<slot orientation> = set to 0 if slots are vertical, and set to 1 if slots of horizontal
<slot orientation> = set to 0 if slots are vertical, and set to 1 if slots of horizontal
@@ -1251,6 +1251,12 @@ node Attributes:
\ **syslog**\ (noderes.syslog)
To configure how to configure syslog for compute node. Valid values:blank(not set), ignore. blank - run postscript syslog; ignore - do NOT run postscript syslog
\ **termport**\ (nodehm.termport)
The port number on the terminal server that this node is connected to.

View File

@@ -1188,6 +1188,9 @@ use xCAT::ExtTab;
"FQDNfirst: Fully Qualified Domain Name first. If set to 1/yes/enable, the /etc/hosts \n" .
" entries generated by 'makehosts' will put the FQDN before the PQDN(Partially \n" .
" Qualified Domain Name). Otherwise, the original behavior will be performed.\n\n" .
"heirarchicalattrs: Table attributes(e.g. postscripts, postbootscripts) that will be\n".
" included hierarchically. Attribute values for all the node's groups\n".
" will be applied to the node in the groups' order except the repeat one.\n\n".
" -----------------------\n" .
"VIRTUALIZATION ATTRIBUTES\n" .
" -----------------------\n" .

View File

@@ -2554,16 +2554,25 @@ sub getNodeAttribs_nosub_returnany
my $attrib;
my $result;
my @hierarchy_attrs;
my $hierarchy_field = xCAT::TableUtils->get_site_attribute("heirarchicalattrs");
if ($hierarchy_field) {
@hierarchy_attrs = split(/,/, $hierarchy_field);
}
my $data = $results[0];
if(defined{$data}) { #if there was some data for the node, loop through and check it
foreach $result (@results) {
foreach $attrib (keys %attribsToDo) {
if (defined($result) && defined($result->{$attrib})
&& @hierarchy_attrs && grep (/^$attrib$/, @hierarchy_attrs) ) {
$result->{$attrib} .= ',+=NEXTRECORD';
}
#check each item in the results to see which attributes were satisfied
if(defined($result) && defined($result->{$attrib}) && $result->{$attrib} !~ $nextRecordAtEnd) {
delete $attribsToDo{$attrib};
}
}
}
}
}
}
@@ -2578,7 +2587,7 @@ sub getNodeAttribs_nosub_returnany
unless (defined($nodeghash) && defined($nodeghash->{groups})) {
return @results;
}
my @nodegroups = split(/,/, $nodeghash->{groups});
my $group;
my @groupResults;
@@ -2601,8 +2610,10 @@ sub getNodeAttribs_nosub_returnany
#print "looking for attrib $attrib\n";
if(defined($groupResult->{$attrib})){
$attribsDone{$attrib} = 0;
#print "found attArib $attrib = $groupResult->{$attrib}\n";
#print "and results look like this: \n".Dumper(\@results)."\n\n\n";
# for hierarchy attribute, append attributes from all the node's group
if (@hierarchy_attrs && grep (/^$attrib$/, @hierarchy_attrs) ) {
$groupResult->{$attrib} .= ',+=NEXTRECORD';
}
foreach $result (@results){ #loop through our existing results to add or modify the value for this attribute
if(defined($result)) {
if(defined($result->{$attrib})) {
@@ -2639,7 +2650,6 @@ sub getNodeAttribs_nosub_returnany
}
}
else {#no results in the array so far
#print "pushing for the first time. attr=$attrib groupResults=$groupResult->{$attrib}\n";
$toPush{$attrib} = $groupResult->{$attrib};
if($options{withattribution} && $attrib ne $nodekey){
$toPush{'!!xcatgroupattribution!!'}->{$attrib} = $group;
@@ -2685,6 +2695,13 @@ sub getNodeAttribs_nosub_returnany
for $result (@results) {
for my $key (keys %$result) {
$result->{$key} =~ s/\+=NEXTRECORD//g;
if (@hierarchy_attrs && grep (/^$key$/, @hierarchy_attrs) ) {
my @attribs = split(/,/, $result->{$key});
my %count;
# remove the repeat value
@attribs = grep { ++$count{ $_ } < 2; } @attribs;
$result->{$key} = join(',', @attribs);
}
}
}

View File

@@ -1606,7 +1606,7 @@ sub checkCredFiles
$dir = "/etc/xcat/hostkeys";
if (-d $dir)
{
my $file = "$dir/ssh_host_key.pub";
my $file = "$dir/ssh_host_rsa_key.pub";
if (-e $file)
{
my $file2 = "$dir/*.pub"; # all public keys

View File

@@ -8,11 +8,11 @@ B<bmcdiscover> [B<-?>|B<-h>|B<--help>]
B<bmcdiscover> [B<-v>|B<--version>]
B<bmcdiscover> [B<-s> I<scan_method>] B<--range> I<ip_ranges> [B<-z>] [B<-w>] [B<-t>]
B<bmcdiscover> [B<-s> I<scan_method>] [B<-u> I<bmc_user>] [B<-p> I<bmc_passwd>] [B<-z>] [B<-w>] [B<-t>] B<--range> I<ip_ranges>
B<bmcdiscover> {B<-i>|B<--bmcip>} I<bmc_ip> {B<-u>|B<--bmcuser>} I<bmc_username> {B<-p>|B<--bmcpasswd>} I<bmc_password> B<--check>
B<bmcdiscover> B<-u> I<bmc_user> B<-p> I<bmc_passwd> B<-i> I<bmc_ip> B<--check>
B<bmcdiscover> {B<-i>|B<--bmcip>} I<bmc_ip> {B<-u>|B<--bmcuser>} I<bmc_username> {B<-p>|B<--bmcpasswd>} I<bmc_password> B<--ipsource>
B<bmcdiscover> [B<-u> I<bmc_user>] [B<-p> I<bmc_passwd>] B<-i> I<bmc_ip> B<--ipsource>
=head1 DESCRIPTION
@@ -63,11 +63,11 @@ BMC user password.
=item B<-c|--check>
Check
Check BMC administrator User/Password.
=item B<--ipsource>
BMC IP source
Display the BMC IP configuration.
=item B<-h|--help>

View File

@@ -283,10 +283,11 @@ while :; do
destiny=''
dest=''
elif [ "$dest" = shell ]; then
echo "Dropping to debug shell, exit to check for further action"
echo "Dropping to debug shell, exit to run next destiny"
destiny=''
dest=''
/bin/bash
/bin/nextdestiny $XCATMASTER:$XCATPORT
elif [ "$dest" = runcmd ]; then
destiny=`/bin/nextdestiny $XCATMASTER:$XCATPORT`
dest=`echo $destiny|awk -F= '{print $1}'`

View File

@@ -113,9 +113,13 @@ sub bmcdiscovery_usage {
push @{ $rsp->{data} }, "Usage:";
push @{ $rsp->{data} }, "\tbmcdiscover [-?|-h|--help]";
push @{ $rsp->{data} }, "\tbmcdiscover [-v|--version]";
push @{ $rsp->{data} }, "\tbmcdiscover [-s scan_method] --range ip_range [-z] [-w] [-t]";
push @{ $rsp->{data} }, "\tbmcdiscover {-i|--bmcip} bmc_ip {-u|--bmcuser} bmc_user {-p|--bmcpasswd} bmc_password --check";
push @{ $rsp->{data} }, "\tbmcdiscover {-i|--bmcip} bmc_ip {-u|--bmcuser} bmc_user {-p|--bmcpasswd} bmc_password --ipsource";
push @{ $rsp->{data} }, "\tbmcdiscover [-s scan_method] [-u bmc_user] [-p bmc_passwd] [-z] [-w] [-t] --range ip_range\n";
push @{ $rsp->{data} }, "\tCheck BMC administrator User/Password:\n";
push @{ $rsp->{data} }, "\t\tbmcdiscover -u bmc_user -p bmc_password -i bmc_ip --check\n";
push @{ $rsp->{data} }, "\tDisplay the BMC IP configuration:\n";
push @{ $rsp->{data} }, "\t\tbmcdiscover [-u bmc_user] [-p bmc_passwd] -i bmc_ip --ipsource";
xCAT::MsgUtils->message( "I", $rsp, $::CALLBACK );
return 0;
@@ -197,43 +201,43 @@ sub bmcdiscovery_processargs {
return 1;
}
#
# Get the default bmc account from passwd table
#
($bmc_user, $bmc_pass) = bmcaccount_from_passwd();
# overwrite the default user/pass with what is passed in
if ($::opt_P) {
$bmc_pass = $::opt_P;
if ($::opt_U) {
$bmc_user = $::opt_U;
}
}
#########################################
# Option -s -r should be together
######################################
if ( defined($::opt_R) )
{
######################################
# check if there is nmap or not
######################################
if ( -x '/usr/bin/nmap' )
{
$nmap_path="/usr/bin/nmap";
}
elsif ( -x '/usr/local/bin/nmap' )
{
$nmap_path="/usr/local/bin/nmap";
}
else
{
my $rsp;
push @{ $rsp->{data} }, "\tThere is no nmap in /usr/bin/ or /usr/local/bin/. \n ";
xCAT::MsgUtils->message( "E", $rsp, $::CALLBACK );
return 1;
}
($bmc_user, $bmc_pass) = bmcaccount_from_passwd();
if ($::opt_P) {
$bmc_pass = $::opt_P;
if (!$::opt_U) {
$bmc_user = '';
} else {
$bmc_user = $::opt_U;
}
}
scan_process($::opt_M,$::opt_R,$::opt_Z,$::opt_W,$request_command);
return 0;
######################################
# check if there is nmap or not
######################################
if ( -x '/usr/bin/nmap' )
{
$nmap_path="/usr/bin/nmap";
}
elsif ( -x '/usr/local/bin/nmap' )
{
$nmap_path="/usr/local/bin/nmap";
}
else
{
my $rsp;
push @{ $rsp->{data} }, "\tThere is no nmap in /usr/bin/ or /usr/local/bin/. \n ";
xCAT::MsgUtils->message( "E", $rsp, $::CALLBACK );
return 1;
}
scan_process($::opt_M,$::opt_R,$::opt_Z,$::opt_W,$request_command);
return 0;
}
if ( defined($::opt_C) && defined($::opt_S) ) {
@@ -244,19 +248,20 @@ sub bmcdiscovery_processargs {
return 2;
}
####################################################
# --check option, requires -i and -p to be specified
####################################################
#########################################################
# --check option, requires -i, -u, and -p to be specified
#########################################################
if ( defined($::opt_C) ) {
if ( defined($::opt_P) && defined($::opt_I) ) {
my $option_u = defined $::opt_U ? $::opt_U : "none";
my $res=check_auth_process($::opt_I,$option_u,$::opt_P);
if ( defined($::opt_P) && defined($::opt_U) && defined($::opt_I) ) {
my $res=check_auth_process($::opt_I,$::opt_U,$::opt_P);
return $res;
}
else {
my $msg = "";
if (!defined($::opt_I)) {
$msg = "The check option requires a BMC IP. Specify the IP using the -i|--bmcip option.";
} elsif (!defined($::opt_U)) {
$msg = "The check option requires a user. Specify the user with the -u|--bmcuser option.";
} elsif (!defined($::opt_P)) {
$msg = "The check option requires a password. Specify the password with the -p|--bmcpasswd option.";
}
@@ -271,9 +276,8 @@ sub bmcdiscovery_processargs {
# --ipsource option, requires -i, -p to be specified
####################################################
if ( defined($::opt_S) ) {
if ( defined($::opt_P) && defined($::opt_I) ) {
my $option_u = defined $::opt_U ? $::opt_U : "none";
my $res=get_bmc_ip_source($::opt_I,$option_u,$::opt_P);
if ( defined($bmc_user) && defined($bmc_pass) && defined($::opt_I) ) {
my $res=get_bmc_ip_source($::opt_I,$bmc_user,$bmc_pass);
return $res;
}
else {
@@ -884,23 +888,25 @@ sub bmcdiscovery_ipmi {
$node =~ s/(.*)/\L$1/g;
}
} elsif ($output =~ /error : unauthorized name/){
xCAT::MsgUtils->message("I", {data=>["Warning: bmc username is incorrect for $node"]}, $::CALLBACK);
xCAT::MsgUtils->message("E", {data=>["BMC username is incorrect for $node"]}, $::CALLBACK);
return 1;
} elsif ($output =~ /RAKP \S* \S* is invalid/) {
xCAT::MsgUtils->message("I", {data=>["Warning: bmc password is incorrect for $node"]}, $::CALLBACK);
xCAT::MsgUtils->message("E", {data=>["BMC password is incorrect for $node"]}, $::CALLBACK);
return 1;
}
if ( defined($opz) || defined($opw) )
{
format_stanza($node, $ip);
if (defined($opw))
{
write_to_xcatdb($node, $ip,$request_command);
}
}
else{
my $rsp = {};
push @{ $rsp->{data} }, "$ip";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
}
if ( defined($opz) || defined($opw) )
{
format_stanza($node, $ip);
if (defined($opw))
{
write_to_xcatdb($node, $ip,$request_command);
}
}
else{
my $rsp = {};
push @{ $rsp->{data} }, "$ip";
xCAT::MsgUtils->message("I", $rsp, $::CALLBACK);
}
}
}

View File

@@ -3396,10 +3396,15 @@ sub readcurrfrudevice {
}
my @data = @{$rsp->{data}};
if ($data[0] != $sessdata->{currfruchunk}) {
add_fruhash($sessdata);
my $text = "Received incorrect data from BMC for FRU ID: " . $sessdata->{currfruid};
xCAT::SvrUtils::sendmsg($text,$callback,$sessdata->{node},%allerrornodes);
return;
# Fix FRU 43,48 and 49 for GRS server that they can not return as much data as shall return
if ($data[0] gt 0) {
$sessdata->{currfrudone}=1;
} else {
my $text = "Received incorrect data from BMC for FRU ID: " . $sessdata->{currfruid};
xCAT::SvrUtils::sendmsg($text,$callback,$sessdata->{node},%allerrornodes);
add_fruhash($sessdata);
return;
}
}
shift @data;
push @{$sessdata->{currfrudata}},@data;

View File

@@ -120,14 +120,12 @@ sub process_request {
chmod(0700,$tempdir."$sshdir");
copy("/root/.ssh/id_rsa.pub","$tempdir$sshdir/authorized_keys");
chmod(0600,"$tempdir$sshdir/authorized_keys");
if (not $invisibletouch and -r "/etc/xcat/hostkeys/ssh_host_key") {
copy("/etc/xcat/hostkeys/ssh_host_key","$tempdir/etc/ssh_host_key");
if (not $invisibletouch and -r "/etc/xcat/hostkeys/ssh_host_rsa_key") {
copy("/etc/xcat/hostkeys/ssh_host_rsa_key","$tempdir/etc/ssh_host_rsa_key");
copy("/etc/xcat/hostkeys/ssh_host_dsa_key","$tempdir/etc/ssh_host_dsa_key");
chmod(0600,<$tempdir/etc/ssh_*>);
}
unless ($invisibletouch or -r "$tempdir/etc/ssh_host_key") {
system("ssh-keygen -t rsa1 -f $tempdir/etc/ssh_host_key -C '' -N ''");
unless ($invisibletouch or -r "$tempdir/etc/ssh_host_rsa_key") {
system("ssh-keygen -t rsa -f $tempdir/etc/ssh_host_rsa_key -C '' -N ''");
system("ssh-keygen -t dsa -f $tempdir/etc/ssh_host_dsa_key -C '' -N ''");
}

View File

@@ -949,19 +949,10 @@ sub genSSHNodeHostKey
# generate new hostkeys
#
xCAT::MsgUtils->message('I', "Generating new node hostkeys...");
xCAT::MsgUtils->message('I', "Generating SSH1 RSA Key...");
my $cmd =
"/usr/bin/ssh-keygen -t rsa1 -f /etc/xcat/hostkeys/ssh_host_key -C '' -N ''";
my $outref = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
xCAT::MsgUtils->message('E', "Could not generate SSH1 RSA key.");
}
xCAT::MsgUtils->message('I', "Generating SSH2 RSA Key...");
$cmd =
my $cmd =
"/usr/bin/ssh-keygen -t rsa -f /etc/xcat/hostkeys/ssh_host_rsa_key -C '' -N ''";
$outref = xCAT::Utils->runcmd("$cmd", 0);
my $outref = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
xCAT::MsgUtils->message('E', "Could not generate SSH2 RSA key.");
@@ -1172,6 +1163,7 @@ sub initDB
$chtabcmds .= "$::XCATROOT/sbin/chtab key=dhcplease site.value=43200;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=auditnosyslog site.value=0;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=xcatsslversion site.value=TLSv1;";
$chtabcmds .= "$::XCATROOT/sbin/chtab key=auditskipcmds site.value=ALL;";
#$chtabcmds .= "$::XCATROOT/sbin/chtab key=useflowcontrol site.value=yes;"; # need to fix 4031
if ($::osname eq 'AIX')

View File

@@ -962,7 +962,6 @@ $SIG{TERM} = $SIG{INT} = sub {
kill 'USR2', $pid_UDP;
}
if ($pid_MON) {
kill 'INT', $pid_MON;
kill 'USR2', $pid_MON;
}
xCAT::Table::shut_dbworker;

View File

@@ -251,10 +251,8 @@ my @sysfilelist = (
"/etc/nsswitch.conf",
"/etc/ssh/ssh_host_rsa_key",
"/etc/ssh/ssh_config",
"/etc/ssh/ssh_host_key",
"/etc/ssh/sshd_config",
"/etc/ssh/ssh_host_dsa_key",
"/etc/ssh/ssh_host_key.pub",
"/root/.ssh/id_rsa",
"/root/.ssh/id_rsa.pub",
"/root/.ssh/authorized_keys",);

View File

@@ -1 +0,0 @@
compute.ubuntu14.04.3.ppc64el.pkglist

View File

@@ -0,0 +1,15 @@
bash
nfs-common
openssl
isc-dhcp-client
libc-bin
linux-image-generic-lts-wily
openssh-server
openssh-client
wget
vim
ntp
rsync
busybox-static
gawk
dnsutils

View File

@@ -1 +0,0 @@
compute.ubuntu14.04.3.x86_64.pkglist

View File

@@ -0,0 +1,15 @@
bash
nfs-common
openssl
isc-dhcp-client
libc-bin
linux-image-generic-lts-wily
openssh-server
openssh-client
wget
vim
ntp
rsync
busybox-static
gawk
dnsutils

20
xCAT-server/share/xcat/tools/xCATreg Normal file → Executable file
View File

@@ -55,8 +55,8 @@ my $regresultdir = "$regrootdir/regresult";
my $todayregresultdir="";
my $maildir="$regrootdir/mail";
my $mailfile="";
my $rootdir = "$::XCATROOT/share/xcat/tools/autotest";
my %confkeys;
my $rootdir = "$::XCATROOT/share/xcat/tools/autotest";
my %confkeys;
my $mail_list = 0;
my $needhelp = 0;
my $branch = "master";
@@ -524,7 +524,7 @@ sub copy_code {
return 1;
}
send_msg(2, "[$mn->$confkeys{$mn}][copy_code] copy ISO $iso to $mn successfully");
system ("sed -i 's|ISO=/\\S*|ISO=/$iso|g' $configfiledir/$regconf");
system ("sed -i 's|^ISO=/\\S*|ISO=/$iso|g' $configfiledir/$regconf");
}
if($mn =~ /sles/){
@@ -548,7 +548,7 @@ sub copy_code {
return 1;
}
send_msg(2, "[$mn->$confkeys{$mn}][copy_code] copy ISO $iso to $mn successfully");
system ("sed -i 's|ISO=/\\S*|ISO=/$iso|g' $configfiledir/$regconf");
system ("sed -i 's|^ISO=/\\S*|ISO=/$iso|g' $configfiledir/$regconf");
if($os =~ /sles11/){
$res = system("xdsh $confkeys{$mn} \"mv /usr/lib/rpm/find-requires /usr/lib/rpm/find-requires.org\" && scp $osisodir/find-requires $confkeys{$mn}:/usr/lib/rpm/ > /dev/null");
@@ -581,7 +581,7 @@ sub copy_code {
return 1;
}
send_msg(2, "[$mn->$confkeys{$mn}][copy_code] copy ISO $iso to $mn successfully");
system ("sed -i 's|ISO=/\\S*|ISO=/$iso|g' $configfiledir/$regconf");
system ("sed -i 's|^ISO=/\\S*|ISO=/$iso|g' $configfiledir/$regconf");
}
return 0;
}
@@ -711,6 +711,7 @@ sub do_test {
my $diskless_installation_hierarchy_testcase="";
my $statelite_installation_hierarchy_by_ramdisk_testcase="";
my $statelite_installation_hierarchy_by_nfs_testcase="";
my $setup_dockerhost_testcase="";
my $batbundle="";
if((($mn =~ /sles/) || ($mn =~ /rh/)) && ($mn !~ /E/)){
$diskfull_installation_flat_testcase="reg_linux_diskfull_installation_flat";
@@ -728,6 +729,7 @@ sub do_test {
}elsif($mn =~ /ubuntux/){
$diskfull_installation_flat_testcase="Ubuntu_full_installation_flat_x86_vm";
$diskless_installation_flat_testcase="Ubuntu_diskless_installation_flat_x86_vm";
$setup_dockerhost_testcase="Full_installation_flat_docker";
$batbundle="x_ubuntu_cmd.bundle";
}elsif($mn =~ /E/){
$diskfull_installation_flat_testcase="Full_installation_flat_p8_le";
@@ -869,6 +871,12 @@ sub do_test {
send_msg(2, "[$mn->$confkeys{$mn}][do_test] do diskfull installation test in flat mode in $mn.....[done]");
last if($rc != 0);
#set up dockerhosts
send_msg(2, "[$mn->$confkeys{$mn}][do_test] setupdockerhost $mn.....");
$rc=system("ssh -t $confkeys{$mn} 'exec bash -l -i -c \"xcattest -f /opt/xcat/share/xcat/tools/autotest/default.conf -t $setup_dockerhost_testcase\"' >/dev/null 2>&1");
send_msg(2, "[$mn->$confkeys{$mn}][do_test] setup dockerhosts $mn.....[done]");
last if($rc != 0);
#commands bundle in flat mode test
send_msg(2, "[$mn->$confkeys{$mn}][do_test] doing all commands test in flat mode in $mn.....");
$rc=system("ssh -t $confkeys{$mn} 'exec bash -l -i -c \"xcattest -f /opt/xcat/share/xcat/tools/autotest/default.conf -b $batbundle\"' >/dev/null 2>&1");
@@ -950,7 +958,7 @@ sub creat_report{
}elsif($k =~ /ubuntux/){
$batbundle="/$xcatcoredir/xCAT-test/autotest/bundle/x_ubuntu_cmd.bundle";
$totalcase=`cat $batbundle|wc -l`;
$totalcase+=2;
$totalcase+=3;
}elsif($k =~ /E/){
$batbundle="$xcatcoredir/xCAT-test/autotest/bundle/le_rhels_cmd.bundle" if($k =~ /rhLE/);
$batbundle="$xcatcoredir/xCAT-test/autotest/bundle/le_sles_cmd.bundle" if($k =~ /slesLE/);

View File

@@ -413,14 +413,15 @@ fi
ln -sf $RPM_INSTALL_PREFIX0/sbin/xcatd /usr/sbin/xcatd
if [ "$1" = "1" ]; then #Only if installing for the first time..
if [ -x /usr/lib/lsb/install_initd ]; then
/usr/lib/lsb/install_initd /etc/init.d/xcatd
elif [ -x /sbin/chkconfig ]; then
/sbin/chkconfig --add xcatd
else
echo "Unable to register init scripts on this system"
fi
if [ -x /sbin/chkconfig ]; then
/sbin/chkconfig --add xcatd
elif [ -x /usr/lib/lsb/install_initd ]; then
/usr/lib/lsb/install_initd /etc/init.d/xcatd
else
echo "Unable to register init scripts on this system"
fi
fi
if [ "$1" -gt "1" ]; then #only on upgrade...
#migration issue for monitoring
XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab filename=monitorctrl.pm notification -d
@@ -463,10 +464,11 @@ if [ $1 == 0 ]; then #This means only on -e
if [ -f "/proc/cmdline" ]; then # prevent running it during install into chroot image
/etc/init.d/xcatd stop
fi
if [ -x /usr/lib/lsb/remove_initd ]; then
if [ -x /sbin/chkconfig ]; then
/sbin/chkconfig --del xcatd
elif [ -x /usr/lib/lsb/remove_initd ]; then
/usr/lib/lsb/remove_initd /etc/init.d/xcatd
elif [ -x /sbin/chkconfig ]; then
/sbin/chkconfig --del xcatd
fi
rm -f /usr/sbin/xcatd #remove the symbolic

View File

@@ -0,0 +1,303 @@
reg_linux_diskfull_installation_flat
updatenode_h
updatenode_v
updatenode_diskful_syncfiles
updatenode_diskful_syncfiles_rename
updatenode_diskful_syncfiles_dir
updatenode_diskful_syncfiles_multi_files
updatenode_syncfile_EXECUTE
updatenode_syncfile_EXECUTEALWAYS
updatenode_syncfile_APPEND
updatenode_syncfile_MERGE
updatenode_P_script1
updatenode_P_script2
updatenode_f_incompatible_flags
updatenode_k_incompatible_flags
updatenode_diskful_syncfiles_P_script1
updatenode_script3
updatenode_P_script1_script2
updatenode_without_flag
chdef_null
chdef_t_node
chdef_t_network
chdef_p
chdef_m
chdef_z
chdef_group
chdef_group_p
chdef_dynamic_group
chdef_multiple_keys
chdef_n
chdef_t_o_error
chtab_null
chtab_d
chtab_modify_node
chtab_modify_key
chtab_h
chtab_v
copycds_iso
copycds_n
copycds_a
copycds_n_a
copycds_a_err
copycds_n_err
packimage_o_p_a_m
packimage_p_a_o
packimage_imagename
packimage_h
packimage_v
pping_h
pping_v
pping_node
getmacs_noderange
getmacs_d
getmacs_f_D
gettab_key_table
gettab_H
gettab_err
gettab_h
lsdef_null
lsdef_a
lsdef_t_o_l
lsdef_t_o_l_z
lsdef_t
lsdef_t_i_o
lsdef_t_w
lsdef_t_err
lslite_i
lslite_noderange
lslite_h
makeconservercf_null
makeconservercf_noderange
makeconservercf_d
makedhcp_n
makedhcp_a
makedhcp_a_d
makedhcp_d
mkdef_null
mkdef_z
mkdef_t_o_error
nodeadd_noderange
nodeadd_err_symbol
nodeadd_null
nodeadd_noderange_nodetype
nodeadd_v
nodeadd_h
nodegrpch_v
nodegrpch_h
nodegrpch_groups
nodegrpch_err
nodech_noderange_table
nodech_noderange_table_comma
nodech_noderange_table_arrow
nodech_noderanage_table_at
nodech_delete
nodech_error_node
nodech_error_table
nodech_h
nodech_v
nodech_noderange_table_include
nodech_noderange_table_uninclude
nodech_noderange_table_equal
nodech_noderange_table_unequal
nodech_noderange_shortname_groups
nodech_noderange_shortname_tags
nodech_noderange_shortname_mgt
nodels_null
nodels_H
nodels_noderange
nodels_err_symbol
nodels_err_noderange
nodels_noderange_shortname_groups
nodels_noderange_shortname_tags
nodels_noderange_shortname_mgt
nodels_table_include
nodels_noderange_table_uninclude
nodels_noderange_table_equal
nodels_noderange_table_unequal
nodels_b
nodels_S
nodels_noderange_table
nodels_tablevalue
nodels_tablevalue_tablecolumn
nodels_noderange_tablecolumn
nodels_tablevalue_tablecolumn
nodels_h
nodels_v
xcatstanzafile_normal
xcatstanzafile_colon
xcatstanzafile_attribute
xcatstanzafile_objtype
xcatstanzafile_tab
xcatstanzafile_multattr
xcatstanzafile_defaultvalue
xcatstanzafile_specificvalue
noderm_noderange
noderm_h
noderm_null
noderm_err_node
nodeset_stat
nodeset_noderange
nodestat_err_node
rinv_bus
rinv_config
rinv_serial
rinv_model
rinv_firm
rinv_all
rinv_noderange_err
rmdef_null
rmdef_t_err
rpower_off
rpower_stat
rpower_boot
rpower_on
rpower_reset
rpower_noderange
rpower_noderange_nodeps
rpower_err_noderange
rscan_noderange
rscan_x
rscan_z
rscan_w
rscan_x_w
rscan_z_w
rvitals_lcds
rvitals_all
rvitals_noderange_err
tabdump_table
tabdump_d
tabdump_v
tabdump_h
tabdump_help
tabdump_w_match
tabdump_w_equal
tabdump_w_ne
tabdump_w_notmatch
tabdump_w_gt
tabdump_w_ge
tabdump_w_lt
tabdump_w_le
tabdump_f_d
tabdump_d_nodehm
tabprune_h
tabprune_v
tabprune_a_eventlog
tabprune_V_a_eventlog
tabprune_p_auditlog
tabprune_i_auditlog
tabprune_V_n_auditlog
tabgrep_node
tabgrep_null
tabgrep_h
tabgrep_err
tabrestore_table
tabrestore_null
tabrestore_h
tabrestore_err
dumpxCATdb_h
dumpxCATdb_v
dumpxCATdb_p_nullskiptables
dumpxCATdb_a_p_nullskiptables
dumpxCATdb_p_skiptables
dumpxCATdb_a_p_skiptables
dumpxCATdb_p_nullskiptables_V
dumpxCATdb_a_p_nullskiptables_V
dumpxCATdb_p_V
restorexCAT_h
restorexCATdb_v
restorexCATdb_p_V
restorexCATdb_a_p_V
restorexCATdb_wrongpath
regnotif_null
regnotif_o
regnotif_err
regnotif_h
regnotif_v
unregnotif_null
unregnotif_f
unregnotif_h
unregnotif_v
lsxcatd_null
lsxcatd_h
lsxcatd_d
lsxcatd_a
makehosts_h
makehosts_help
makehosts_null
makehosts_l
makehosts_d
makehosts_n
makehosts_n_noderange
xdcp_src_dst
makedns_h
makedns_d_node
makedns_n
makedns
noderange_individual_node
noderange_individual_grp
noderange_node01-node10
noderange_group1-group3
noderange_10-20
noderange_XCAT_NODE_PREFIX
noderange_XCAT_NODE_SUFFIX
noderange_exclusion
noderange_group_intersection
confignics_config_one_port_single_value
confignics_config_multiple_ports_single_value
confignics_config_multiple_ports_multiple_value
confignics_config_multiple_port_withnichostnamesuffixes_multiple_value
confignics_config_multiple_port_withnicaliases_multiple_value
confignics_disable_set_to_yes
confignics_disable_set_to_1
confignics_s
xdsh_h
xdsh_V
xdsh_regular_command
xdsh_Q_command
xdsh_c_cn
xdsh_e_filename
xdsh_E
xdsh_t
xdsh_q
xdsh_T
xdsh_o
switchdiscover_range_default
switchdiscover_h
switchdiscover_range_s
switchdiscover_range_default_w
switchdiscover_range_r
switchdiscover_range_x
switchdiscover_range_z
switchdiscover_range_z_V
makentp_v
makentp_h
makentp_V
makentp
makentp_a
nodeset_check_warninginfo
runcmdinstaller
runcmdinstaller_command
get_xcat_postscripts_loginfo
updatenode_postscripts_loginfo
bmcdiscover_h
bmcdiscover_nmap_range
bmcdiscover_v
bmcdiscover_check_paswd
bmcdiscover_check_passwd_wrong
bmcdiscover_get_ipsource
bmcdiscover_range_w
bmcdiscover_range_z
xcatd_start
xcatd_stop
xcatd_restart
run_command_with_XCATBYPASS
disable_root_permission_in_policy_table
assign_certain_command_permission
reg_linux_diskless_installation_flat
reg_linux_statelite_installation_flat
SN_setup_case
reg_linux_diskfull_installation_hierarchy
reg_linux_diskless_installation_hierarchy
reg_linux_statelite_installation_hierarchy_by_ramdisk
reg_linux_statelite_installation_hierarchy_by_nfs

View File

@@ -0,0 +1,195 @@
Diskless_installation_flat_p8_le
Full_installation_flat_p8_le
makehosts_h
makehosts_help
makehosts_n
makehosts_n_noderange
chdef_null
chdef_z
chdef_t_o_error
chtab_null
chtab_d
chtab_modify_node
chtab_modify_key
chtab_h
chtab_v
packimage_o_p_a_m
packimage_p_a_o
packimage_imagename
packimage_h
packimage_v
pping_h
pping_v
pping_node
gettab_key_table
gettab_H
gettab_err
gettab_h
lsdef_null
lsdef_a
lsdef_t_o_l
lsdef_t_o_l_z
lsdef_t
lsdef_t_i_o
lsdef_t_w
lsdef_t_err
makeconservercf_null
makeconservercf_noderange
makeconservercf_d
makedhcp_n
makedhcp_a
makedhcp_a_d
makedhcp_d
mkdef_null
mkdef_z
mkdef_t_o_error
nodeadd_noderange
nodeadd_err_symbol
nodeadd_null
nodeadd_noderange_nodetype
nodeadd_v
nodeadd_h
nodegrpch_v
nodegrpch_h
nodegrpch_groups
nodegrpch_err
nodech_noderange_table
nodech_noderange_table_comma
nodech_noderange_table_arrow
nodech_noderanage_table_at
nodech_delete
nodech_error_node
nodech_error_table
nodech_h
nodech_v
nodech_noderange_table_include
nodech_noderange_table_uninclude
nodech_noderange_table_equal
nodech_noderange_table_unequal
nodech_noderange_shortname_groups
nodech_noderange_shortname_tags
nodech_noderange_shortname_mgt
nodels_null
nodels_H
nodels_noderange
nodels_err_symbol
nodels_err_noderange
nodels_noderange_shortname_groups
nodels_noderange_shortname_tags
nodels_noderange_shortname_mgt
nodels_table_include
nodels_noderange_table_uninclude
nodels_noderange_table_equal
nodels_noderange_table_unequal
nodels_b
nodels_S
nodels_noderange_table
nodels_tablevalue
nodels_tablevalue_tablecolumn
nodels_noderange_tablecolumn
nodels_tablevalue_tablecolumn
nodels_h
nodels_v
xcatstanzafile_colon
xcatstanzafile_attribute
xcatstanzafile_objtype
xcatstanzafile_tab
xcatstanzafile_multattr
xcatstanzafile_defaultvalue
xcatstanzafile_specificvalue
noderm_noderange
noderm_h
noderm_null
noderm_err_node
nodeset_stat
nodeset_noderange
nodestat_err_node
rinv_noderange_err
rmdef_null
rmdef_t_err
rpower_err_noderange
rvitals_noderange_err
tabdump_table
tabdump_d
tabdump_v
tabdump_h
tabdump_help
tabdump_w_match
tabdump_w_equal
tabdump_w_ne
tabdump_w_notmatch
tabdump_w_gt
tabdump_w_ge
tabdump_w_lt
tabdump_w_le
tabdump_f_d
tabdump_d_nodehm
tabprune_h
tabprune_v
tabprune_a_eventlog
tabprune_V_a_eventlog
tabprune_i_auditlog
tabprune_V_n_auditlog
tabgrep_node
tabgrep_null
tabgrep_h
tabgrep_err
tabrestore_table
tabrestore_null
tabrestore_h
tabrestore_err
dumpxCATdb_h
dumpxCATdb_v
dumpxCATdb_p_nullskiptables
dumpxCATdb_a_p_nullskiptables
dumpxCATdb_p_skiptables
dumpxCATdb_a_p_skiptables
dumpxCATdb_p_nullskiptables_V
dumpxCATdb_a_p_nullskiptables_V
dumpxCATdb_p_V
restorexCAT_h
restorexCATdb_v
restorexCATdb_p_V
restorexCATdb_a_p_V
restorexCATdb_wrongpath
regnotif_null
regnotif_o
regnotif_err
regnotif_h
regnotif_v
unregnotif_null
unregnotif_f
unregnotif_h
unregnotif_v
lsxcatd_null
lsxcatd_h
lsxcatd_d
lsxcatd_a
makedns_d_node
makedns_n
makedns
copycds_iso
copycds_n
copycds_a
copycds_n_a
xdsh_h
xdsh_V
xdsh_regular_command
xdsh_Q_command
xdsh_c_cn
xdsh_e_filename
xdsh_E
xdsh_i_linux
xdsh_t
xdsh_q
xdsh_T
xdsh_o
switchdiscover_range_default
switchdiscover_h
switchdiscover_range_s
switchdiscover_range_default_w
switchdiscover_range_r
switchdiscover_range_x
switchdiscover_range_z
switchdiscover_range_z_V

View File

@@ -0,0 +1,206 @@
reg_linux_diskfull_installation_flat
makehosts_h
makehosts_help
makehosts_n
makehosts_n_noderange
chdef_null
chdef_z
chdef_t_o_error
chtab_null
chtab_d
chtab_modify_node
chtab_modify_key
chtab_h
chtab_v
packimage_o_p_a_m
packimage_p_a_o
packimage_imagename
packimage_h
packimage_v
pping_h
pping_v
pping_node
gettab_key_table
gettab_H
gettab_err
gettab_h
lsdef_null
lsdef_a
lsdef_t_o_l
lsdef_t_o_l_z
lsdef_t
lsdef_t_i_o
lsdef_t_w
lsdef_t_err
lslite_i
lslite_noderange
lslite_h
makeconservercf_null
makeconservercf_noderange
makeconservercf_d
makedhcp_n
makedhcp_a
makedhcp_a_d
makedhcp_d
mkdef_null
mkdef_z
mkdef_t_o_error
nodeadd_noderange
nodeadd_err_symbol
nodeadd_null
nodeadd_noderange_nodetype
nodeadd_v
nodeadd_h
nodegrpch_v
nodegrpch_h
nodegrpch_groups
nodegrpch_err
nodech_noderange_table
nodech_noderange_table_comma
nodech_noderange_table_arrow
nodech_noderanage_table_at
nodech_delete
nodech_error_node
nodech_error_table
nodech_h
nodech_v
nodech_noderange_table_include
nodech_noderange_table_uninclude
nodech_noderange_table_equal
nodech_noderange_table_unequal
nodech_noderange_shortname_groups
nodech_noderange_shortname_tags
nodech_noderange_shortname_mgt
nodels_null
nodels_H
nodels_noderange
nodels_err_symbol
nodels_err_noderange
nodels_noderange_shortname_groups
nodels_noderange_shortname_tags
nodels_noderange_shortname_mgt
nodels_table_include
nodels_noderange_table_uninclude
nodels_noderange_table_equal
nodels_noderange_table_unequal
nodels_b
nodels_S
nodels_noderange_table
nodels_tablevalue
nodels_tablevalue_tablecolumn
nodels_noderange_tablecolumn
nodels_tablevalue_tablecolumn
nodels_h
nodels_v
xcatstanzafile_normal
xcatstanzafile_colon
xcatstanzafile_attribute
xcatstanzafile_objtype
xcatstanzafile_tab
xcatstanzafile_multattr
xcatstanzafile_defaultvalue
xcatstanzafile_specificvalue
noderm_noderange
noderm_h
noderm_null
noderm_err_node
nodeset_stat
nodeset_noderange
nodestat_noderange
nodestat_err_node
rinv_noderange_err
rmdef_null
rmdef_t_err
rpower_err_noderange
rvitals_noderange_err
tabdump_table
tabdump_d
tabdump_v
tabdump_h
tabdump_help
tabdump_w_match
tabdump_w_equal
tabdump_w_ne
tabdump_w_notmatch
tabdump_w_gt
tabdump_w_ge
tabdump_w_lt
tabdump_w_le
tabdump_f_d
tabdump_d_nodehm
tabprune_h
tabprune_v
tabprune_a_eventlog
tabprune_V_a_eventlog
tabprune_i_auditlog
tabprune_V_n_auditlog
tabgrep_node
tabgrep_null
tabgrep_h
tabgrep_err
tabrestore_table
tabrestore_null
tabrestore_h
tabrestore_err
dumpxCATdb_h
dumpxCATdb_v
dumpxCATdb_p_nullskiptables
dumpxCATdb_a_p_nullskiptables
dumpxCATdb_p_skiptables
dumpxCATdb_a_p_skiptables
dumpxCATdb_p_nullskiptables_V
dumpxCATdb_a_p_nullskiptables_V
dumpxCATdb_p_V
restorexCAT_h
restorexCATdb_v
restorexCATdb_p_V
restorexCATdb_a_p_V
restorexCATdb_wrongpath
regnotif_null
regnotif_o
regnotif_err
regnotif_h
regnotif_v
unregnotif_null
unregnotif_f
unregnotif_h
unregnotif_v
lsxcatd_null
lsxcatd_h
lsxcatd_d
lsxcatd_a
makedns_d_node
makedns_n
makedns
copycds_iso
copycds_n
copycds_a
copycds_n_a
xdsh_h
xdsh_V
xdsh_regular_command
xdsh_Q_command
xdsh_c_cn
xdsh_e_filename
xdsh_E
xdsh_i_linux
xdsh_t
xdsh_q
xdsh_T
xdsh_o
switchdiscover_range_default
switchdiscover_h
switchdiscover_range_s
switchdiscover_range_default_w
switchdiscover_range_r
switchdiscover_range_x
switchdiscover_range_z
switchdiscover_range_z_V
nodeset_check_warninginfo
reg_linux_diskless_installation_flat
reg_linux_statelite_installation_flat
SN_setup_case
reg_linux_diskfull_installation_hierarchy
reg_linux_diskless_installation_hierarchy
reg_linux_statelite_installation_hierarchy_by_ramdisk
reg_linux_statelite_installation_hierarchy_by_nfs

View File

@@ -0,0 +1,266 @@
reg_linux_diskfull_installation_flat
chdef_null
chdef_t_node
chdef_t_network
chdef_p
chdef_m
chdef_z
chdef_group
chdef_group_p
chdef_dynamic_group
chdef_multiple_keys
chdef_n
chdef_t_o_error
chtab_null
chtab_d
chtab_modify_node
chtab_modify_key
chtab_h
chtab_v
copycds_iso
copycds_n
copycds_a
copycds_n_a
copycds_a_err
copycds_n_err
packimage_o_p_a_m
packimage_p_a_o
packimage_imagename
packimage_h
packimage_v
pping_h
pping_v
pping_node
getmacs_noderange
getmacs_d
getmacs_f_D
gettab_key_table
gettab_H
gettab_err
gettab_h
lsdef_null
lsdef_a
lsdef_t_o_l
lsdef_t_o_l_z
lsdef_t
lsdef_t_i_o
lsdef_t_w
lsdef_t_err
lslite_i
lslite_noderange
lslite_h
makeconservercf_null
makeconservercf_noderange
makeconservercf_d
makedhcp_n
makedhcp_a
makedhcp_a_d
makedhcp_d
mkdef_null
mkdef_z
mkdef_t_o_error
nodeadd_noderange
nodeadd_err_symbol
nodeadd_null
nodeadd_noderange_nodetype
nodeadd_v
nodeadd_h
nodegrpch_v
nodegrpch_h
nodegrpch_groups
nodegrpch_err
nodech_noderange_table
nodech_noderange_table_comma
nodech_noderange_table_arrow
nodech_noderanage_table_at
nodech_delete
nodech_error_node
nodech_error_table
nodech_h
nodech_v
nodech_noderange_table_include
nodech_noderange_table_uninclude
nodech_noderange_table_equal
nodech_noderange_table_unequal
nodech_noderange_shortname_groups
nodech_noderange_shortname_tags
nodech_noderange_shortname_mgt
nodels_null
nodels_H
nodels_noderange
nodels_err_symbol
nodels_err_noderange
nodels_noderange_shortname_groups
nodels_noderange_shortname_tags
nodels_noderange_shortname_mgt
nodels_table_include
nodels_noderange_table_uninclude
nodels_noderange_table_equal
nodels_noderange_table_unequal
nodels_b
nodels_S
nodels_noderange_table
nodels_tablevalue
nodels_tablevalue_tablecolumn
nodels_noderange_tablecolumn
nodels_tablevalue_tablecolumn
nodels_h
nodels_v
xcatstanzafile_normal
xcatstanzafile_colon
xcatstanzafile_attribute
xcatstanzafile_objtype
xcatstanzafile_tab
xcatstanzafile_multattr
xcatstanzafile_defaultvalue
xcatstanzafile_specificvalue
noderm_noderange
noderm_h
noderm_null
noderm_err_node
nodeset_stat
nodeset_noderange
nodestat_err_node
rinv_bus
rinv_config
rinv_serial
rinv_model
rinv_firm
rinv_all
rinv_noderange_err
rmdef_null
rmdef_t_err
rpower_off
rpower_stat
rpower_boot
rpower_on
rpower_reset
rpower_noderange
rpower_noderange_nodeps
rpower_err_noderange
rscan_noderange
rscan_x
rscan_z
rscan_w
rscan_x_w
rscan_z_w
rvitals_lcds
rvitals_all
rvitals_noderange_err
tabdump_table
tabdump_d
tabdump_v
tabdump_h
tabdump_help
tabdump_w_match
tabdump_w_equal
tabdump_w_ne
tabdump_w_notmatch
tabdump_w_gt
tabdump_w_ge
tabdump_w_lt
tabdump_w_le
tabdump_f_d
tabdump_d_nodehm
tabprune_h
tabprune_v
tabprune_a_eventlog
tabprune_V_a_eventlog
tabprune_p_auditlog
tabprune_i_auditlog
tabprune_V_n_auditlog
tabgrep_node
tabgrep_null
tabgrep_h
tabgrep_err
tabrestore_table
tabrestore_null
tabrestore_h
tabrestore_err
dumpxCATdb_h
dumpxCATdb_v
dumpxCATdb_p_nullskiptables
dumpxCATdb_a_p_nullskiptables
dumpxCATdb_p_skiptables
dumpxCATdb_a_p_skiptables
dumpxCATdb_p_nullskiptables_V
dumpxCATdb_a_p_nullskiptables_V
dumpxCATdb_p_V
restorexCAT_h
restorexCATdb_v
restorexCATdb_p_V
restorexCATdb_a_p_V
restorexCATdb_wrongpath
regnotif_null
regnotif_o
regnotif_err
regnotif_h
regnotif_v
unregnotif_null
unregnotif_f
unregnotif_h
unregnotif_v
lsxcatd_null
lsxcatd_h
lsxcatd_d
lsxcatd_a
makehosts_h
makehosts_help
makehosts_null
makehosts_l
makehosts_d
makehosts_n
makehosts_n_noderange
xdcp_src_dst
makedns_h
makedns_d_node
makedns_n
makedns
noderange_individual_node
noderange_individual_grp
noderange_node01-node10
noderange_group1-group3
noderange_10-20
noderange_XCAT_NODE_PREFIX
noderange_XCAT_NODE_SUFFIX
noderange_exclusion
noderange_group_intersection
confignics_config_one_port_single_value
confignics_config_multiple_ports_single_value
confignics_config_multiple_ports_multiple_value
confignics_config_multiple_port_withnichostnamesuffixes_multiple_value
confignics_config_multiple_port_withnicaliases_multiple_value
confignics_disable_set_to_yes
confignics_disable_set_to_1
confignics_s
xdsh_h
xdsh_V
xdsh_regular_command
xdsh_Q_command
xdsh_c_cn
xdsh_e_filename
xdsh_E
xdsh_t
xdsh_q
xdsh_T
xdsh_o
switchdiscover_range_default
switchdiscover_h
switchdiscover_range_s
switchdiscover_range_default_w
switchdiscover_range_r
switchdiscover_range_x
switchdiscover_range_z
switchdiscover_range_z_V
makentp_v
makentp_h
makentp_V
makentp
makentp_a
nodeset_check_warninginfo
reg_linux_diskless_installation_flat
reg_linux_statelite_installation_flat
SN_setup_case
reg_linux_diskfull_installation_hierarchy
reg_linux_diskless_installation_hierarchy
reg_linux_statelite_installation_hierarchy_by_ramdisk

View File

@@ -0,0 +1,215 @@
reg_linux_diskfull_installation_flat
makehosts_h
makehosts_help
makehosts_n
makehosts_n_noderange
chdef_null
chdef_z
chdef_t_o_error
chtab_null
chtab_d
chtab_modify_node
chtab_modify_key
chtab_err_symble
chtab_err_table
chtab_h
chtab_v
packimage_o_p_a_m
packimage_p_a_o
packimage_imagename
packimage_h
packimage_v
pping_h
pping_v
pping_node
gettab_key_table
gettab_H
gettab_err
gettab_h
lsdef_null
lsdef_a
lsdef_t_o_l
lsdef_t_o_l_z
lsdef_t
lsdef_t_i_o
lsdef_t_w
lsdef_t_err
lslite_i
lslite_noderange
lslite_h
makeconservercf_null
makeconservercf_noderange
makeconservercf_d
makedhcp_n
makedhcp_a
makedhcp_a_d
makedhcp_d
mkdef_null
mkdef_z
mkdef_t_o_error
nodeadd_noderange
nodeadd_err_symbol
nodeadd_null
nodeadd_noderange_nodetype
nodeadd_v
nodeadd_h
nodegrpch_v
nodegrpch_h
nodegrpch_groups
nodegrpch_err
nodech_noderange_table
nodech_noderange_table_comma
nodech_noderange_table_arrow
nodech_noderanage_table_at
nodech_delete
nodech_error_node
nodech_error_table
nodech_h
nodech_v
nodech_noderange_table_include
nodech_noderange_table_uninclude
nodech_noderange_table_equal
nodech_noderange_table_unequal
nodech_noderange_shortname_groups
nodech_noderange_shortname_tags
nodech_noderange_shortname_mgt
nodels_null
nodels_H
nodels_noderange
nodels_err_symbol
nodels_err_noderange
nodels_noderange_shortname_groups
nodels_noderange_shortname_tags
nodels_noderange_shortname_mgt
nodels_table_include
nodels_noderange_table_uninclude
nodels_noderange_table_equal
nodels_noderange_table_unequal
nodels_b
nodels_S
nodels_noderange_table
nodels_tablevalue
nodels_tablevalue_tablecolumn
nodels_noderange_tablecolumn
nodels_tablevalue_tablecolumn
nodels_h
nodels_v
xcatstanzafile_normal
xcatstanzafile_colon
xcatstanzafile_attribute
xcatstanzafile_objtype
xcatstanzafile_tab
xcatstanzafile_multattr
xcatstanzafile_defaultvalue
xcatstanzafile_specificvalue
noderm_noderange
noderm_h
noderm_null
noderm_err_node
nodeset_stat
nodeset_noderange
nodestat_noderange
nodestat_err_node
rinv_noderange_err
rmdef_null
rmdef_t_err
rpower_err_noderange
rvitals_noderange_err
tabdump_table
tabdump_d
tabdump_v
tabdump_h
tabdump_help
tabdump_w_match
tabdump_w_equal
tabdump_w_ne
tabdump_w_notmatch
tabdump_w_gt
tabdump_w_ge
tabdump_w_lt
tabdump_w_le
tabdump_f_d
tabdump_d_nodehm
tabprune_h
tabprune_v
tabprune_a_eventlog
tabprune_V_a_eventlog
tabprune_i_auditlog
tabprune_V_n_auditlog
tabgrep_node
tabgrep_null
tabgrep_h
tabgrep_err
tabrestore_table
tabrestore_null
tabrestore_h
tabrestore_err
dumpxCATdb_h
dumpxCATdb_v
dumpxCATdb_p_nullskiptables
dumpxCATdb_a_p_nullskiptables
dumpxCATdb_p_skiptables
dumpxCATdb_a_p_skiptables
dumpxCATdb_p_nullskiptables_V
dumpxCATdb_a_p_nullskiptables_V
dumpxCATdb_p_V
restorexCAT_h
restorexCATdb_v
restorexCATdb_p_V
restorexCATdb_a_p_V
restorexCATdb_wrongpath
regnotif_null
regnotif_o
regnotif_err
regnotif_h
regnotif_v
unregnotif_null
unregnotif_f
unregnotif_h
unregnotif_v
lsxcatd_null
lsxcatd_h
lsxcatd_d
lsxcatd_a
makedns_d_node
makedns_n
makedns
copycds_iso
copycds_n
copycds_a
copycds_n_a
copycds_a_err
copycds_n_err
xdsh_h
xdsh_V
xdsh_regular_command
xdsh_Q_command
xdsh_c_cn
xdsh_e_filename
xdsh_E
xdsh_i_linux
xdsh_t
xdsh_q
xdsh_T
xdsh_o
switchdiscover_range_default
switchdiscover_h
switchdiscover_range_s
switchdiscover_range_default_w
switchdiscover_range_r
switchdiscover_range_x
switchdiscover_range_z
switchdiscover_range_z_V
nodeset_check_warninginfo
xcatd_start
xcatd_stop
xcatd_restart
run_command_with_XCATBYPASS
disable_root_permission_in_policy_table
assign_certain_command_permission
reg_linux_diskless_installation_flat
reg_linux_statelite_installation_flat
SN_setup_case
reg_linux_diskfull_installation_hierarchy
reg_linux_diskless_installation_hierarchy
reg_linux_statelite_installation_hierarchy_by_ramdisk

View File

@@ -0,0 +1,198 @@
Diskless_installation_flat_p8_le
Full_installation_flat_p8_le
makehosts_h
makehosts_help
makehosts_n
makehosts_n_noderange
chdef_null
chdef_z
chdef_t_o_error
chtab_null
chtab_d
chtab_modify_node
chtab_modify_key
chtab_err_symble
chtab_err_table
chtab_h
chtab_v
packimage_o_p_a_m
packimage_p_a_o
packimage_imagename
packimage_h
packimage_v
pping_h
pping_v
pping_node
gettab_key_table
gettab_H
gettab_err
gettab_h
lsdef_null
lsdef_a
lsdef_t_o_l
lsdef_t_o_l_z
lsdef_t
lsdef_t_i_o
lsdef_t_w
lsdef_t_err
makeconservercf_null
makeconservercf_noderange
makeconservercf_d
makedhcp_n
makedhcp_a
makedhcp_a_d
makedhcp_d
mkdef_null
mkdef_z
mkdef_t_o_error
nodeadd_noderange
nodeadd_err_symbol
nodeadd_null
nodeadd_noderange_nodetype
nodeadd_v
nodeadd_h
nodegrpch_v
nodegrpch_h
nodegrpch_groups
nodegrpch_err
nodech_noderange_table
nodech_noderange_table_comma
nodech_noderange_table_arrow
nodech_noderanage_table_at
nodech_delete
nodech_error_node
nodech_error_table
nodech_h
nodech_v
nodech_noderange_table_include
nodech_noderange_table_uninclude
nodech_noderange_table_equal
nodech_noderange_table_unequal
nodech_noderange_shortname_groups
nodech_noderange_shortname_tags
nodech_noderange_shortname_mgt
nodels_null
nodels_H
nodels_noderange
nodels_err_symbol
nodels_err_noderange
nodels_noderange_shortname_groups
nodels_noderange_shortname_tags
nodels_noderange_shortname_mgt
nodels_table_include
nodels_noderange_table_uninclude
nodels_noderange_table_equal
nodels_noderange_table_unequal
nodels_b
nodels_S
nodels_noderange_table
nodels_tablevalue
nodels_tablevalue_tablecolumn
nodels_noderange_tablecolumn
nodels_tablevalue_tablecolumn
nodels_h
nodels_v
xcatstanzafile_colon
xcatstanzafile_attribute
xcatstanzafile_objtype
xcatstanzafile_tab
xcatstanzafile_multattr
xcatstanzafile_defaultvalue
xcatstanzafile_specificvalue
noderm_noderange
noderm_h
noderm_null
noderm_err_node
nodeset_stat
nodeset_noderange
nodestat_err_node
rinv_noderange_err
rmdef_null
rmdef_t_err
rpower_err_noderange
rvitals_noderange_err
tabdump_table
tabdump_d
tabdump_v
tabdump_h
tabdump_help
tabdump_w_match
tabdump_w_equal
tabdump_w_ne
tabdump_w_notmatch
tabdump_w_gt
tabdump_w_ge
tabdump_w_lt
tabdump_w_le
tabdump_f_d
tabdump_d_nodehm
tabprune_h
tabprune_v
tabprune_a_eventlog
tabprune_V_a_eventlog
tabprune_i_auditlog
tabprune_V_n_auditlog
tabgrep_node
tabgrep_null
tabgrep_h
tabgrep_err
tabrestore_table
tabrestore_null
tabrestore_h
tabrestore_err
dumpxCATdb_h
dumpxCATdb_v
dumpxCATdb_p_nullskiptables
dumpxCATdb_a_p_nullskiptables
dumpxCATdb_p_skiptables
dumpxCATdb_a_p_skiptables
dumpxCATdb_p_nullskiptables_V
dumpxCATdb_a_p_nullskiptables_V
dumpxCATdb_p_V
restorexCAT_h
restorexCATdb_v
restorexCATdb_p_V
restorexCATdb_a_p_V
restorexCATdb_wrongpath
regnotif_null
regnotif_o
regnotif_err
regnotif_h
regnotif_v
unregnotif_null
unregnotif_f
unregnotif_h
unregnotif_v
lsxcatd_null
lsxcatd_h
lsxcatd_d
lsxcatd_a
makedns_d_node
makedns_n
makedns
copycds_iso
copycds_n
copycds_a
copycds_n_a
copycds_a_err
copycds_n_err
xdsh_h
xdsh_V
xdsh_regular_command
xdsh_Q_command
xdsh_c_cn
xdsh_e_filename
xdsh_E
xdsh_i_linux
xdsh_t
xdsh_q
xdsh_T
xdsh_o
switchdiscover_range_default
switchdiscover_h
switchdiscover_range_s
switchdiscover_range_default_w
switchdiscover_range_r
switchdiscover_range_x
switchdiscover_range_z
switchdiscover_range_z_V

View File

@@ -0,0 +1,242 @@
Diskless_installation_flat_p8_le
Full_installation_flat_p8_le
makehosts_h
makehosts_help
makehosts_n_noderange
makehosts_n
chdef_null
chdef_z
chdef_t_o_error
chtab_null
chtab_d
chtab_modify_node
chtab_modify_key
chtab_h
chtab_v
packimage_o_p_a_m
packimage_p_a_o
packimage_imagename
packimage_h
packimage_v
pping_h
pping_v
pping_node
gettab_key_table
gettab_H
gettab_err
gettab_h
lsdef_null
lsdef_a
lsdef_t_o_l
lsdef_t_o_l_z
lsdef_t
lsdef_t_i_o
lsdef_t_w
lsdef_t_err
makeconservercf_null
makeconservercf_noderange
makeconservercf_d
makedhcp_n
makedhcp_a_ubuntu
makedhcp_d
mkdef_null
mkdef_z
mkdef_t_o_error
nodeadd_noderange
nodeadd_err_symbol
nodeadd_null
nodeadd_noderange_nodetype
nodeadd_v
nodeadd_h
nodegrpch_v
nodegrpch_h
nodegrpch_groups
nodegrpch_err
nodech_noderange_table
nodech_noderange_table_comma
nodech_noderange_table_arrow
nodech_noderanage_table_at
nodech_delete
nodech_error_node
nodech_error_table
nodech_h
nodech_v
nodech_noderange_table_include
nodech_noderange_table_uninclude
nodech_noderange_table_equal
nodech_noderange_table_unequal
nodech_noderange_shortname_groups
nodech_noderange_shortname_tags
nodech_noderange_shortname_mgt
nodels_null
nodels_H
nodels_noderange
nodels_err_symbol
nodels_err_noderange
nodels_noderange_shortname_groups
nodels_noderange_shortname_tags
nodels_noderange_shortname_mgt
nodels_table_include
nodels_noderange_table_uninclude
nodels_noderange_table_equal
nodels_noderange_table_unequal
nodels_b
nodels_S
nodels_noderange_table
nodels_tablevalue
nodels_tablevalue_tablecolumn
nodels_noderange_tablecolumn
nodels_tablevalue_tablecolumn
nodels_h
nodels_v
xcatstanzafile_colon
xcatstanzafile_attribute
xcatstanzafile_objtype
xcatstanzafile_specificvalue
xcatstanzafile_multattr
xcatstanzafile_defaultvalue
xcatstanzafile_tab
xcatstanzafile_normal
noderm_noderange
noderm_h
noderm_null
noderm_err_node
nodeset_stat
nodeset_noderange
nodestat_err_node
rmdef_null
rmdef_t_err
rpower_err_noderange
rvitals_noderange_err
tabdump_table
tabdump_d
tabdump_v
tabdump_h
tabdump_help
tabdump_w_match
tabdump_w_equal
tabdump_w_ne
tabdump_w_notmatch
tabdump_w_gt
tabdump_w_ge
tabdump_w_lt
tabdump_w_le
tabdump_f_d
tabdump_d_nodehm
tabprune_h
tabprune_v
tabprune_a_eventlog
tabprune_V_a_eventlog
tabprune_i_auditlog
tabprune_V_n_auditlog
tabgrep_node
tabgrep_null
tabgrep_h
tabgrep_err
tabrestore_table
tabrestore_null
tabrestore_h
tabrestore_err
dumpxCATdb_h
dumpxCATdb_v
dumpxCATdb_p_nullskiptables
dumpxCATdb_a_p_nullskiptables
dumpxCATdb_p_skiptables
dumpxCATdb_a_p_skiptables
dumpxCATdb_p_nullskiptables_V
dumpxCATdb_a_p_nullskiptables_V
dumpxCATdb_p_V
restorexCAT_h
restorexCATdb_v
restorexCATdb_p_V
restorexCATdb_a_p_V
restorexCATdb_wrongpath
regnotif_null
regnotif_o
regnotif_err
regnotif_h
regnotif_v
unregnotif_null
unregnotif_f
unregnotif_h
unregnotif_v
lsxcatd_null
lsxcatd_h
lsxcatd_d
lsxcatd_a
makedns_d_node
makedns_ubuntu_n
copycds_iso
copycds_n
copycds_a
copycds_n_a
copycds_a_err
copycds_n_err
addkit_v
addkit_h
addkit_kit
addkit_i
addkit_multikit
addkit_p
addkitcomp_v
addkitcomp_h
addkitcomp_i
addkitcomp_f
buildkit_v
buildkit_h
buildkit_create
buildkit_create_l
buildkit_cleanrepo_all
buildkit_buildtar
chkkitcomp_v
chkkitcomp_h
chkkitcomp_V
lskit_v
lskit_h
lskit_F
lskit_K
lskit_R
lskit_C
lskitcomp_v
lskitcomp_h
lskitcomp_C
lskitcomp_C
lskitcomp_S
lskitdeployparam_v
lskitdeployparam_h
lskitdeployparam_no_param
lskitdeployparam_k_1
lskitdeployparam_c_1
rmkit_v
rmkit_h
rmkit_t_no
rmkit_t_yes
rmkit_f
rmkit_V
rmkitcomp_v
rmkitcomp_h
xdsh_h
xdsh_V
xdsh_regular_command
xdsh_Q_command
xdsh_c_cn
xdsh_e_filename
xdsh_E
xdsh_t
xdsh_q
xdsh_T
xdsh_o
switchdiscover_range_default
switchdiscover_h
switchdiscover_range_s
switchdiscover_range_default_w
switchdiscover_range_r
switchdiscover_range_x
switchdiscover_range_z
switchdiscover_range_z_V
xcatd_start
xcatd_stop
xcatd_restart
run_command_with_XCATBYPASS
disable_root_permission_in_policy_table
assign_certain_command_permission

View File

@@ -0,0 +1,259 @@
Ubuntu_diskless_installation_flat_x86_vm
Ubuntu_full_installation_flat_x86_vm
Full_installation_flat_docker
makehosts_h
makehosts_help
makehosts_n_noderange
makehosts_n
chdef_null
chdef_z
chdef_t_o_error
chtab_null
chtab_d
chtab_modify_node
chtab_modify_key
chtab_h
chtab_v
packimage_o_p_a_m
packimage_p_a_o
packimage_imagename
packimage_h
packimage_v
pping_h
pping_v
pping_node
gettab_key_table
gettab_H
gettab_err
gettab_h
lsdef_null
lsdef_a
lsdef_t_o_l
lsdef_t_o_l_z
lsdef_t
lsdef_t_i_o
lsdef_t_w
lsdef_t_err
makeconservercf_null
makeconservercf_noderange
makeconservercf_d
makedhcp_n
makedhcp_a_ubuntu
makedhcp_d
mkdef_null
mkdef_z
mkdef_t_o_error
nodeadd_noderange
nodeadd_err_symbol
nodeadd_null
nodeadd_noderange_nodetype
nodeadd_v
nodeadd_h
nodegrpch_v
nodegrpch_h
nodegrpch_groups
nodegrpch_err
nodech_noderange_table
nodech_noderange_table_comma
nodech_noderange_table_arrow
nodech_noderanage_table_at
nodech_delete
nodech_error_node
nodech_error_table
nodech_h
nodech_v
nodech_noderange_table_include
nodech_noderange_table_uninclude
nodech_noderange_table_equal
nodech_noderange_table_unequal
nodech_noderange_shortname_groups
nodech_noderange_shortname_tags
nodech_noderange_shortname_mgt
nodels_null
nodels_H
nodels_noderange
nodels_err_symbol
nodels_err_noderange
nodels_noderange_shortname_groups
nodels_noderange_shortname_tags
nodels_noderange_shortname_mgt
nodels_table_include
nodels_noderange_table_uninclude
nodels_noderange_table_equal
nodels_noderange_table_unequal
nodels_b
nodels_S
nodels_noderange_table
nodels_tablevalue
nodels_tablevalue_tablecolumn
nodels_noderange_tablecolumn
nodels_tablevalue_tablecolumn
nodels_h
nodels_v
xcatstanzafile_normal
xcatstanzafile_colon
xcatstanzafile_attribute
xcatstanzafile_objtype
xcatstanzafile_tab
xcatstanzafile_multattr
xcatstanzafile_defaultvalue
xcatstanzafile_specificvalue
noderm_noderange
noderm_h
noderm_null
noderm_err_node
nodeset_stat
nodeset_noderange
nodestat_noderange
nodestat_err_node
rmdef_null
rmdef_t_err
rpower_err_noderange
rvitals_noderange_err
tabdump_table
tabdump_d
tabdump_v
tabdump_h
tabdump_help
tabdump_w_match
tabdump_w_equal
tabdump_w_ne
tabdump_w_notmatch
tabdump_w_gt
tabdump_w_ge
tabdump_w_lt
tabdump_w_le
tabdump_f_d
tabdump_d_nodehm
tabprune_h
tabprune_v
tabprune_a_eventlog
tabprune_V_a_eventlog
tabprune_i_auditlog
tabprune_V_n_auditlog
tabgrep_node
tabgrep_null
tabgrep_h
tabgrep_err
tabrestore_table
tabrestore_null
tabrestore_h
tabrestore_err
dumpxCATdb_h
dumpxCATdb_v
dumpxCATdb_p_nullskiptables
dumpxCATdb_a_p_nullskiptables
dumpxCATdb_p_skiptables
dumpxCATdb_a_p_skiptables
dumpxCATdb_p_nullskiptables_V
dumpxCATdb_a_p_nullskiptables_V
dumpxCATdb_p_V
restorexCAT_h
restorexCATdb_v
restorexCATdb_p_V
restorexCATdb_a_p_V
restorexCATdb_wrongpath
regnotif_null
regnotif_o
regnotif_err
regnotif_h
regnotif_v
unregnotif_null
unregnotif_f
unregnotif_h
unregnotif_v
lsxcatd_null
lsxcatd_h
lsxcatd_d
lsxcatd_a
makedns_d_node
makedns_ubuntu_n
copycds_iso
copycds_n
copycds_a
copycds_n_a
copycds_a_err
copycds_n_err
addkit_v
addkit_h
addkit_kit
addkit_i
addkit_multikit
addkit_p
addkitcomp_v
addkitcomp_h
addkitcomp_i
addkitcomp_f
buildkit_v
buildkit_h
buildkit_create
buildkit_create_l
buildkit_buildrepo_all
buildkit_buildrepo_ubuntu
buildkit_cleanrepo_all
buildkit_cleanrepo_ubuntu
buildkit_listrepo
buildkit_buildtar
buildkit_cleantar
buildkit_partialkit_ubuntu
buildkit_partialkit_completekit
chkkitcomp_v
chkkitcomp_h
chkkitcomp_V
lskit_v
lskit_h
lskit_F
lskit_K
lskit_R
lskit_C
lskitcomp_v
lskitcomp_h
lskitcomp_C
lskitcomp_C
lskitcomp_S
lskitdeployparam_v
lskitdeployparam_h
lskitdeployparam_no_param
lskitdeployparam_k_1
lskitdeployparam_c_1
rmkit_v
rmkit_h
rmkit_t_no
rmkit_t_yes
rmkit_f
rmkit_V
rmkitcomp_v
rmkitcomp_h
xdsh_h
xdsh_V
xdsh_regular_command
xdsh_Q_command
xdsh_c_cn
xdsh_e_filename
xdsh_E
xdsh_t
xdsh_q
xdsh_T
xdsh_o
switchdiscover_range_default
switchdiscover_h
switchdiscover_range_s
switchdiscover_range_default_w
switchdiscover_range_r
switchdiscover_range_x
switchdiscover_range_z
switchdiscover_range_z_V
nodeset_check_warninginfo
rpower_stop
rpower_start
rpower_state
rpower_restart
rpower_pause
rpower_unpause
mkdocker_h
mkdocker_command
rmdocker_h
rmdocker_command
rmdocker_f_command
lsdocker_h_command
lsdocker_l_command

View File

@@ -122,7 +122,7 @@ cmd:mkdocker $$DOCKERCN image=$$DOCKERIMAGE command=$$DOCKERCOMMAND dockerflag=
check:rc==0
cmd:rpower $$DOCKERCN pause
check:rc!=0
check:output=~ Cannot pause container $$DOCKERCN
check:output=~$$DOCKERCN: Error: Container
cmd:rpower $$DOCKERCN start
check:rc==0
cmd:rpower $$DOCKERCN pause

View File

@@ -3,7 +3,7 @@ os:Linux
cmd:copycds $$ISO
check:rc==0
cmd:if [ "__GETNODEATTR($$CN,arch)__" != "ppc64" -a "__GETNODEATTR($$CN,mgt)__" != "ipmi" ];then chdef -t node -o $$CN vmstorage=dir:///var/lib/libvirt/images/ && rmvm $$CN -f && mkvm $$CN ; fi
cmd:if [ "__GETNODEATTR($$CN,arch)__" != "ppc64" -a "__GETNODEATTR($$CN,mgt)__" != "ipmi" ];then rmvm $$CN -f && chdef $$CN mac= && mkvm $$CN ; fi
check:rc==0
cmd:makedns -n
check:rc==0

View File

@@ -3,7 +3,7 @@ os:Linux
cmd:chtab key=nameservers site.value="<xcatmaster>"
check:rc==0
cmd:if [[ "__GETNODEATTR($$SN,arch)__" =~ "x86_64" ]];then chdef -t node -o $$SN vmstorage=dir:///var/lib/libvirt/images/ && rmvm $$SN -f -p && mkvm $$SN -s 25G; fi
cmd:if [[ "__GETNODEATTR($$SN,arch)__" =~ "x86_64" ]];then rmvm $$SN -f && chdef $$SN mac= && mkvm $$SN ; fi
cmd:makedns -n
check:rc==0

View File

@@ -5,7 +5,7 @@ cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
check:rc==0
cmd:if [ "__GETNODEATTR($$CN,arch)__" != "ppc64" -a "__GETNODEATTR($$CN,mgt)__" != "ipmi" ];then chdef -t node -o $$CN vmstorage=dir:///var/lib/libvirt/images/ && rmvm $$CN -f && mkvm $$CN ; fi
cmd:if [ "__GETNODEATTR($$CN,arch)__" != "ppc64" -a "__GETNODEATTR($$CN,mgt)__" != "ipmi" ];then rmvm $$CN -f && chdef $$CN mac= && mkvm $$CN ; fi
cmd:makedns -n
check:rc==0
cmd:makeconservercf

View File

@@ -3,7 +3,7 @@ os:Linux
cmd:copycds $$ISO
check:rc==0
cmd:if [[ "__GETNODEATTR($$CN,arch)__" =~ "x86_64" ]];then chdef -t node -o $$CN vmstorage=dir:///var/lib/libvirt/images/ && rmvm $$CN -f && mkvm $$CN ; fi
cmd:if [ "__GETNODEATTR($$CN,arch)__" = "x86_64" ]; then rmvm $$CN -f && chdef $$CN mac= && mkvm $$CN ; fi
cmd:makedns -n
check:rc==0
cmd:makedhcp -n

View File

@@ -2,7 +2,7 @@ start:Full_installation_flat_docker
os:Linux
cmd:copycds $$ISO
check:rc==0
cmd:if [[ "__GETNODEATTR($$DOCKERHOST,arch)__" != "ppc64" ]];then chdef -t node -o $$DOCKERHOST vmstorage=dir:///var/lib/libvirt/images/ && rmvm $$DOCKERHOST -f && mkvm $$DOCKERHOST ; fi
cmd:if [[ "__GETNODEATTR($$DOCKERHOST,arch)__" != "ppc64" ]];then rmvm $$DOCKERHOST -f && chdef $$DOCKERHOST mac= && mkvm $$DOCKERHOST ; fi
check:rc==0
cmd:makehosts $$DOCKERHOST
check:rc==0

View File

@@ -39,15 +39,21 @@ end
start:tabprune_i_auditlog
description:remove the records whose recid is less than the input recid number
cmd:chtab key=auditskipcmds site.value=
check:rc=0
cmd:n1=`lsdef -t auditlog|sed -n 2p|awk '{print $1}'`;tabprune auditlog -i $n1;n1=$(($n1-1));lsdef -t auditlog -l $n1
check:rc=0
check:output=~tabprune of auditlog complete
check:output=~Could not get xCAT object definitions
cmd:cmd:chtab key=auditskipcmds site.value=ALL
check:rc=0
end
start:tabprune_V_n_auditlog
description:remove 3 records from the auditlog table and display the remove records
description:tabprune auditlog -V -n 3
cmd:chtab key=auditskipcmds site.value=
check:rc=0
cmd:lsdef -t site
cmd:lsdef -t site
cmd:lsdef -t site
@@ -57,5 +63,7 @@ check:output=~4
cmd:cat /tmp/result.tmp
check:output=~recid,audittime
cmd:rm /tmp/result.tmp
cmd:chtab key=auditskipcmds site.value=ALL
check:rc=0
end

View File

@@ -46,7 +46,7 @@ check:rc==0
cmd:xcatconfig -s
check:rc==0
check:output=~(Generating new node hostkeys)
cmd:diff /etc/xcat/hostkeys/ssh_host_key.pub /etc/xcat/hostkeysbak/ssh_host_key.pub
cmd:diff /etc/xcat/hostkeys/ssh_host_rsa_key.pub /etc/xcat/hostkeysbak/ssh_host_rsa_key.pub
check:rc!=0
cmd:rm -rf /etc/xcat/hostkeysbak
end
@@ -63,9 +63,7 @@ check:output=~Created xCAT certificate
check:output=~Signature ok
check:output=~OK
check:output!~Fail
cmd:diff /etc/xcat/hostkeys/ssh_host_key.pub /etc/xcat/hostkeysbak/ssh_host_key.pub
check:rc!=0
cmd:diff /etc/xcat/hostkeys/ssh_host_key.pub /etc/xcat/hostkeysbak/ssh_host_key.pub
cmd:diff /etc/xcat/hostkeys/ssh_host_rsa_key.pub /etc/xcat/hostkeysbak/ssh_host_rsa_key.pub
check:rc!=0
cmd:rm -rf /etc/xcat/hostkeysbak
cmd:rm -rf /root/.xcatbak

View File

@@ -197,7 +197,7 @@ sub getConfig
}
}elsif ($type eq "Object") {
##OBJECT BLOCK##
if($line =~ /(\w+)\s*=\s*([:\w\.\-]+)/) {
if($line =~ /(\w+)\s*=\s*([:\w\.\-\/]+)/) {
$attr = $1;
$value = $2;
if($attr eq "Name"){
@@ -592,7 +592,7 @@ sub loadcase
}elsif($line =~ /^stop\s*:\s*(\w[\w\,]+)/){
next if $skip;
$cases[$i]->{stop}=$1;
}elsif($line =~ /^cmd\s*:\s*([\$\w].+)/){
}elsif($line =~ /^cmd\s*:\s*([\/\$\w].+)/){
next if $skip;
$j = $j + 1;
$z = 0;
@@ -740,7 +740,7 @@ sub runcase
$j = 0;
$total = $total + 1;
my $now1=timelocal(localtime());
my $time1=gmtime $now1;
my $time1=scalar(localtime());
log_this("------START:$$case{name}::Time:$time1------");
push @record, "------START:$$case{name}::Time:$time1------";
push @record, "FILENAME:$$case{filename}";
@@ -855,7 +855,7 @@ sub runcase
$j = $j + 1;
}
my $now2=timelocal(localtime());
my $time2=gmtime $now2;
my $time2 = scalar(localtime());
my $diff=$now2-$now1;
if($failed){
log_this("------END::$$case{name}::Failed::Time:$time2 ::Duration::$diff sec------");
@@ -882,7 +882,7 @@ sub runcmd
my $rc = 0;
$::RUNCMD_RC = 0;
my $outref = [];
@$outref = `$cmd 2>&1`;
@$outref = `/bin/bash -lic '$cmd 2>&1'`;
if ($?)
{
$rc = $? ;

View File

@@ -0,0 +1,2 @@
# By default, dhcpd use the ``daemon'' facility. Thus dhcp logs will go here.
daemon.debug /var/log/messages

View File

@@ -252,6 +252,7 @@ exit 0
/etc/logrotate.d/xcat
/etc/rsyslog.d/xcat-cluster.conf
/etc/rsyslog.d/xcat-compute.conf
/etc/rsyslog.d/xcat-debug.conf
/install/winpostscripts
%endif
%defattr(-,root,root)