Commit Graph

2149 Commits

Author SHA1 Message Date
wanghuaz
d072b35c53 omapi now is supporting hfi hardware type. we direct set the hardware type from omapi instead of change the lease file manually.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-30 08:14:24 +00:00
yinle
873cdef963 Fix bug 3337415: lsslp -i <Svlan> should only provide IPs back in Svlan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-30 02:36:39 +00:00
jbjohnso
72f0ae7b4f Forbid removing all /etc/hosts entries from DNS with makedns -d as it pretty well corrupts most configs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-29 17:57:25 +00:00
jbjohnso
89743f5fbc Provide user way to specify manual use of fping to allow workaround for RHEL 6.0 bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-29 12:03:28 +00:00
angli-xcat
00f535776c To make the code easier to maintain we decided not to select autoyast config template file (compute.sdk.sles11.tmpl/compute.sles11), instead if the user want to do a SDK included full install, he should prepare a customized template from compute.sdk.sles11.tmpl, and copy it to /install/custom directory.
This is for SLES 11 SP1 SDK DVD support (Patch 1)

====================================================================
Patch Reason:   Design changed, To make the code easier to maintain 
                we decided not to automate select autoyast config template file
                (compute.sdk.sles11.tmpl/compute.sles11), 

Patch detail:   If the user want to do a SDK DVD included full install,
                he/she should prepare a customized template originated from
                compute.sdk.sles11.tmpl, and copy it under /install/custom
====================================================================

====================================================================
Target Dist:	SLES 11 SP1, for both full install and statelite install
Aim:		To enable users to install packages from SDK DVD during installation
user impact:	If the user add packages in .pkglist files, he/she should first do 'copycds' using SDK DVD iso.
                For full install, the user should prepare a .tmpl file for autoyast
By-effect:	N/A
Limitations:	2nd installation DVD and 2nd SDK DVD not supported, both carries source packages. 
                It seems they are not recognized by autoyast, and it's of no use to install sources pkgs on CNs.
====================================================================

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-29 10:03:58 +00:00
angli-xcat
03533e3102 This is for SLES 11 SP1 SDK DVD support (Patch 1)
====================================================================
Patch Reason:   Design changed, to minimize risk when doing a regular 
                SLES11SP1 full install without SDK DVD copied.

Patch detail:   If we do a full install for SLES11SP1, and previously
                we did "copycds" with SDK DVD, we use compute.sdk.sles11.tmpl,
                otherwise use compute.sles11.tmpl.
====================================================================

====================================================================
Target Dist:	SLES 11 SP1, for both full install and statelite install
Aim:		To enable users to install packages from SDK DVD during installation
user impact:	If the user add packages in .pkglist files, he/she should first do 'copycds' using SDK DVD iso.
By-effect:	N/A
Limitations:	2nd installation DVD and 2nd SDK DVD not supported, both carries source packages. 
                It seems they are not recognized by autoyast, and it's of no use to install sources pkgs on CNs.
====================================================================

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-28 09:28:21 +00:00
sjing
d9e88fa588 makedns -d must be followed by noderange.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-28 09:07:53 +00:00
xq2005
ddced88dba support provision linux for system x/p on nodes page
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-28 08:37:16 +00:00
yinle
9ba70e2b93 set hmc as 'ppc' in nodetype.nodetype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-27 13:05:02 +00:00
angli-xcat
4a049ff09f Yum.pm should be invoked only when we use rhels5 medias for "copycd" command. In case of multiple unexpected errors when using other distributions.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-27 09:29:27 +00:00
wanghuaz
9e7eb513e5 Fixed the issue that on Power775, kdump kernel size needs 256M, increased the default size on RH
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-27 08:22:26 +00:00
angli-xcat
04cb7483c6 This is for SLES 11 SP1 SDK DVD support
====================================================================
Target Dist:	SLES 11 SP1, for both full install and statelite install
Aim:		To enable users to install packages from SDK DVD during installation
user impact:	If the user add packages in .pkglist files, he/she should first do 'copycds' using SDK DVD iso.
By-effect:	N/A
Limitations:	2nd installation DVD and 2nd SDK DVD not supported, both carries source packages. 
                It seems they are not recognized by autoyast, and it's of no use to install sources pkgs on CNs.
====================================================================

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-27 03:46:29 +00:00
jbjohnso
43c6b35704 Further rectify forced migration error handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-24 18:33:04 +00:00
jbjohnso
b376bf0b70 Further rectify forced migration error handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-24 18:29:12 +00:00
jbjohnso
9da0c8629c -Reduce severity of rmigrate -f source not being available
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-24 18:25:46 +00:00
yinle
e4c549f4b8 modify --vpdtable output the stanza file format data.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-24 09:24:13 +00:00
jbjohnso
d56a999b4a Dramatically speed up rmvm for lots of KVM virtual machines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 13:58:40 +00:00
jbjohnso
ad93e349d9 Speed up mass-scale KVM VM adoption
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 13:44:24 +00:00
sjing
a854098a7d do not need message for localhost.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 07:39:43 +00:00
sjing
9a116c59ad exclude the nodes not belong to any nets defined in networks table, and add some messages whick is useful in scaling cluster.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 07:10:36 +00:00
daniceexi
e3424dfe9e defect 3323703: fix the issue in the verbose message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 06:31:43 +00:00
linggao
7260f1697a fix defect 3323266
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 20:38:25 +00:00
jbjohnso
f506499ae1 Strip out expensive cached XML data rettrieval if doing lsvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 19:07:40 +00:00
jbjohnso
8c14e5967d Skip expensive table lookup for trivial lsvm case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 17:44:07 +00:00
jbjohnso
6856e705db Use XCATSITEVALS instead of slower table lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 17:29:43 +00:00
jbjohnso
8a04a0ce40 -Reduce kvm supervisory process load by stopping what amounts to a busy wait when child is done sending messages up
-Eliminate call to create a new vm table object in kvm.pm, when it's usually not needed, move to create only when needed.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 15:23:06 +00:00
sjing
8b7074745c return after usage display.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 03:33:51 +00:00
yinle
52a1e4c5ff modify the nodetype.nodetype for lpar node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-21 13:46:56 +00:00
yinle
af5c3e578b fix a mistake about the mac address formate in AIX system
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-21 13:16:59 +00:00
yinle
441124f457 Fix bug 3184683:makedhcp -a shouldn't return error with nodes doesn't reach
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-20 14:41:28 +00:00
yinle
8b902c9bc2 Set right nodetype.nodetype, ppc.nodetype and nodelist.hidden to the nodes' definitions.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9861 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-20 13:49:52 +00:00
yinle
b06fdb8519 Add check for avoiding warning messages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-20 13:40:59 +00:00
yinle
7ad510c9fd Fix bug 3316168:xcatsetup->genrate incorrect amout for entries ,3314248:xcatsetup->design->if the ip address is not xxx1 , 3314204:xcatsetup->design->could config the BPA one port for side ; Modify the nodetype definition; Add the sfp attribute to CEC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-20 08:51:17 +00:00
jbjohnso
212ec6ecec Workaround issues when getipaddr returns undefined value in ddns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9827 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 13:45:21 +00:00
lissav
5b26f94f27 fix defect 3313824, add version to lscatd -a
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 12:57:50 +00:00
daniceexi
e424d5ee5a code drop for SL6 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 12:37:23 +00:00
angli-xcat
679df9febb This is to enable client to indicate options when mounting persistent directories on statelite(nfs/ramdisk) CNs, if not, "nolock,tcp" will be used as default options. This implementation aims for SLES11.
client can revise the statelite table to benefit from this, like:

#node,image,statemnt,mntopts,comments,disable
"935n02",,"192.168.0.244:/tmp","soft,timeo=200",,

------------------------------------------------------

Another change in sles.pm: we do insmod for net interfaces (ibmveth, ehea, etc...) after all other modules, to avoid failure when do 'netstart' during installation.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 03:06:56 +00:00
ligc
1ce7d0080f fix for bug 3286305: print warning message when no boject is provided
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 00:50:26 +00:00
ligc
d8bcedffa8 fix for bug 3266971: set default boot interface eth0 for SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 00:47:35 +00:00
ligc
99943f735b fix for bug 3299823: <xcatmaster> gateway support for xcat2nim -t network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 00:42:45 +00:00
ligc
da15d75ae4 fix for bug 3299844: add -t node as default value for lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 00:41:05 +00:00
ligc
38e1f1d9ac fix for bug 3308305: check the unnecessary arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 00:38:49 +00:00
yinle
bebd7d4649 Fix bugs:3298185:Need parameter check for lsslp 3316176:rspconfiig error:read host table written current IP by lsslp 3316101:lsslp cannot write mac table on AIX platform 3316084:rspconfig node --resetnet can't work with sigal node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9807 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-15 15:42:33 +00:00
linggao
f871ecbdad support arguments for postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-15 14:09:46 +00:00
jbjohnso
045c7ba250 -Have rinv -t attempt to resync vm.storage/vm.cfgstore in xCAT table in VMware case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-13 17:30:48 +00:00
sjing
d977ef6b32 Convert the <xcatmaster> keyword to SN's interface as known by compute node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-13 03:58:36 +00:00
yinle
469d4b2e34 fix bug 3314338 : "rspconfig frame --resetnet" cannot work in my HW env
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-13 02:34:39 +00:00
jbjohnso
469654a441 Fix dhcpd.conf mistake with ddns-domainname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-10 17:59:30 +00:00
jbjohnso
54cdb92978 -Add chhypervisor to manage vCenter enter/exit maintenance mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-09 20:59:43 +00:00
jbjohnso
6bbbc4a0b4 Fix register vm to correctly place on a requested host
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-09 20:16:23 +00:00