Commit Graph

511 Commits

Author SHA1 Message Date
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
zhanx
56a3c382e7 2832346 mkhwconn/rmhwconn should find CECs more intelligently
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-04 22:44:58 +00:00
jbjohnso
5f8f6ae70e -Implement phase 1 of the DB worker, similar feature/performance with fewer db handles (up to two to accomodate some monitoring framework activity)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3941 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-04 21:10:32 +00:00
zhanx
a46c4c529c Fix defects:2831998 lsconn not working with -V --verbose flag; Change *conn commands to *hwconn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3940 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-04 20:28:03 +00:00
jbjohnso
d9a5adea77 -Initial changes in preparation for db worker thread
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3937 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-04 18:38:08 +00:00
zhanx
8a7d38d30f Fix defect 2832027 rmconn having an issue with PPCconn.pm trying to execute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3936 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-04 18:33:52 +00:00
nott
81485eced5 Temporary fix for perl INC path issue.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 13:07:29 +00:00
wanghuaz
217867e98a fixed defect 2830176 for better msg information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 08:33:06 +00:00
linggao
46c142266d give up pulling dhcp out of pxe.pm and yaboot.pm to prescripts.Otherwise the prescripts code gets too complicated. We'll use site attribute 'dhcpsetup' instead to turn if off if needed. AAsn.pm can also use this attribute to not call makedhcp automatically
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3921 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 05:49:30 +00:00
linggao
70f0218ce0 prescripts support. need more fixes. Does not support service node pool yet. dhcp and begin scripts need to get worked on more.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-03 02:00:13 +00:00
zhanx
311444af09 More code changes to fix bugs: 2829874 lsconn and mkconn not working in 0728 xCAT 2.3 build; 2824604 lsconn reports xCATd:SSL issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-31 21:11:48 +00:00
zhanx
6f5cefd9fb Fix bugs: 2829874 lsconn and mkconn not working in 0728 xCAT 2.3 build; 2826734 lsslp can only write one BPA side into xCAT DB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-31 19:45:28 +00:00
jbjohnso
40ff94aec0 -Remove debug code from Utils.pm change for FQDN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-31 19:20:48 +00:00
wanghuaz
e08beffb10 fixed defect 2819355 to check currstate before rnetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-30 03:37:04 +00:00
jbjohnso
4ea33650c2 -Change determinehostname to only strip if required to get a valid node name. If there is no valid nodename to match, the output of hostname is returned verbatim without domain stripping.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-29 17:43:04 +00:00
nott
0721dc15e7 Add to Perl INC path.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-29 16:54:53 +00:00
lissav
e1515f211a remove Linux check around XML::Simple::PREFERRED_PARSER
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-29 16:09:32 +00:00
nott
d3ebde125a Handle AIX shipping new version of Perl.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-28 17:29:16 +00:00
wanghuaz
0a6dc4ad6e kill child process if xcat command stopped by signal
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-28 07:56:43 +00:00
zhanx
4bbc896185 Additional code change for bug 2824599 lsslp should add more attribute in DB for FSP/HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-27 19:35:44 +00:00
zhanx
6bec9dd95a Additional code change for bug 2824599 lsslp should add more attribute in DB for FSP/HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-27 16:59:24 +00:00
zhanx
d79ae69084 Fix defect 2822229 lsslp should set the correct node name in xCAT DB for BPA; 2824599 lsslp should add more attribute in DB for FSP/HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-27 15:28:11 +00:00
zhanx
a574da32af Fix defects: 2824357 lsslp is providing duplicate records for FSP and BPAs;2824601 lsslp should get correct hostname for BPA nodes;2824605 lsslp -w should update /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-23 20:02:39 +00:00
lissav
44215ca250 remove Contest reference
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-22 13:58:54 +00:00
lissav
a4a74a1f14 put xdcp -s back in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-22 13:34:55 +00:00