jbjohnso
4ab629b3de
-Avoid a warning on debug in certain cases
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-06 20:07:44 +00:00
jbjohnso
2e175519ce
-Have more checks to guard against fork bombs in bad scenarios
...
-Correctly dereference a check to avoid a fork if possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-06 20:07:05 +00:00
lissav
d6005b1031
fix defect 2778672, hostkeys not being generated during install in xcatconfig on AIX
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-02 21:21:40 +00:00
wanghuaz
77becdb875
Fixed one issue that in some case, expect stopped at the bump screen.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-27 05:31:35 +00:00
wanghuaz
7fd9270d00
Add -f for rcons to optionally take write privilege of the console. By default, rcons only return a readonly console
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-24 10:33:09 +00:00
wanghuaz
d67e18f78a
getmacs/rnetboot sometimes timeout at chsysstate. Enlarge the timeout value
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-24 07:27:10 +00:00
jbjohnso
b849ef83e7
-Validate discovery source is in a dynamic range that xCAT controls
...
-Make MAC discovery contemplate the payload of a discovery packet rather than just contextual data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 21:19:03 +00:00
jbjohnso
ff63318516
-Enforce serialized intra-xCAT communication. Required to not cause problems with DB handle exhaustion as currently architected
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 20:09:14 +00:00
nott
ccf5e0cb2b
Handle case where site domain is not set
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-22 17:18:06 +00:00
nott
aad6353231
Fix domain, add policy, fix bogus error msg
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-22 16:39:54 +00:00
wanghuaz
88078d3217
fixed the issue that in some case, rnetboot will fail and lpar stay in open firmware mode
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-21 07:11:42 +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
nott
57a1bd5b9d
export /install/postscrpts
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 16:08:31 +00:00
wanghuaz
40b8d7b151
Remind user that rnetboot failed because of rcons
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-31 06:52:18 +00:00
wanghuaz
db6a3d9f5a
Update lpar_netboot expect code to match different cases
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-31 03:53:46 +00:00
wanghuaz
6e0dd6bae3
For P5, instead of checking the line -------, check the words BOOTP.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-31 03:19:45 +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
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
jjhua
e431f7d9eb
add "Missing table name", fix bug2509834
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 02:52:44 +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
jbjohnso
fdb4b70285
-Fix errors in xcatd changes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 06:17:42 +00:00
jbjohnso
d8f935df65
-Institute new plugin phase 'init_plugin' and move AAsn to using it (have a function to request peer plugin action
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 05:57:08 +00:00
bp-sawyers
5df02b528f
- required ppc64 versions of nb rpms on x86/x86_64 MN
...
- removed run of mknb on ppc64
- added initial zLinux support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3008 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 22:38:47 +00:00
daniceexi
d922d337a8
Add an error message for missing certain plugin
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-25 14:33:08 +00:00
linggao
9878c42f6e
minor bug fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2949 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-20 17:50:09 +00:00
ellen56
e4390308bc
fix bug 2688297
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2938 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-19 07:57:02 +00:00
nott
cc1dab2678
Change location to get ca.pem file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-16 12:44:30 +00:00
jbjohnso
9664ad0072
-Have xCATd provide what may likely be FQDN as a value in the request
...
-Implement 'getcredentials' for a krb5 keytab, requires documentation
-Have getcredentials.awk fundamentally capable of requesting multiple credentials in a single request (theoretical scaling)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-15 20:23:48 +00:00
jbjohnso
8c41fc1a00
-Handle error messages in a redundant case a bit less obtrusively
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 21:17:59 +00:00
jbjohnso
94398558ca
-Fix problem where requests were sent to backup service nodes when a request is sucessfully dispatched
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 18:01:26 +00:00
lissav
ebe2e233ef
add reload option to xcatstart
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-02 16:04:09 +00:00
jbjohnso
aee0f1a7f5
-Support , delimited xCAT destination to denote 'anycast' sort of service node structure
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-28 22:38:48 +00:00
jbjohnso
da7655af18
-Fix problem where xcatd would 'BUG' if a table didn't exist at all when trying to determine a command handler
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-19 00:45:53 +00:00
mxi1
3a0dd3bece
use apache2 service to check httpd service on SLES, xcatconfig updated
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-16 10:33:01 +00:00
lissav
47717050f9
fix syntax error in conf file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-12 14:35:23 +00:00
lissav
ca750fb268
fix to support SuSE
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-12 14:18:06 +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
2ded87c984
These updates move the /install/postscripts/hostkeys private and public keys to reside in /etc/xcat/hostkeys directory. It will leave a copy of the public hostkeys in /install/postscripts/hostkeys
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-10 19:48:29 +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
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
jbjohnso
0374e787f5
-Confine plugin bugs to the child process handling them in the common case, provide more feedback on these
...
than 'unexpected disconnect'. Note that a rearchitecting to not fork when only one plugin is involved
would make the 'impossible' message possible, but such a rearchitecting would make xcatd more susceptible to
plugin bugs in other ways and is therefore unlikely.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-31 22:45:22 +00:00
linggao
1cc6b66c5c
bug fix in chtab
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 16:37:52 +00:00
linggao
7fba9cb39c
added AUTO INCREMENT support for DB columns
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-27 17:53:44 +00:00
linggao
8fcbfe7cc8
fixed a security risk by resetting XCATCFG in snmp trap handler
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-22 00:34:04 +00:00
linggao
51a1219b42
added support for user-defined database tables, phase 1
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-09 22:25:35 +00:00
wanghuaz
11befcd181
IB Switch Support in xCAT. With this change, xdsh gets the capability to connect to IB switch as a compute node.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-08 12:57:02 +00:00
nott
7ad76fee1e
Do not try to remove xCATSN unless it actually exists.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2543 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-11 18:22:23 +00:00
lissav
49b0f4e074
remove /etc/xCATSN if Management Node installed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-20 17:56:02 +00:00
wanghuaz
403c5b399a
Fixed the issue lpar_netboot.expect timeout on IVM controlled systems
...
Defect [2316981] : https://sourceforge.net/tracker/index.php?func=detail&aid=2316981&group_id=208749&atid=1006945
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-20 09:34:03 +00:00
nott
0daa69aac8
Add xcatd to inittab file for AIX.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-19 15:22:21 +00:00