Commit Graph

79 Commits

Author SHA1 Message Date
ligc
390a5aac46 copy the code from 2.8 to 2.7 to support kdump on SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 06:10:25 +00:00
jbjohnso
7712d54227 For x86, select a faster mechanism for injecting driver disks so that nodeset is significantly faster
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-25 17:48:11 +00:00
wanghuaz
cda0df7b5c Fixed issues in service node pool working with diskful and diskless installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 07:20:41 +00:00
jbjohnso
4a5773f139 Fix SLES driver injection when used on a noderange so that more than first node gets correct arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-18 16:18:39 +00:00
jbjohnso
d39e110af8 Finish per-node/group tftpdir for NAS mount point managed sync up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-15 21:04:42 +00:00
jbjohnso
e65b93e3ba Change sles plugin to default to quiet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-22 15:50:35 +00:00
jbjohnso
2855558c34 Have SLES plugin implement the same install server default as new RedHat behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-21 16:14:12 +00:00
mellor
7c89d073b0 use getNodeAttribs instead of getAttribs for statelite.mntopts to handle nodegroups in statelite.node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 13:00:18 +00:00
daniceexi
8eed74d183 defect 3374036: change to get the path of rootimg from osimage table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-28 10:21:12 +00:00
daniceexi
7529e736f3 defect 3370506: make copycds command to generate the osimage obj for the stateless and statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-21 06:26:13 +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
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
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
daniceexi
45372b5a4b defect 3297886: fix the issue that handling the variable in the dir of statemnt attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-10 11:32:51 +00:00
mxi1
e352f73e51 for defect 3293662, the "nodeset statelite" command will detect the rootfstype attribute automatically for both sles and redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-09 02:45:24 +00:00
mxi1
b11687c421 the code to enable statelite semantics on top of ramdisk is here:
there's one new attribute called "rootfstype" for the osimage;

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-06 06:54:06 +00:00
mxi1
3a928b23b7 for defect 3090498, remove two unused variable in sles.pm;
for defect 3091772 and 3091775, two errors in sles genimage.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-21 08:02:24 +00:00
mxi1
793f736a83 for defect 3089649, 3089643 and 3089635
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-18 10:13:44 +00:00
linggao
e700e1a6fb made the nodeset work with old images, backward compaitible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-22 15:21:16 +00:00
jbjohnso
f624fca9a4 -Skip attempt to manually do BOOTIF on x86 SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7566 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-21 20:47:47 +00:00
mxi1
444bdd0b8e the code change for genimage enhancement is here
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 09:54:47 +00:00
ligc
366020edfa fix for bug 3052910: add more info when can not get template file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 06:04:23 +00:00
daniceexi
24fd95b6e7 Create the temporary directory for the driver update disk with ramdom dir name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-23 08:00:51 +00:00
ligc
2d1cb4d54e set the netdevice installnic or primarynic, instead of the mac address, if the installnic or primarynic is set to keyword mac then the netdevice will be the mac address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 05:22:41 +00:00
daniceexi
07d8cdfacb The code checkin of driver update disk support for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 09:05:22 +00:00
linggao
e0902c9f69 bug fix for #3040277, moved the substitution of some INCLUDESs to Template.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-06 14:22:28 +00:00
linggao
619a844bc3 package remove support for SLES autoyask configuration file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-04 19:42:56 +00:00
linggao
25507960cd support patterns for updating sles os packages in updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-30 20:20:51 +00:00
linggao
d249091d77 updating os pkgs using updatenode: sles full install support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-27 18:16:27 +00:00
jbjohnso
8e85a8640c -Change version detection semantics to pick up sles11.1 correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-25 15:29:28 +00:00
jbjohnso
d76eacde2d -Revert sles yaboot overwrite with functional yaboot-xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-25 13:29:24 +00:00
ligc
dcd5e5d318 ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 09:16:24 +00:00
cjhardee
f836cf43e7 Removed duplciated functions in litetree, sles and anaconda modules and placed them in SvrUtils per feature request 2991341
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-04 14:24:08 +00:00
jbjohnso
e213cb0f1c -On x86, have a BOOTIF= variable available, and default to using it where possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-03 20:37:39 +00:00
mxi1
b5a12e4824 change one typo in sles.pm, and also make the code tidy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-27 11:57:04 +00:00
mxi1
d23146420a -defect 2988177 is fixed;
correct the method to detect servicenode, and 
update the method to handle variables in statelite table


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 10:31:23 +00:00
mxi1
1d66f1d241 update the usage infor for the image name for statelite;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 05:54:35 +00:00
mxi1
2ddad2d1df if the nfs directory is set on the service node, but is not added into /etc/exports,
then will be added into /etc/exports when running "nodeset <nr> install";


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-07 06:16:51 +00:00
mxi1
6126529d5a Added hierarchy support for statelite;
It works for both redhat and sles. 


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-02 09:19:02 +00:00
mxi1
54d66d2c32 one min error for perl variable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-10 09:46:56 +00:00
mxi1
552beafb92 -make the error message more clear for statelite mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-04 08:28:28 +00:00
jbjohnso
5a96c881ef -Restore service pool dynamic load balancing behavior, I think
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-03 14:24:27 +00:00
ligc
139f1c0303 primarynic and installnic can be set to mac address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-03 03:28:18 +00:00
mxi1
b706f06d54 the value of XCAT= in kernel booting parameter for statelite mode depends on the xcatmaster value in noderes table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-01 03:18:05 +00:00
mxi1
fa8c8f75f8 -add support for the statelite table for sles and redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-26 07:14:59 +00:00
linggao
2d909fef9d more support for statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 18:39:56 +00:00
linggao
cba42170fe more statelite work for SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-11 02:24:48 +00:00
mxi1
39b391059a -when setting up diskless/statelite sles11 system, yaboot also needs to be copied from the installation repository
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 09:05:42 +00:00
mxi1
4b191ea471 -bug 2935472 is fixed; for sles11 sp1, yaboot will be copied from the installation repos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-28 08:03:19 +00:00