Commit Graph

780 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
ligc
11d16ebf55 fix for bug 2946441: use $::XCATROOT instead of hardcoded /opt/xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-23 11:32:26 +00:00
ligc
db72eff8d5 fix for bug 2946475: use $::XCATROOT instead of hardcoded /opt/xcat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-23 11:26:19 +00:00
lissav
9c63655629 for db2 must check schema and table name for existence. Create table add other tables to the xcatdb database one is a system policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-22 19:09:41 +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
linggao
8899c71a17 added statelite to the description of nodetype.provmethod and osimage.provmethod
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 22:00:36 +00:00
lissav
57d6581450 db2 fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 18:55:34 +00:00
jbjohnso
91cc6ff09d -Fix mistake in previous change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 18:44:02 +00:00
jbjohnso
4e76bb177c -Refresh cache if it is modified
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 14:45:49 +00:00
jbjohnso
c0c7ff2c54 -Fix erroneous db worker process cloning
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-17 22:19:39 +00:00
lissav
1921256e4c must export the DB2INSTANCE before the connect to the database. This is need particularly for the daemon which cannot get it from the environement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-17 14:38:03 +00:00
bp-sawyers
3bdd1a913f Another litefile formatting issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-15 23:14:11 +00:00
bp-sawyers
3904549dd1 Fix litefile man page formatting prob
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-15 23:10:29 +00:00
bp-sawyers
31014b7660 Update statelite cookbook and table man pages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-15 23:04:54 +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
cridye
53b99b7514 changed hpoa packaging to be compliant with xCAT practices
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-11 17:10:32 +00:00
lissav
1fcbdfcbb2 more db2 fixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-09 16:20:43 +00:00
wanghuaz
330831300f Updated man page, fixed one issue for management module, -n flag support, read hostnames from name resolusion if no -M flag for hardware discovery feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-09 08:58:10 +00:00
wanghuaz
accf1ee65c Updated usage for lsslp, make support for MM, support raw output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 15:56:18 +00:00
lissav
ba56b58079 more db2 updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 14:29:47 +00:00
ligc
ba3115b765 fix relative path problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 04:45:29 +00:00
wuzhy
75526bb297 fix the output sorting about "nodels lpar"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 04:19:37 +00:00
wanghuaz
0ceb572421 code checkin for hardware discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 16:36:16 +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
lissav
02bb6bb628 start of separating the creation of the db2 table logic from the other databases
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 15:17:29 +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
ligc
0ff0c8250a fix for bug 2945898: close(BNDFILE) not necessary, the bndfile is not opened
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 02:49:38 +00:00
cridye
4df9f7cfec hpoa packaging fixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 18:50:21 +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
wanghuaz
eaaca754af Part of class ready code checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 12:49:25 +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
daniceexi
c72ad7b844 defect: 2935237: use the static as the defualt value of grouptype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-03 09:52:03 +00:00
mellor
0f240257c9 changed InstUtils->getOSnodes to default to local OS if nodetype.os not set for node (used to default to Linux)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-02 20:03:46 +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
ligc
73fb3d17ee relative path support for sinv
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-01 09:34:50 +00:00
wuzhy
ce36812204 Add a new option "r" for rmvm to remain the node's definition when removing it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-01 03:50:36 +00:00
daniceexi
d0a6c27824 code drop for P7 support of energy management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-30 14:35:01 +00:00
wuzhy
e564e4a8d0 Add the support for sorting the output of the xCAT command which list nodes or VM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-29 08:23:22 +00:00
ligc
cf44c5efc5 relative path support for rflash
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-26 06:48:36 +00:00
jjhua
f1c70d6dce fixed the defect 2905848
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5041 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-26 02:58:13 +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
jbjohnso
3ffa807168 -Reapply recent fixes lost in recent checkins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-22 20:08:33 +00:00