2298 Commits

Author SHA1 Message Date
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
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
lissav
7ae240ad2f move stopxcatd after backup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:59:06 +00:00
lissav
7cba4d28da shutdown xcatdb after backing up the database to avoid error in bypass
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:27:40 +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
lissav
633b42d4f0 add foreign key restrictions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 11:40:51 +00:00
ligc
21e859df62 xcatchroot needs full path when being called in aixinstall.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 05:27:42 +00:00
ligc
268579e2cb IVM support for: rpower,getmacs,rnetboot,rinv
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 03:25:01 +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
nott
3cced2fbb2 fix Cstate request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7132 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 19:04:57 +00:00
lissav
29b7564732 fix example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 16:24:07 +00:00
nott
0d946169c0 pass additional resource attrs to the service node when replicating
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 15:08:41 +00:00
lissav
752cbd0f1a fix generating keys for user wipes out credentials for root
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 11:35:47 +00:00
sjing
226bb0d06d support lslite command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 03:13:29 +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
phamt
4ca5b1d2a5 Handle case where the Linux distro copied is sles[xxx]sp[yyy], where xxx is the version and yyy is the service pack.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 20:57:18 +00:00
lissav
79b21e0b73 fix foreign key example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 16:30:56 +00:00
jbjohnso
d2e7821be3 -Be more picky about the nature of the https server when thinking about credential authorization
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 14:01:14 +00:00
jbjohnso
cb0fefce56 -Add capability to check by https server on a callback_https_port
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7110 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 13:57:56 +00:00
ligc
147284c129 fix for bug 3043019: remove the hardcoded tftpboot in ananconda.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 08:56:31 +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
lissav
fb2648f066 add foreign key stanza
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-16 20:08:47 +00:00
mxi1
e5296f6d57 one bug is fixed for handling subdirectories
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-15 16:15:58 +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
phamt
096339dc5b Changed $propVals to $propVals->{'mac'} because in the if conditional, $propVals can have a value while $propVals->{'mac'} can be null.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 23:14:00 +00:00
jbjohnso
94ba8aedbc -Implement kvm plugin lsvm command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 13:23:19 +00:00
jbjohnso
d85478a0aa -Preserve and use saved XML in more contexts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 12:34:32 +00:00
jbjohnso
936e79a63d -Fix problem where last change was trying to write a processed data structure instead of unprocessed xml to db
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 12:26:17 +00:00
mxi1
359f69fbc4 fix one bug for /.statebackup directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 10:27:29 +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
jjhua
858940b6af fixed defect 3043952
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 04:24:47 +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
vallard
5b395ae747 added a hook for the custom mod.tgz that if its already there not to update it, because it may have other updates in it already
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 22:31:31 +00:00
phamt
878b2bc402 Changed $propVals to $propVals->{'mac'} because in the if conditional, $propVals can have a value while $propVals->{'mac'} can be null.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 19:55:29 +00:00
jbjohnso
b1f691433f -Be extra paranoid about data from table call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 18:55:38 +00:00
jbjohnso
4a086b277b -Fix syntax error in kvm plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 18:34:06 +00:00
jbjohnso
2c6d683048 -Start using kvm_nodedata to retain xml of vms when off
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 18:30:41 +00:00
jbjohnso
74f3d9e3cf -Move the kvm_nodedata table to Schema.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 15:55:31 +00:00
jbjohnso
c7721d058a -Check in a schema plugin for kvm plugin use
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 14:05:12 +00:00
yinle
695cfb693b Fix the defect 3037117: nodeset -v and -h returns nothing; Add nodeset index to handled_commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 09:07:05 +00:00
daniceexi
c2d8fe3420 The code checkin of driver update disk support for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 09:06:31 +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
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