Commit Graph

149 Commits

Author SHA1 Message Date
jbjohnso
855c948bbd -If syslog cannot be found on a system, do not try to use it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-06 16:46:18 +00:00
bp-sawyers
c0fdf43a50 Cleaned up some msgs during xcat upgrade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4291 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 19:19:26 +00:00
ligc
b41ca289af fix for bug 2867833: wait database initialization in xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-27 03:03:17 +00:00
jbjohnso
169dff3539 -Tune down concurrent servicing attempts to avoid overly many clients contending for DB access time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-24 21:06:51 +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
16e9205476 initialize the DB with defauluts during install or force or initDB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4195 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 19:12:42 +00:00
lissav
70c1c45bc3 fix leaving out of timezone and useSSHonAIX on initial install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 16:03:45 +00:00
wanghuaz
1271b6ba9f In scaling environment, it is possible that our lpar_netboot expect code cann't catch the ok promt after lpar change to open firmware state. Send '\r' command to openfirmware to catch ok promt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-17 08:38:26 +00:00
jbjohnso
9076c195d1 -Attempt to lift restrictions on intra-service node that were imposed to mitigate DB handles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 20:58:45 +00:00
jbjohnso
87d9af0097 -Fix potential race condition in system reboot upon install completion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 17:12:51 +00:00
ligc
64fd1fb97d fix for bug 2836101: error nameservers information in table site
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 09:05:36 +00:00
linggao
2ce4dff3b6 changed xcatd to use Table.getAllEntries instead of Table.getTable for getting the contents of the policy table. The old way did not honor the diabled column
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-14 17:17:32 +00:00
lissav
6afb2a3f77 add check that MN name is resolvable and put out error if it is not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-08 19:11:22 +00:00
wanghuaz
f910917793 Fixed one error that missed the failover procedure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-28 11:41:11 +00:00
jbjohnso
9a6326f25d Fix scope of previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-28 01:33:35 +00:00
jbjohnso
1764822e90 -Have xcatd support plugin override of 'default' plugins such as dhcp.pm/bindpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-27 23:18:23 +00:00
bp-sawyers
c9151502b9 - improved gettab man page
- added usage support to tabgrep
- fixed 2 uninitialized var msgs in xcatd

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-26 19:41:30 +00:00
jbjohnso
ff8e2e21af -Increase db worker queue depth to avoid fatal table access errors
-Increase number of xCAT process slots to 512 from 16
-Increase Listen queue depth of xCAT to 8192 (needs to have proc value for somaxconn upped to actually make a difference)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-22 13:18:55 +00:00
jbjohnso
12eb91ce4f -Improve performance of large requests (i.e. tabrestore a 70,000 row table went from 2 minutes to 40 seconds)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3970 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 15:50:06 +00:00
jbjohnso
51624f544e -Have xCATd fire up the new db worker architecture and bring it down
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-06 12:43:27 +00:00
lissav
3b1e407c5c Merge Linux post processing during install from xCAT.spec into xcatconfig. Also make lots more options on xcatconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-31 14:56:34 +00:00
nott
d3ebde125a Handle AIX shipping new version of Perl.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-28 17:29:16 +00:00
wanghuaz
3e00fd6702 kill child process if xcat command stopped by signal
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-28 07:57:26 +00:00
daniceexi
eec4a379a5 add the syncfiles command in the policy table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-21 07:16:20 +00:00
nott
ea7c2f5f93 Change default shell for AIX to ssh.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-17 16:52:53 +00:00
lissav
041ef549ef remove check for Linux to use Simple parse, use it on AIX also
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-16 14:46:05 +00:00
nott
affaaf0909 Avoid bogus error messages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 16:49:21 +00:00
jbjohnso
f478676446 -Specify target noderange in some places where applicable in logs/ps output
-Add a line feed to stdout type messages


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-26 14:50:08 +00:00
jbjohnso
524801a968 -Fix problem where chained requests would encounter bugs silently
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-22 15:03:46 +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
2cb8e227ce enhance logic to not pull in Socket6 at all for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 18:40:06 +00:00
lissav
e965589467 add comment on disablement of IPV6 on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-02 11:38:23 +00:00
lissav
486e28c82d fix Socket6 error on AIX funny line added to every command addr xxx .....
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-01 20:39:29 +00:00
jbjohnso
90b611cb85 -Fix IPv6 usage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-29 13:53:49 +00:00
wanghuaz
8fee83212e increase the retry times
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-27 03:22:52 +00:00
wanghuaz
310ecaaaee retry chsysstat if it failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-14 11:03:32 +00:00
lissav
3f606c471a fix creation of hostkeys in various migration scenarios
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-11 17:48:54 +00:00
lissav
a035f982d4 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@3334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-11 12:16:54 +00:00
wanghuaz
5b6a2c799a Make rnetboot support to set the boot device
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-11 04:13:35 +00:00
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