Commit Graph

501 Commits

Author SHA1 Message Date
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
daniceexi
227f6bdcf4 move the getsynclistfile() from Utils.pm to SvrUtils.pm; move the syncfiles() from Postage.pm to syncfiles.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-22 05:59:11 +00:00
nott
82b4625fbd Change the description of the synclists attribute.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3848 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-21 16:46:23 +00:00
linggao
5c0eb55659 get table created when Table->new() is called without -create option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-21 03:27:23 +00:00
zhanx
3ec3088339 CRHS-like function 3rd code drop. Detailed code changes: 1. Fix lsslp problems found in NCSA environment, inlcuding adding more code to better identify nodes with same switch port; adding interval message when discovering; adding flag '-H' for lsslp. 2. Change lsconn to support HMC node range. 3. Change rspconfig to support change FSP nodes to dynamic IP addresses. 4. Fix bug for rspconfig (when running rspconfig to update network configuration for FSP/BPA nodes, it always return fails, though the actual result can be successful.)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-20 18:46:13 +00:00
wanghuaz
f206c9b326 help msg change for getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-19 16:32:07 +00:00
lissav
6bcd2f46c9 fix defect 2823133 noderange expansion incorrect, for example node19+2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-19 13:27:33 +00:00
jbjohnso
b3b14bc299 -Provide an alternative strategy for configuration that allows to accomodate and change existing guest networking targets without changing the vmware guest config
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-17 20:09:05 +00:00
jbjohnso
cf25073e60 -Fix problem where vm.cfgstore was suddenly a required attribute for VMWare guests
-Partial implementation of virtual switch management


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-16 20:43:36 +00:00
lissav
3b2164d292 remove check for Linux to use Simple parse, use it on AIX also
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-16 14:44:50 +00:00
jbjohnso
7a30735cd6 -Correct mistake in Utils.pm checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3814 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-16 14:22:42 +00:00