535 Commits

Author SHA1 Message Date
zhanx
78075854cc Fix defect 2832802 mkhwconn not properly working with password authentication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-11 10:54:39 +00:00
wanghuaz
28722ca267 fix one issue in the change of changing frame num
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 03:19:54 +00:00
wanghuaz
3e28a93056 fxied one issue in the change of setting the frame num
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-10 02:57:36 +00:00
jbjohnso
1570da4d20 -Workaround the known place where 2.3 can leak memory, put notes in on how
to produce the memleak for future fix instead of workaround


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 20:08:51 +00:00
lissav
a11cbde49d add message when public key is missing in the .ssh directory during xdsh -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 16:49:18 +00:00
lissav
d3d3dc4597 fix grep of /etc/password for home diretory in copy.sh build, to only match on root id not other ids starting with root
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4110 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 14:44:42 +00:00
ligc
a185867673 *def commands support for multiple keys in xcat database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4109 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 09:07:28 +00:00
jbjohnso
43473e700a -Dereference some references before undef, in an attempt to ensure the perl GC can catch more available memory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-08 20:49:48 +00:00
jbjohnso
15f3af3e40 -Make the regex operator in table more picky about syntax, to make a smaller set of data to be ambiguous
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4101 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-04 13:38:44 +00:00
jbjohnso
507446dfe8 -Fix hang when xcatd runs in background mode with stale DB handle fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-03 18:00:47 +00:00
jbjohnso
61ee396f44 -Detect dead database handles and recover (mysql haandles expire in 8 hours by default, for example, see wait_timeout to test with mysql)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-03 16:33:55 +00:00
jbjohnso
298ac895e0 -Fix another scenario where cache was unintentionally living beyond it's accuracy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 17:45:20 +00:00
jbjohnso
b2789bdede -Have cache persist a little longer to improve concurrent NodeRange expansion rather that slow it down
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 17:20:28 +00:00
wanghuaz
f9931a9148 Help msg update for the change of setting frame number
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 16:54:17 +00:00
wanghuaz
7a6a741516 set frame # with rspconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 16:48:58 +00:00
wanghuaz
2be45f7a94 set frame # with rspconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 16:25:46 +00:00
jbjohnso
c8da4f67f2 -Change order of template directive processing to match 1.x for those who rely upon that ordering
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 15:16:05 +00:00
jjhua
e41cb303c2 fix bug 2846629, add user Data::Dumper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-02 10:39:52 +00:00
jbjohnso
b177a9b55d -Termiate a failing client connection sooner (for environments with failed service nodes mainly)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4071 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 18:03:46 +00:00
linggao
fc986a252b removed the quotes for db columns that has the quotes after getting primary key info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-31 19:52:33 +00:00
jbjohnso
95c0a1000d -Fix sf bug 2845378, stale cache data being returned in noderange expansions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-27 19:57:41 +00:00
lissav
8fc6c82fc4 remove -u flag, fix for defects 2844537,2844789, 2845457
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-27 18:22:38 +00:00
lissav
d5ec019f71 Defect 2845457change to support new rsync file syntax, either file1 file2 -> directory or file -> file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-27 16:34:01 +00:00
lissav
491df32fa7 change to support new rsync file syntax, either file1 file2 -> directory or file -> file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-27 16:30:08 +00:00
lissav
3db62d378a allow comments in xdcp rsync input file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-26 14:33:44 +00:00
jbjohnso
ff8e2e21af -Increase db worker queue depth to avoid fatal table access errors
-Increase number of xCAT process slots to 512 from 16
-Increase Listen queue depth of xCAT to 8192 (needs to have proc value for somaxconn upped to actually make a difference)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-22 13:18:55 +00:00
zhanx
c3b58f6151 Add a new key username for table ppcdirect
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-21 06:36:28 +00:00
linggao
974f1dd4b2 bug fix on SQLite problem for getting column info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-20 14:39:55 +00:00
linggao
15dfd3f270 added support1: newly added columns can by any data type now. support2: able to change the primary keys for a table when xcatd starts if the schema chenages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-20 03:26:32 +00:00
jbjohnso
c5aa017fa7 -Add 'genmacprefix' site value to control VM mac address generation
-Move mac address generation code to VMCommon from esx (TODO: xen/kvm as well)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-19 15:14:38 +00:00
wanghuaz
1e7e3317f3 Fixed one typo error for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-19 07:05:13 +00:00
nott
eface98a33 Add "filesets" to the osimage definition.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-14 15:12:28 +00:00
jbjohnso
1aa8107eda -Make DB worker persist in the event of catastrophe and log the catastophre
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-13 14:32:22 +00:00
zhanx
4e79358fc2 fix defect 2835092rspconfig <FSP node> network=eth1,0,0,0,0 fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-13 10:57:13 +00:00
jbjohnso
f688e3f09f -Fix BUG on empty criteria searches
-Accept '=' as a delimeter for convenience (NodeRange will never support assignment of table values, it makes no sense)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-10 21:09:00 +00:00
jbjohnso
82dc8fa9ca -Implement noderange table lookup atoms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-10 21:01:08 +00:00
nott
ff58a80f10 Add get_OS_VRMF & testversion.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 17:46:04 +00:00
jbjohnso
b7986e057c -Document some TODOs to improve noderange resolution performance and add a feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3973 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 16:14:56 +00:00
jbjohnso
f8702e980d -Fix noderange to correctly enable cache for table for db worker and non-db worker modes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 16:02:28 +00:00
jbjohnso
0bc53fc5a2 -Improve client and intra-service node performance on large requests (for example, nodels of 65 thousand nodes used to take 2 minutes and 40 seconds on one particular system. It now takes 14 seconds on that system with this change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 15:58:41 +00:00
jbjohnso
b686ba5a10 -Move more aspects of a Table object to data worker thread, to reduce IPC communication hits
-Fix problem where data worker mode rendered cached operation useless
-Improved performance of data worker IPC communication (one benchmark went from 40 seconds to 2 seconds)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 15:48:38 +00:00
jbjohnso
8172e9e17a -Fix CPU hogging by DB management process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-07 17:04:43 +00:00
jbjohnso
aeb19d7eec -Change path to socket location of DB worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-06 12:58:14 +00:00
jbjohnso
59ad6ec44a -Change init of db worker to return pid
-Change presence of DB worker in ps output to be informative


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-06 12:44:22 +00:00
zhanx
6b7098dfde fix bug:2832766 mkhwconn, rmhwconn, not providing proper usage message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-06 11:22:29 +00:00
wanghuaz
4d41d0a5f4 fixed defect: 2831058. rpower return 0 if error occurs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-06 06:48:11 +00:00
wanghuaz
af248057aa fixed defect: 2824800. sort the output of rscan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-06 03:36:16 +00:00
lissav
536ad3a75f add getSNformattedhash to format the Servicenode/node list into unique service node hash keys for pools
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-05 11:53:05 +00:00
zhanx
a290222c62 Tried to fix bug 2824608 rspconfig should be able to update /etc/hosts for network op. But finally commented the changes, because didn't get a good solution
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-05 11:47:33 +00:00
zhanx
7844d8cf91 Update rspconfig man page, to add network function for FSP/BPA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-05 11:43:46 +00:00