Commit Graph

74 Commits

Author SHA1 Message Date
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
lissav
41a911bd46 fix Version Utility
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-13 14:51:26 +00:00
lissav
1aceee43e1 change copy.perl script to copy.sh script to copy keys on the node. Node may not have perl installed. used in xdsh <noderange> -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-11 17:33:58 +00:00
lissav
122dffca3b add copy of the private key to the nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-09 20:27:46 +00:00
lissav
0a35ed1193 fix ssh files are copied to /install/postscripts/_ssh not /install/postscripts/.ssh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-09 18:49:48 +00:00
lissav
bae1e1110a add code to support xdsh -K for non-root ids and not to use xcatbypass
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-04 17:18:44 +00:00
linggao
94ade30137 added support for logging batching events into xCAT DB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-03 17:13:20 +00:00
linggao
71b917124f added eventtype column in the eventlog table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 02:41:02 +00:00
linggao
2b171fcb4d added defspec for eventlog and Util function for logging events into the eventlog table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 18:49:02 +00:00
bp-sawyers
22635b7893 Changed make scripts, build scripts, and Utils.pm so they all get version # from the new Version file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 15:42:14 +00:00
lissav
2cddbeb6de change the setupSSH routine to only regenerate the ssh keys if they do not exist in roots home directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 15:54:57 +00:00
bp-sawyers
f559e23bd4 Changed release # to 2.2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2583 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-08 19:09:44 +00:00
lissav
78dbad9383 fix missing xCAT:: on MsgUtils call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-06 17:58:01 +00:00
jbjohnso
bdfe1bcef4 -Update the versioning in -v to be 2.1.1 in trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-02 18:21:15 +00:00
lissav
2444dcb202 add error return check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-21 12:44:39 +00:00