Commit Graph

115 Commits

Author SHA1 Message Date
daniceexi
272227fbf2 defect 2947777: add the subroutine getTftpDir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 08:49:37 +00:00
daniceexi
6401ea3851 defect 2946395: add subroutine getInstallDir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 06:51:25 +00:00
daniceexi
d3e78d2da1 2946433: add customized install dir location
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 06:41:20 +00:00
lissav
01d96e7664 remove all commented out code and check to see if tmp directory already exists
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-21 18:00:44 +00:00
lissav
1dd396eb7e fix xdsh -K for non-root user with mounted home directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-21 17:46:20 +00:00
cjhardee
a8dc249d3b Added a check for an uninitialized OS to fix the following message:
Use of uninitialized value in string eq at /opt/xcat/lib/perl/xCAT/Utils.pm line 3331.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-15 15:36:07 +00:00
nott
40ba8471c1 Added CALLBACK,VERBOSE support for runcmd and runxcmd.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 16:17:28 +00:00
daniceexi
1eb3b60e50 move the function get_mac_by_arp from Utils.pm to SvrUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5160 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 09:31:40 +00:00
lissav
38972e60e3 fix all warnings in routines add use warnings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 18:29:12 +00:00
lissav
97edcc23e4 fix more warnings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5146 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 14:45:51 +00:00
lissav
f01ac0f74c fix defect 2929715 too many mys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 13:40:09 +00:00
lissav
b3b7a06d51 fix missin #
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 13:25:45 +00:00
daniceexi
8df1e87c62 defects: 2940290,2940304: move the getmacs --arp function to Utils.pm. Make the --arp supported by blade server and changed the format of MAC without : for aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 10:24:13 +00:00
wanghuaz
7f9e7022e1 Part code for class ready feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 08:29:06 +00:00
lissav
86a676d09f add comment to runxcmd about file expansion using glob
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-02 19:47:52 +00:00
lissav
83760ebf5d remove id_dsa generation and creation of authorized_keys2 when running xdsh -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 18:51:12 +00:00
ligc
4bd599d58c add full_path subroutine in Utils.pm, for relative path support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 08:59:52 +00:00
vallard
84cbeb2eb4 updated to fix xnba problems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-20 02:14:46 +00:00
lissav
d482c3c2ac add get_DBName routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-19 18:48:23 +00:00
vallard
84a9c3fe98 updated to support remote/distributed networks for DHCP relays or remote flags in networks table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-18 20:36:08 +00:00
lissav
5eeb229301 force a build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4754 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-10 18:51:03 +00:00
jjhua
366fdd26a0 HMC alternative: FSPinv.pm, FSPpower.pm, fsp for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-10 02:19:40 +00:00
nott
eb7404c04a Modify get_ServiceNode() to use NIMprime for AIX nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-25 16:24:08 +00:00
ligc
6d10253f56 fix for thishostisnot: skip the ipv6 ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 08:37:59 +00:00
wanghuaz
a8013ef8ef fixed the lsslp issue that it is possible to append -1,-2 to the existing hostname in /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 12:56:37 +00:00
lissav
1204862fa9 fix for 2889577, do not delete authorized_keys* files when runnning xdsh -K, if they existed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 18:34:51 +00:00
linggao
183c173975 fixed MYSQL server went away error'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 15:07:16 +00:00
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