Commit Graph

829 Commits

Author SHA1 Message Date
daniceexi
56d592c060 fix the defect that getmacs for js22 blade cannot work on 32bit Operating System
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4384 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-14 07:25:05 +00:00
ligc
33f561fc3e fix for bug 2875834: makeknownhosts only replaces the nodes specified with command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-14 06:23:38 +00:00
jbjohnso
3f41092a5b -Implement getmacs to be able to describe common cases of JS blade extra interfaces. Beyond this level of complexity, discovery is needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 21:15:46 +00:00
nott
edd7d19f6c Switch from profile attr to provmethod attr.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 17:28:09 +00:00
wanghuaz
57f0a92902 Set maxssh to 8 to make HW control commands more reliable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 13:37:30 +00:00
wanghuaz
c7c8fc3237 fixed typo error in last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 02:43:01 +00:00
wanghuaz
3cfc361a87 Fixed 2872962
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 02:05:18 +00:00
nott
c31973a5cf Fix get_nim_attr_val #2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4358 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 18:40:07 +00:00
nott
5207c665f5 Fix get_nim_attr_val
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 18:32:55 +00:00
ligc
781c5f27d1 sort the output of lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 08:26:35 +00:00
ligc
1795a0930f fix for bug 2868914: chdef group allows creation of invalid node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 07:41:52 +00:00
ligc
6e5f39d215 fix for bug 2871938: add check for rmdef flags, check node attribute when create dynamic node group
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4337 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-10 07:05:40 +00:00
ligc
dc4d460bd3 fix for bug 2873042: set {}{objtype} before calling xCAT::DBobjUtils->setobjdefs if the group does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-10 03:20:33 +00:00
nott
e1c3d93643 Change filesets attribute to otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-09 18:40:07 +00:00
jbjohnso
cedc11b537 -Fix for breaking ,= and ^= operators in nodech by restructuring the nodegrpch/nodech handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4328 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-08 22:23:10 +00:00
linggao
fbf118ea50 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-07 19:27:48 +00:00
jbjohnso
85c0d184a8 -Fix ESX plugin mismanagement of copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-06 20:47:59 +00:00
jbjohnso
25ba97c977 -Fix more syntax errors in shell scripts related to NODESETSTATE
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-06 16:50:40 +00:00
jbjohnso
7e58e26906 -Correct problem where a return value was not being checked resulting in xCATd potentially crashing on startup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-05 20:48:35 +00:00
jbjohnso
ae1cb4d55b -Be more forgiving of issues at close session time, since a need for retries on close session is more often than not indicative that no response will ever come back.
-Go through the standard number of retries, but do it at one second intervals to get them out of the way faster (in the unlikely scenario that the request was dropped by the ethernet fabric, this should still get the session reaped)
    -Ignore a failure to get a command response for close session
    -The worst scenario that a user is not warned about is the slight possibility that a session slot on the BMC is not freed and instead will consume the slot for about a minute.  Since we try to keep the number of sessions to a BMC down, one consumed meaninglessly for a minute in a rare case is not a huge problem


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-05 15:05:29 +00:00
phamt
1aee33f265 Change scanVM() because the 'id' property in the 'zvm' table is changed to 'userid'.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-03 15:19:06 +00:00
linggao
a8e15167a2 osimage phase3: use osimage table settings updatenode (otherpkgs)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 18:55:54 +00:00
jbjohnso
52a7cd76a3 -Correct scope of previous code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 15:27:59 +00:00
jbjohnso
7ccfab5dd3 -Prune dead code from esx plugin
-Fix profile support to generate and hook into unique target


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 15:20:52 +00:00
jbjohnso
31d979a273 -Restore direct mode operation, but remain defaulting to via vcenter if vcenter is in use
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-01 21:01:03 +00:00
jbjohnso
0f6d150ea0 -Fix bug where cluster support could mistakenly wipe out a cluster completely mentioned in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-01 20:54:11 +00:00
phamt
7743862e8b Check in Perl modules for z/VM support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-01 18:28:00 +00:00
linggao
6cfeda18eb make sure to run next prescripts event if the previous one failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-01 18:26:09 +00:00
jbjohnso
aa2b32ca9a -First pass at vCenter always default and Cluster support, two major things are broken in the very short term:
-Direct hypervisor mode is broke (quick fix, but this commit is already large enough)
    -Stateless hypervisor re-adoption destroys clusters (the area for improvement is noted)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-01 14:35:41 +00:00
jbjohnso
a04ed4be33 -Query new columns from the hypervisor table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 21:59:16 +00:00
jbjohnso
8f888d7181 -Add currently unused method to find a cluster in a vCenter by name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 21:14:24 +00:00
jbjohnso
ee88b149f3 -Change nodech ,= to prepend rather than append the value, making group splice assignment tend to designate the new entry as more important/specific
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 18:32:54 +00:00
jbjohnso
6bc4a63848 -Implement a nodegrpch command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 20:41:13 +00:00
jjhua
ed28e71466 fixed bug 2869633.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 11:41:58 +00:00
jbjohnso
a086b44ec2 -Multiple profile support for esx plugin to allow multiple profiles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-28 21:26:01 +00:00
jbjohnso
1259a105f1 -Implement independent virtual drive sizing and pool reuse in VMware plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-28 18:25:12 +00:00
jbjohnso
f56a76f7d8 -Allow specifying multiple sizes for different virtual drives
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-28 17:59:43 +00:00
lissav
af0a034e90 add check in preprocess for nmap installed, if installed skip hierarchy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-28 17:32:16 +00:00
lissav
2685de1e1a comment out debug messages left in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-28 17:14:07 +00:00
jbjohnso
d33eb736f1 -Update dhcp plugin to properly do pxe when not xnba
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-28 14:07:42 +00:00
jbjohnso
e954e4c684 -Have makeconservercf report error when config is bad instead of writing malformed conserver config files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-26 18:16:26 +00:00
jbjohnso
20bbf94bea -Default to xNBA if PXE plugin is not explicitly called out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 21:19:38 +00:00
jbjohnso
8dcec16ed5 -Correct mistakes in previous re-port effort
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 21:14:48 +00:00
jbjohnso
020209f7e8 -Port in the prescript and osimage support into the newly 'old' pxe support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 21:08:41 +00:00
jbjohnso
77f3598c8f -Bring back the addkcmdline handling at the pxe level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 20:46:26 +00:00
jbjohnso
af98e24170 -Roll pxe plugin all the way back to 2.2 style
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 20:30:05 +00:00
jbjohnso
982ac79304 -Fix xNBA plugin name
-Make nodeset boot when iscsi is indicated invoke hdboot instead of exit


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 20:27:52 +00:00
jbjohnso
39d7f66dd1 -Have xnba move to a plugin to revert pxe to 2.2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 15:55:53 +00:00
jbjohnso
78aa50e52d -Use 'exit' instead of the hdboot directive, as hdboot currently hangs on some
specific configurations


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 15:32:53 +00:00
jjhua
556cffa903 fixed bug 2861052; used runxcmd to instead of runDsh_api() and runDcp_api()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 07:27:04 +00:00