Commit Graph

649 Commits

Author SHA1 Message Date
wanghuaz
d9ba1cc8e8 Remove the end sequences which makes issues if the input containes of ~
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 05:49:11 +00:00
daniceexi
61b197be05 defect 2888509: add the blade specific flags in the usage and manpage for rinv command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-04 03:43:59 +00:00
nott
551e8c23ff Add several more subroutines.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-02 19:16:13 +00:00
linggao
3707ec41b5 fixed commit error for table creation on SQLite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-29 16:24:04 +00:00
linggao
b2b42e2844 removed unnecessay table.commit calls for def command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-28 20:03:35 +00:00
zhanx
c48d753668 Fix bug 2884407 lsslp -i -w FSP should not reset previously defined hcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-26 13:46:52 +00:00
ligc
7ad4abe8f7 fix for bug 2844957: wait for clisock to be available in dbc_submit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-26 09:56:54 +00:00
ligc
1fa38e9797 undo the last changes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4446 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-26 09:53:35 +00:00
ligc
1c0226b313 fix for bug 2844957: wait for clisock to be available in dbc_submit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-26 09:46:03 +00:00
phamt
d5cf990b16 Changed HCP API name for getting user entry.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-23 19:26:52 +00:00
wanghuaz
0ddccda28f Fixed defect 2883647 that one global variable is wrongly used in xdsh to IB switch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-22 12:49:48 +00:00
phamt
00461de0b4 Update z/VM code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-21 18:03:40 +00:00
jbjohnso
df9b3c3b16 -fix mistake in _clear_cache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4432 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-21 16:31:53 +00:00
jbjohnso
4dbf2cf7fd -Clarification on when nodehm.cons may default to nodehm.mgt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 15:59:19 +00:00
lissav
af944b2e8b fill in ?? and other fixes for 2878877 in the Schema definistions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 14:57:12 +00:00
lissav
cfdb01d3c8 fill in ?? in the Schema definistions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4424 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 14:50:24 +00:00
daniceexi
038a7f43dd Defect 2879279: supports the -d for blade node and restrict the invalid flags
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 14:39:13 +00:00
zhanx
cadaa488f2 2882115 lsslp should uses predefined BPA/FSPs nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 11:31:17 +00:00
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