lissav
00ec86573a
add support for clienttype=other
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-09 16:09:14 +00:00
lissav
ced2bb38e5
add check for webui
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 20:04:27 +00:00
lissav
15455e1276
add auditlog table updates
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 19:32:33 +00:00
lissav
f3ec425b0d
add parameter list to the Allowing and Denying syslog entries
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-25 16:00:09 +00:00
vallard
980c554a4c
got rid of some errors that would happen if request was made from xCAT UI"
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-25 03:08:32 +00:00
daniceexi
11cbdc7291
defect 2947789: use getTftpDir to get the tftp dir
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 09:19:34 +00:00
cjhardee
41f6d82742
Fixed a variable initialization to get rid of the following message:
...
Use of uninitialized value in scalar assignment at /usr/sbin/xcatd line 624.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-15 15:40:35 +00:00
lissav
85eaf6d468
comment out the Asked to Quit message
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 12:23:06 +00:00
daniceexi
27dbebaf82
save and restore the old value of {CHLD} in functions plugin_command and dispatch_request to avoid the change of {CHLD}
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-27 10:24:34 +00:00
jbjohnso
70bf53deae
-Change xCATd to not use a global variable for dispatch callback.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-07 16:54:33 +00:00
daniceexi
8aa8e1f9ae
The child process of the xcatd should not handle the TERM and INT signals as the parent process
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-06 10:06:24 +00:00
jbjohnso
f55a7b373f
-Use utf-8 character set
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-04 19:04:50 +00:00
mxi1
88dd0b3c72
the author method is changed as we discussed last week; verify the password as encrypted pw firstly; if it fails, then treat the password as non-encyrpted password to verify one more time
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 06:34:55 +00:00
daniceexi
58c96f259c
make all the vital messages can be written to the syslog
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-11 08:28:47 +00:00
daniceexi
2d4e596b3d
Code drop of supporting the SRC mechanism for xcatd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-03 08:01:33 +00:00
mxi1
a7e307b952
the encrypted pw in the passwd table can work on SLES now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-02 08:51:34 +00:00
mellor
2aa3876007
enhance plugin processing to ensure correct table-driven plugin is called, moved common usage preprocessing to new plugin
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-24 15:12:39 +00:00
jbjohnso
1ddd71f7f0
-Sanitize responses from plugins if they throw non-printable characters that are invalid in XML parsing
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 18:57:20 +00:00
jbjohnso
76b5a8eb31
-Explicitly instruct SSL to do inet4 only if our ipv6 support checks fail
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-21 17:44:46 +00:00
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