Commit Graph

338 Commits

Author SHA1 Message Date
nott
6a8412018b Improve chdef performance and handling of tables with multiple keys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-07 13:58:00 +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
863888a7ab -Skip abbreviating single nodes to one-sized groups
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-24 12:45:06 +00:00
jbjohnso
2d53a1e841 -Prefer rightmost number when using the + operator
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 14:53:56 +00:00
linggao
467fa95c49 removed the extra print statement in Table.pm, xcat-Bugs-2777872
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-22 14:06:46 +00:00
lissav
a58f0df77b fix missing DSH_TO_USERID, default to root and change use of xcoll to xdshcoll
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-20 13:08:25 +00:00
wanghuaz
529c817892 Fixed defect 2771631: getmacs writes lpar name instead of node name to mac table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3221 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-20 05:03:07 +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
lissav
a571e4a7ed fix in verify_targets routine to make long hostname into short before passing to pping
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-17 18:13:44 +00:00
lissav
4824e01617 fix usage message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3215 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-17 17:06:28 +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
f2c8dc1a8d Update chvm man page and usage information, to add 'chvm support specifying attribute-value paires in command line
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-16 10:09:49 +00:00
linggao
5a3768389f check in Zhan Xiang's change on mkvm so that it handles HCA ports correctly for cloning lpars across cecs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-15 17:02:11 +00:00
jbjohnso
be121bafb2 -Add xcoll abbreviation support by popular demand
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-14 18:27:43 +00:00
jbjohnso
a232065762 Update description of mac field
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-14 14:30:14 +00:00
zhanx
f6bb7a5e8e Changes for mkvm supporting clone CECs with IB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-14 11:58:06 +00:00
wanghuaz
ee287bbe67 improve getmacs ping test without client IP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-14 03:29:22 +00:00
wanghuaz
c45d208ed3 Fixed bug 2728953 about rnetboot/getmacs in Norm's test: use environment variables to save the passwd and userid instead of create one random file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-09 09:32:55 +00:00
lissav
6dea0dea97 fix misleading error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-08 13:03:56 +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
linggao
af080c0964 fixed wrong group name for mkvm and rscan command when writing to nodelist table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-06 19:27:36 +00:00
linggao
a5f448d4fb update usage and man page for mkvm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-06 18:52:35 +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
nott
add3660f39 Add ip and hostnames to group object definition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 14:53:52 +00:00
zhanx
38c614f84e mkvm enhancement: 1. support cross hmc; 2. support hca guid automatic increase. This code change doesn't include man page/usage update. Will do them soon.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-02 15:37:19 +00:00
ellen56
f1f557b011 setting mgt&cons attributes at same time for better performance
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-31 02:55:51 +00:00
jbjohnso
c8264f231a -Have Client library use a more reliable method than environment to get home directory
-Change conserver backends to not bother with setting HOME variable at all


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 14:19:17 +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
wanghuaz
6993dc7dba make local lpar_netboot work for getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 10:26:51 +00:00
wanghuaz
3e0a906cc5 make local lpar_netboot work for getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3041 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 10:22:21 +00:00
wanghuaz
713cf94673 tftp client in cygwin changed the code to windows format. Remove the symbols
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 08:36:36 +00:00
ellen56
34a9628454 fix bug 2713312
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 03:12:53 +00:00
wanghuaz
db325e5fd1 rcons and rnetboot cannot work at the same time, since there is only one connection between hmc and open firmware.
change local lpar_netboot to connect to node from conserver, which gives us the capability to watch the installation from rcons and take actions from rnetboot at the same time.

TODO: rnetboot on IVM will be temporary broken.  Will fix it soon

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-29 10:24:14 +00:00
lissav
8658635a96 fix spelling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-27 16:24:02 +00:00
lissav
1f3f60f74f add description of rsh and rcp back into site table, used by xdsh and xdcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3015 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-27 14:23:28 +00:00
jbjohnso
066d705b64 Fix 3com logic and BNT port detection
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-27 03:33:59 +00:00
jbjohnso
31509c0eda -Add columns to networks table to describe ntp and log servers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 20:16:58 +00:00
jbjohnso
a09d1db241 -Implement log, ntp, dns server list processing for dhcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 20:08:18 +00:00
bp-sawyers
11977ffba4 - change inclusion of SNMP.pm back to a hard "use" stmt to fix bug 2691044
- a few db attr description improvements

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 14:39:38 +00:00
daniceexi
81c33fff4a Add an error message for missing certain plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 14:31:39 +00:00
nott
2c8137a5c3 Minor change to lsdef output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 14:06:03 +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
linggao
ac579fbaa4 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2975 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 00:23:04 +00:00
linggao
7850b36aa2 changed setting from nonodestatus to nodestatus :-)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 19:44:23 +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
cf1eb5011c added a site table attribute 'nonodestatus' so that the node status updates can be turned off during the node deployment, node discovery and node power on/off
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 03:12:03 +00:00
nott
11ca1c125e Extended verbose output should only be for lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-22 19:15:19 +00:00
nott
b15c0cfcca Update site table descriptions in Schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2956 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-22 17:04:04 +00:00