linggao
5f3a8c839a
fixed defect that usage statement does not get print out by the hw commands
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-19 20:44:07 +00:00
mellor
beffdd517f
make xcatd tolerant of syntax errors in plugins, fixed syntax error in conserver.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 14:51:19 +00:00
ligc
cb8c94d359
consolidate the three duplicate subroutines thishostisnot into xCAT::Utils
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 08:55:05 +00:00
jbjohnso
124bbda40c
-Fix override of plugins
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4568 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 19:51:33 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
jbjohnso
78363b3456
-Fix problem where an error went to stdout instead of stderr
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2496 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-11 15:42:04 +00:00
mellor
26c6baf15f
new rollupdate support working with LoadLeveler
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-22 15:56:46 +00:00
nott
ca3c374059
Avoid inet6 check for AIX in thishostisnot
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-19 17:29:03 +00:00
lissav
6391aa7d52
fix syntax error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-07 16:37:22 +00:00
linggao
b908e634ea
more work on node status
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-29 16:33:21 +00:00
jbjohnso
4af8710b51
-Address errors on bad input from WebUI
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-28 18:46:48 +00:00
jbjohnso
4edd7680f1
-Further enable WebUI to handle login reasonably
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-28 16:08:12 +00:00
jbjohnso
cb0a8f5c43
-Add 'becomeuser' tag to commands. If client supplies such a tag, will attempt
...
to change name to match based on passwd table contents. Rejects request outright
if tag attempted and process fails.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-27 19:24:02 +00:00
jbjohnso
8acad4e8ef
-Revert fix for php client, fix the php client instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-27 15:23:43 +00:00