Commit Graph

631 Commits

Author SHA1 Message Date
jbjohnso
a4c1ebcbb2 -Implement KVM offline hypervisor evacuation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4413 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-19 22:47:48 +00:00
linggao
80a1b77f1c updated the description for noderes.monserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4412 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-19 20:06:40 +00:00
jbjohnso
04ab702b86 -Add a hypervisor attribute to replace the use of 'vm.virtflags' for revacuate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-19 18:14:37 +00:00
jjhua
53cba2aea1 Remove or comment out "print Dumper" statements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-19 05:53:17 +00:00
nott
a17d19f319 Create InstUtils.pm module.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-17 13:20:54 +00:00
jbjohnso
cb2bef59b2 -When clearing DB handles, also clear the DB handle list
-Correctly map the database handle per 'realautocommit' (was causing xCAT to be unable to survive even one database disconnect).
-Fix problem where mapping from database handles to dependent objects was not being updated when the database handles changed (was causing xCAT to be unable to survive more than one database disconnect).
-Put in more comments so that people may understand the unusable db handle recovery code


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-16 18:53:28 +00:00
lissav
1535dbea78 fix help syntax sinv
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-16 11:54:26 +00:00
lissav
8d6a575180 fix help syntax xdsh/xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-16 11:45:16 +00:00
linggao
503b5fcfff added more description for nodelist.status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-15 21:02:06 +00:00
linggao
451a5e319a more description on nodetype.provemethod
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-15 20:50:57 +00:00
linggao
ac43dd8cdd man page change for nodeset command to include prescript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-15 18:44:06 +00:00
jbjohnso
081d90972e -Swap default to autocommit to be enabled by default and disable only
when a detected transaction is in progress (SQLite only)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-15 18:32:39 +00:00
zhanx
ca8cfb3ff7 Fix bug 2877233 lshwconn does not show HMC connected to;2837517 rspconfig should not result to Perl syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-15 07:49:19 +00:00
wanghuaz
a693594278 Remove debug code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-15 02:46:16 +00:00
wanghuaz
67c402f39c Make the output of getmacs more clearly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-14 09:06:03 +00:00
jbjohnso
24a4d7b1d6 -More efficiently organize the noderange cache of nodes to speed up large noderange lookups
-Only require one iteration to build group->member hash.  This speeds up:
    -nodeadd when a lot of nodes already exist
    -any noderange with a lot of 'atoms' that aren't nodes


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 20:47:55 +00:00
jbjohnso
e4bd50f5e6 -Fix problem where xfork did not successfully relinquish open db handles (with this change, fuser on a sqlite file, for instance, looks much more correct)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 19:42:14 +00:00
jbjohnso
a2da51211c -Have DB worker release potentially conflicting DB handles on startup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 19:40:51 +00:00
jbjohnso
4fb91472c7 -Implement emulated autocommit for SQLite backend. Mixing and matching autocommit semantics was creating a deadlock. Emulated autocomment does not guarantee rollback to go back as far as one may expect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 19:37:41 +00:00
jbjohnso
80f27be71b -Improve caching algorithms to fix performance regressions on large noderanges incurred by DB worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 16:52:16 +00:00
linggao
c163e912f4 update the description of nodelist.status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 14:51:32 +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
83ef3a7a0e fixed defect 2836729. sort the output of lsvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 08:50:05 +00:00
wanghuaz
c1a87eca58 Fixed defect 2875569
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 07:59:05 +00:00
wanghuaz
f2965109a5 Fixed defect 2840135 that getmacs -F option containing wrong format but not returen error.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 06:02:45 +00:00
linggao
05d658834b fixed a typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 13:31:27 +00:00
ligc
11e9fe107b 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@4348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 07:41:20 +00:00
zhanx
ad72ad371f fix bug 2873512 rvitals ouput on a group not sorted
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4347 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 06:52:43 +00:00
zhanx
0c94f2e78a fix bug 2874268 rvitals lcds displays too much output if no LCDs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-12 06:09:48 +00:00
jbjohnso
8fe6b85410 -Fix for bug 2873054
-Request to noderange to stop actively preserving cache now also has noderange to actively drop any current cache


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-10 14:50:06 +00:00
ligc
4aba90d029 fix for bug 2871459: should not return error message when the table is empty
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-10 01:55:15 +00:00
nott
959ae0d987 Change filesets attribute to otherpkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4333 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-09 18:33:22 +00:00
linggao
cdeb9db913 fixed 'not well-formed...' error caused my ESP chararater passed to XMLin function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-09 17:51:31 +00:00
bp-sawyers
cc05e2710c Turned off some of the more verbose command echo's in the spec files so it is easier to spot errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-08 22:26:16 +00:00
jbjohnso
f1685293c7 -Change MAC autogen code to remove the race condition in the unlikely event that we had parallel mkvm processes pick
the same mac randomly.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4310 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-06 16:13:58 +00:00
bp-sawyers
c0fdf43a50 Cleaned up some msgs during xcat upgrade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4291 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 19:19:26 +00:00
jbjohnso
3d8a45475d -Move rng seeding
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 18:04:43 +00:00
jbjohnso
31288324bd -Reseed random generator to reduce chances of collision (though uniqueness still should be guaranteed elsewhere)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 14:48:26 +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
jbjohnso
4a90af84da -Add preferdirect table column to indicate a preference for not going through a hypervisor management if not required
-Add cluster column to hypervisor table to allow informing underlying virtualization technology of hypervisor groupings.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 21:33:54 +00:00
jbjohnso
712cb4fb4d -In the event of a bug caught by the DB worker, propogate it up to the client rather than having the client mysteriously hang
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 17:42:21 +00:00
linggao
befc4743c4 fix the way the xcatdsklspost file is included in the template file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 17:27:42 +00:00
lissav
44c1d6401d fix missing data from xdsh return
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-30 16:11:56 +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
wanghuaz
aa6e484f6e fixed defect: 2865925
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 11:45:41 +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
ligc
66c9273207 fix for bug 2866597
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 09:49:54 +00:00
ligc
f38e2e552f fix for bug 2867833: wait database initialization in xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-27 03:02:46 +00:00
jjhua
c73b945205 fixed bug 2866697, about the remote ssh connections
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-27 01:24:21 +00:00
phamt
46c711d220 Add a new table called 'zvm' for z/VM support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-25 14:45:45 +00:00