Commit Graph

484 Commits

Author SHA1 Message Date
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
daniceexi
e80c6afadb support to use the osimage.synclists to get the synclist file for the aix node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-16 14:16:04 +00:00
lissav
93f9ad6e90 fix error message noderangex
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 19:33:01 +00:00
lissav
c9ba3224f1 update to use _xcatpreprocessed variable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 19:25:15 +00:00
ligc
9ddf4569e3 fix for bug 2821739: check the whether the grptab is null before using it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 18:20:16 +00:00
daniceexi
677047fe75 The code drop of Syncing File function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 13:08:51 +00:00
lissav
9e54348c3e remove resolve and exclude hostname code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 12:48:05 +00:00
wanghuaz
a2bc5a0dd8 use arp protocal to get the mac address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 12:16:48 +00:00
wanghuaz
5687308766 if -d specified, don't write mac to database
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 10:16:13 +00:00
jjhua
116368143d move the special case for rflash from PPC.pm to PPCrflash.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 09:15:29 +00:00
jbjohnso
7d52f64508 -Fix Schema typo in hypervisor table definition
-Fix problem where VMware commands would fail if hypervisor table is not defined


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-13 19:48:34 +00:00
jbjohnso
09c0efb6ce -Merge in CRI submitted fixes and partial implementation of cfgdatastore
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-13 18:04:39 +00:00
jbjohnso
e38a8fbe3c -Support diskless guests by using the cfgdatastore attribute if defined allowing storage to be blank
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-10 19:08:06 +00:00
linggao
a525edd2fc moved the xCAT postscripts to init.d process for full install for SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-10 18:34:09 +00:00
lissav
529e858d84 add check if dcp -i chosen on AIX, exit with error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-10 14:18:46 +00:00
lissav
7a5f105a2b remove host resolution, go with input host list and let remote shell do the work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-10 11:56:19 +00:00
jbjohnso
b5387768f5 -Update schema to allow support for cfg-only datastores in ESX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-09 19:15:42 +00:00
lissav
2aa564bed9 fix rsync path problem on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-08 11:13:57 +00:00