mellor
ab5b2ca9df
bundle file and pkglist updates to automatically install perl-DBD and ODBC rpms on service nodes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-06 19:05:26 +00:00
phamt
f143dae32f
Added network drivers for s390x. Change nodeset command for zVM to handle the new name of initrd-statelite.gz.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-04 16:12:34 +00:00
mxi1
152777a64e
update the code to handle the kernel in genimage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 09:09:50 +00:00
mxi1
9ce6102a4a
for defect 3072164,
...
move the code related with kernel selection out of "unless($onlyinitrd)" block.
the code for sles and redhat is all udpated.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-25 09:54:06 +00:00
jbjohnso
ed66c9013c
-Fix errors in BOOTIF handling and RHEL5 stateless/statelite image network bringup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-22 15:08:16 +00:00
mxi1
8b22241384
The litefile options have been updated to what we wished in design;
...
also the documents related with "statelite" and "genimage" are updated;
the description for "litefile" options are updated in Schema.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-20 17:16:25 +00:00
linggao
d3b2c73a23
bug fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 18:12:25 +00:00
linggao
eabd2ed67d
bug fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7506 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 17:33:51 +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
mxi1
a6f6a92f56
one typo in rc.statelite is fixed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-14 09:25:43 +00:00
mxi1
18ba59ac23
rollback the Schema.pm, xcatroot and genimage to r7384
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:54:48 +00:00
mxi1
8acae38e0e
the code for updating linuximage and osimage tables is completed now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:20:27 +00:00
mxi1
1e087336bf
change the policy to update the tables
...
many variables are added
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:19:50 +00:00
mxi1
74b5516de5
formatting
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:19:11 +00:00
mxi1
d015c002e6
added the code for updating linuximage table in genimage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:18:24 +00:00
mxi1
66c6d5fedd
mkinitrd_dracut and mkinitrd can generate two different initial ramdisks, one is initrd-statelite.gz, the other one is initrd-stateless.gz
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:17:39 +00:00
mxi1
cd9ad4b94f
nodebootif, otherifce, permission are added into Schema.pm;
...
change the code to mkinitrd() and mkinitrd_dracut()
what to do next is to update the linuximage table in genimage code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:16:58 +00:00
mxi1
cb923e17c8
update the sample data for rhel5.x,
...
also fix one defect when the litetree table is empty
also replace "hostname -s" with "hostname" on redhat5.5 of ppc64 platform
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-07 12:16:52 +00:00
mxi1
246e52bbf5
for defect 3058180,
...
"-k <kernelver" works well for redhat right now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-06 07:04:26 +00:00
lissav
f8fb4ce965
fix paths that point to incorrect arch
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 15:10:19 +00:00
mxi1
7fe5f0716b
In the postinstall files, I comment all the code for handling /etc/fstab,
...
instead, I add the code into the genimage code,
the code has already been in genimage code, but not completely.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 08:29:52 +00:00
mxi1
0feee7a7b8
update the sleep time from 20+random%30 to random%50;
...
and if it can not get the litefile table or litetree table from xCATd on the management node, it will fail into shell, and also echo one error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 03:08:52 +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
jbjohnso
47c6322b87
-More IPv6 stuff for esxi (implement prototype DUID-UUID)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 13:04:40 +00:00
jbjohnso
751b49dc62
-Try to do DHCPV6 and V4 by default
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 16:02:04 +00:00
jbjohnso
e43e735b8f
-Splash didn't fit
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 15:30:23 +00:00
phamt
52fdb2a246
hostname -s
will not work on boot for SUSE nodes. Added conditional statement to use hostname
if it is a SUSE node.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 15:27:30 +00:00
jbjohnso
f18d074ba0
-Change the splash
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 15:14:54 +00:00
mxi1
67126f0ad2
fixed on defect on persistent*) option
...
when one file/directory is copied to the persistent directory, need to check whether the parent directory exist in the persistent directory or not.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 14:42:31 +00:00
jbjohnso
64e6de14b5
-Enable TSM and show a little xCAT message on VTY1
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 14:40:41 +00:00
jbjohnso
7fd329602e
-Only enable ipv6 in esxi 4.1.0 for now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:18:23 +00:00
jbjohnso
769e08fca4
-Auto-enable ipv6 in esxi
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:15:57 +00:00
phamt
5bc53f2fe4
Fixed error in rc.statelite: /sysroot/etc/init.d/statelite: line 326: [!: command not found
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 01:29:28 +00:00
phamt
aaa6317e03
Handle case where the Linux distro copied is sles[xxx]sp[yyy] (e.g. sles11sp1), where xxx is the version and yyy is the service pack. In the case above, the genimage command will not recognize the Linux distro and give an error.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 23:35:09 +00:00
mxi1
021457531b
from now on, the entries in "litetree" table are no longer restricted to use different mnt point name; for example,
...
The "litetree" table has the following entries:
"1","ALL","192.168.11.107:/test/$node",,
"2","ALL","192.168.11.108:/test/$node",,
before the code is checked in, if you run "litetree <nodename>", you should get one message like this:
<nodename>: 192.168.11.107:/test/<nodename>
# 192.168.11.107 and 192.168.11.108 both mount /test. This not supported.
After the code is checked in, there will be no any error/warning message about the entries in litetree table.
Accordingly, the naming of mount points on the compute nodes are updated to "/.statelite/mnt/<nfs server ip>/<nfs directory>/" from "/.statelite/mnt/<nfs directory>/".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 02:57:52 +00:00
mxi1
92b99d0a9d
fix one bug for "FindFile()" function in rc.statelite
...
now, "ls -A ${path}|wc -l" is used to judge whether one directory is empty or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-15 16:06:23 +00:00
mxi1
c9f074bb4d
in order to support diskless SLES11 on P7, all the file in /lib64/ will be copied to /tmp/initrd.$$/lib64/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 09:09:06 +00:00
mxi1
a58b3eee52
bug 3042361 is fixed;
...
And also, added the code to retry if the "litefile" or "litetree" command gets nothing from xCATd on MN/SN;
use "tcp" as the default nfs option instead of "udp"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 02:42:39 +00:00
daniceexi
01b40469c3
The code checkin of driver update disk support for Linux
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 09:06:12 +00:00
daniceexi
a2b682832e
The code checkin of driver update disk support for Linux
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 09:05:51 +00:00
mxi1
fd6fcab6e7
increased the retry times;
...
replace udp with tcp as the default nfs options;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 03:24:40 +00:00
daniceexi
b02e2702c6
defect 3034629: make the files in fedora/dracut links to rh/dracut instead of linking the directory directly.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-26 10:19:15 +00:00
daniceexi
bad5e5db4c
rpm cannot handle symbol link directory. Add the symbol link in spec file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-26 09:26:18 +00:00
mxi1
4f80ea942c
"cp -a" can't copy the files with "." as the prefix,
...
and "cp -r -a" can do it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 11:05:38 +00:00
mxi1
461c236542
for defect 2989912,
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 10:10:47 +00:00
mxi1
ec11964907
for defect 3031489,
...
expr is not installed on redhat6 by default, so I removed expr form statelite script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 08:31:42 +00:00
jbjohnso
3ac28157fe
-Fix syntax error in imgutils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-16 17:18:21 +00:00
jbjohnso
538321af59
-Add screen to RHELS6 KVM profile for sake of rcons
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-16 17:17:53 +00:00
jbjohnso
1c9077e86b
-Rename the kvm rhels6 package list file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-16 17:17:28 +00:00
daniceexi
270c172a9a
add the dracut directory for fedora
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 11:57:16 +00:00