Commit Graph

88 Commits

Author SHA1 Message Date
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
bp-sawyers
d17ea4a3f5 Cleaned up the output of the service start/stop on linux (because I'm OCD)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 14:09:12 +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
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
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
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
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
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
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
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
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
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
zhanx
649845721b CRHS-like function code drop: change makedhcp to support AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-07 02:07:30 +00:00
ligc
d07e4f6e5c selection string code updates based on review meeting comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-06 09:45:22 +00:00
ligc
c3ccf97554 automatic retry: change sleep 60
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-03 09:09:00 +00:00
ligc
e05432da84 automatic retry: initial code drop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-03 08:56:14 +00:00
ligc
1b72ba40b7 *def commands selection string syntax change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-30 09:47:48 +00:00
jbjohnso
648fb472e3 -Create xNBA bootstrap config files for nbfs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-26 19:29:01 +00:00
jbjohnso
c43e7c9c8c -Add convenience functions for lock management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-26 14:45:50 +00:00
daniceexi
a9e38189f3 Code drop for the Syncing file feature to support that sync file to the root image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-19 08:32:47 +00:00
daniceexi
05c9e4b58f The first phase code drop for CFM like funtion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-04 15:33:44 +00:00
lissav
932c01724b tell them to run xcatconfig ( no force ) after error in critical file check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3338 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-11 13:02:34 +00:00
lissav
1ba8689d21 hostkey check must be in both the /install/postscript/hostkey and the /etc/xcat/hostkey directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-11 12:27:30 +00:00
wanghuaz
38cec77d7a Fixed bug: 2767246, use get_serviceNode routine to get the service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-28 09:10:19 +00:00
jbjohnso
a841e654d5 (comments apply to 3214 and this one ,accidental 3214 checkin)
-Allow getAllNodeAttribs to return in a hash organization through a new argument
-Have nodeonmynet return true for any 'remote' node (makedhcp/nodeset fix for proxied networks)
-rbeacon without argument now presumes stat for blades
-KVM support now auto-generates as many macs as required to have a mac per nic
-KVM plugin tracks and avoids collision of macs among the set xCAT manages



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-17 20:29:52 +00:00
jbjohnso
078aca4c5c -Correct typo in a SLES11 template.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-17 16:35:54 +00:00
zhanx
dfe3656113 Fix a problem in sub toIP, which can cause xcat commands report 'Cannot resolve <node>' occasionally
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3110 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-07 10:03:58 +00:00
lissav
f5eacd1462 cont 2728852 cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-05 12:24:59 +00:00
lissav
24a734e996 fix for tracker defect 2728852, xdsh -K only updating the first node on the list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-05 12:18:17 +00:00
lissav
eaeb3d611f first installment of code to support ssh key setup for non-root users
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 15:42:59 +00:00
jbjohnso
56debd0d4b -Change getHomeDir to tolerate more situations, not spawn a subprocess, and get current user home directory if no user specified.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 14:13:09 +00:00
lissav
16ccb564a4 checkCredFiles additions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 12:09:22 +00:00
lissav
fa64f6765e add new checkCred routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 19:25:31 +00:00
linggao
529660fe6a removed dependencies on the xCAT-server package from perl-xCAT package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-20 21:36:49 +00:00
lissav
fd91e51343 add osver routine to return the Linux os and version you are running on
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-18 12:07:50 +00:00
lissav
7e5fa15591 change processing in startService to work with xcatd reload option on Service nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2913 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-16 12:50:22 +00:00
lissav
94ef48d536 remove value check, if attribute value was 0, then check was failing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-12 17:54:44 +00:00
lissav
42c37fc4d5 add comments to my_ip_facing
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-12 15:41:11 +00:00
linggao
750dd3c270 set MASTER to correct nic in Postage.pm to support service node pools
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-11 17:22:43 +00:00
lissav
8ea0b8d20c have get_ServiceNode check fro : delimited list in noderes.monserver,etc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-09 17:37:21 +00:00
lissav
1383adcd48 change get_ServiceNode to use getNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2831 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-03 19:39:17 +00:00
lissav
d2cc1c69fd merge all service node plugins into AAsn.pm and update Utils.pm for support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-02 14:27:10 +00:00
linggao
47386fb1d3 added a function to compare the version numbers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2814 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-28 17:05:34 +00:00
lissav
4e50aab5b7 fix xdsh -k hierarchical
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-18 19:03:45 +00:00