Commit Graph

307 Commits

Author SHA1 Message Date
jbjohnso
f51ca380b5 -Have Table plugin read, if available, /etc/xcat/cfgloc automatically if not instructed by XCATCFG
-Add utility for zapping all open database connections
-Use aforementioned utility in ipmi and blade console methods to have cleaner database communication
-Remove the suboptimal /etc/sysconfig/xcat code from the console methods


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 20:27:46 +00:00
jbjohnso
7cf0511bae Use hires sleep for children fanout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 19:44:28 +00:00
lissav
1828e745c6 Add to start rsyslog for Fedora.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 19:02:18 +00:00
lissav
a2646ccad8 Remove start of postgresql on service node. Not needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 16:23:13 +00:00
sakolish
8b985a18e3 Changed -d to --nodeps (default is -d)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 14:01:47 +00:00
jbjohnso
5cf09a4701 -Place yield in a few more places where there is more important work to be done at the time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 13:10:58 +00:00
jbjohnso
9f018118ad -Fix mistake in previous checkin
-Create sparse iSCSI luns by default
-Provide a helpful hint on common error message cause

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 13:01:35 +00:00
jbjohnso
d6031b2304 -Have iscsi.file get prefixed with iscsidir if relative
-Make the iscsi directory if missing regardless of how the location was derived


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 12:54:32 +00:00
sakolish
7dceb9bdb5 Added "cycle" to dependency table - Line #972
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@748 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 12:13:49 +00:00
jbjohnso
ce3652e36d -Fix yaboot/destiny plugin problem when chain table does not exist
-Add getmacs command to blade plugin


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 21:34:09 +00:00
lissav
175c3937b0 Add hierarchical support to plugin (preprocess_request).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 18:25:22 +00:00
jbjohnso
ac0b54f66b Make the INET6 support check more direct and to the point
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 18:05:26 +00:00
lissav
5eb2ece365 SSH setup for service node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 16:44:11 +00:00
jbjohnso
99ff23dad4 Fix nodech for noderanges again (shallow copy was breaking it)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 16:15:13 +00:00
jbjohnso
129af8ee3e -Use yield in child process data collection loops to avoid cycling needlessly, what was happing implicitly with sleep, the part that mattered
-Copy hardeths redundantly, still need to pick one definitive place and go with that


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 15:36:44 +00:00
jbjohnso
223e981012 -Have nodeset return errors to user on template parse problems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 14:20:47 +00:00
sakolish
a3e77ea4b7 Add "node" attribute to format_xml() output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@735 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-10 12:52:03 +00:00
bp-sawyers
87030e3737 Cleaned up node cmds and man pages and fixed Tracker bug 1908147
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@733 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-08 14:14:00 +00:00
jbjohnso
b1fe0bff15 Have IPMI plugin make a better effort in the face of an unkown system
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@732 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 21:43:45 +00:00
nott
180ac3aea2 Fixed GetOpt option and error return.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 21:01:32 +00:00
linggao
e9d4ef60ff bug fix for monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 21:01:14 +00:00
nott
a230e3fce4 remove old getopt option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 20:51:11 +00:00
nott
5ddb39f20f Fixed error code return and GetOpts option.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 20:37:33 +00:00
nott
77cfc892c1 Add rsh & rcp to site table for AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 19:52:29 +00:00
lissav
d8debc2158 fix running under daemon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@724 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 18:30:27 +00:00
linggao
f121301e82 added event filter and action customization for SNMP traps handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 13:24:23 +00:00
jbjohnso
ff222e3ffd -Adjust timings to be not noticably slower, but slow enough to allow the management node to work with a larger scale of clients
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-07 04:13:21 +00:00
lissav
df1bc2006d Fix error handling
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@718 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-06 20:32:53 +00:00
lissav
ae2bf642d2 Fix code. Check out of sequence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-06 19:14:01 +00:00
lissav
a5d87c8915 Check for all possible ip addresses for the Service node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-06 18:42:32 +00:00
linggao
df1d6c601b remove the input parameters for start() and startNodeStatusMon() functions from the monitoring infrastructure. This is for performance because some plug-ins do not need the info.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-06 17:07:38 +00:00
linggao
5f352bd237 added lsmon commandand description for xcatmon and snmpmon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 20:43:37 +00:00
jbjohnso
7a144eb755 Fix tabgrep to not BUG on non-existant tables second attempt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 19:04:11 +00:00
jbjohnso
b71e85dd4f Fix tabgrep to not BUG on non-existant tables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 19:02:27 +00:00
jbjohnso
df464707e0 Total failure to reach a management module is now reported correctly instead of segfaulting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 17:35:14 +00:00
jbjohnso
eb7dadcc95 Revise noderange fix to allow nodels to work again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 16:57:27 +00:00
bp-sawyers
5f1971d0b7 Added more man pages for the tab commands and fixed tabedit on AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 16:49:19 +00:00
jbjohnso
848c7b6e8c Fix sourceforge bug #1908128, nodels returning all nodes instead of none on noderange with zero members
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 16:31:35 +00:00
jbjohnso
c579949dfa Fix setup-local-client.sh script to correctly detect getent and be more picky on the AIX workaround. AIX workaround should have head, but I won't try that without the syntax confirmed on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-05 16:11:20 +00:00
linggao
e1bfc4a591 added monsetting table, use disable column to indicate if a plugin module is activated or not in the monitoring table. added getDesctiption for monitoring plugins.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@676 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 21:45:26 +00:00
jbjohnso
5cb435ee90 Fix ipmi console script to read XCATCFG
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 20:28:07 +00:00
lissav
4fccd41b7c templates for Service nodes on Fedora and redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@669 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 19:38:52 +00:00
jbjohnso
b00f70a1e4 -Fix client to print error members of node XML entries
-Have setupiscsidev provide more feedback in an appropriate way


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 19:38:16 +00:00
lissav
d6faf045ad Add FILE::Copy;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 19:36:35 +00:00
lissav
9d9284307f Fix export of /tftpboot and /install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 19:35:59 +00:00
lissav
7f5d0b74d3 Mount /install rw
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 16:29:20 +00:00
jbjohnso
928124e77d -Create yaboot server config directory on nodeset if non-existant
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 16:28:06 +00:00
jbjohnso
04688aeed4 -setupiscsidev creates iscsi directory if it doesn't exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 16:07:44 +00:00
nott
7652d4b437 Changed syslog setup code to check for existing
backup file.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 14:24:06 +00:00
nott
049f627534 Use different cp options for AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-04 14:18:40 +00:00