Commit Graph

176 Commits

Author SHA1 Message Date
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
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