Commit Graph

2279 Commits

Author SHA1 Message Date
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
jjhua
8465fcb937 add a flag to control the ASMI method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 05:52:34 +00:00
jjhua
175ac19002 1.fixed bug3041906 2. add enableASMI=no to site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 03:30:31 +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
nott
f0d7f88717 fix chkosimage usage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-11 15:35:00 +00:00
lissav
3ae22b59d2 add additional LL requirement to the setup script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-11 13:29:46 +00:00
lissav
583d784e1f add LL DBM setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-11 12:13:37 +00:00
lissav
5b35504606 add LL db creating configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-11 12:04:26 +00:00
vallard
074b5975a7 updated to do mod.tgz during esxi4.1 install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-10 23:04:19 +00:00
vallard
e7eda21182 added xCAT updateflag notification and ssh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-10 23:01:09 +00:00
jbjohnso
2238966cda -Fix nodestat for routed nodes using nmap
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-10 18:57:30 +00:00
jbjohnso
15cee34b33 -Change rpower back to coping with unregistered VMs the way it used to
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7029 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-10 18:22:21 +00:00
lissav
e04429d3d8 fix message spelling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-10 17:28:19 +00:00
jbjohnso
02329afb34 -Streamline rpower operations for faster at-scale operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 21:02:17 +00:00
jbjohnso
7a9a541c26 -Speedup vm views, also fix bug with reparenting vms with large noderanges
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 20:46:36 +00:00
lissav
824694d337 fix message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 20:13:56 +00:00
jbjohnso
b3cd409e87 -Optimize hostview acquisition to speed up operations in the face of vmware infrastructures using vCenter with many hypervisors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 18:43:26 +00:00
jbjohnso
50b73a444e -Fix potential issue where a hypervisor named 'conn' could make for a bad day. Slightly improve some performance by
eliminating string equality checks.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 15:12:05 +00:00
jbjohnso
6a01080492 -Speed up checks for host relocations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 14:29:25 +00:00
wanghuaz
06483aafe0 run xdsh/xdcp with absolute path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 08:05:26 +00:00