Commit Graph

192 Commits

Author SHA1 Message Date
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
wanghuaz
ba835346a2 Update remoteshell script to match the change of xdsh -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-27 04:10:34 +00:00
daniceexi
4e7d1736ed increase the waiting time for the SRC commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-21 03:12:10 +00:00
lissav
25ab309d45 fix for defect 2932537 add check for no ipaddress returned and for an ip address that starts with 127.0.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-18 19:45:31 +00:00
jjhua
e0e40e4b6c after get the lpar state , add ([string compare off] == 0)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-08 09:12:07 +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
jjhua
99b399b9d6 FSPboot for rnetboot, FSPmac for getmacs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-07 06:00:53 +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
daniceexi
2a56607bee restartxcatd may encounter kill xx not a killable process group issue when there are multiple SSL listener processes, now added the logic to kill them by force if it happens
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-06 09:38:35 +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
ligc
d43b6370a7 fix for bugg 2915687: error checking for chtab syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4873 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-04 06:33:12 +00:00
bp-sawyers
d314c0789d - Fixed bug in chtab db initialization statement
- Improved formatting of site and prescript table descriptions in man pages

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-19 14:20:26 +00:00
vallard
71d9a5071a added policy for litefile and litetree for statelite on linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 20:47:25 +00:00
lissav
aa5359e40a add new processing for otherpkgs and the postbootscripts attribute in the postscripts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 18:55:36 +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
4fd010d130 create the xcatd subsystem if it does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 04:32:19 +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
lissav
69e3132067 remove setting of ANSI_QUOTES in my.cnf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4704 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 19:25:15 +00:00
wuzhy
5de5e5e500 Update the file for support rpower/rcons for HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-27 08:36:35 +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
jjhua
be850c8f9f fixed 2898930
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-23 02:31:53 +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
lissav
c6f566c83b remove non-working ulimit command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 20:16:23 +00:00
lissav
8d6fe7c36f fix ulimit problem and wait for mysql daemon to come up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-18 20:04:20 +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
wanghuaz
519e637247 add a workaround for the yaboot issue that produce garbage message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 05:49:34 +00:00
nott
9113e20669 Move the setup of /etc/profile to the xcatconfig command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4510 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-06 20:27:08 +00:00
lissav
ec3007f3a2 change error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-06 11:42:10 +00:00
linggao
e15a6563a0 added useNmapfromMN in the site table for nodestat command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 23:08:07 +00:00
lissav
872599a98c add new mysqlsetup script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 13:51:50 +00:00
wanghuaz
b2d4f247e2 Fixed the issue that openfirmware produce the garbage which will impact the conserver's parser
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 04:15:18 +00:00
wanghuaz
c940b79f33 Remove old conserver setting in /etc/inittab, otherwise, mkitab will fail if old entry exists in inittab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 07:40:47 +00:00
lissav
8550d6da24 fix 2878702 conserver not started after reboot on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-19 18:49:52 +00:00
wanghuaz
30e9b80999 10sec is not enough to login to conserver in scaling system
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-15 08:10:18 +00:00
jbjohnso
ae863aff1f -Change name of decoded IPMI alerts in the trap handler
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-14 17:11:38 +00:00
jbjohnso
f260efaa7a -Add access to the event summary to IPMI driven snmpmon evoked cmds.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-14 01:16:56 +00:00
wanghuaz
57f0a92902 Set maxssh to 8 to make HW control commands more reliable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 13:37:30 +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
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