Commit Graph

314 Commits

Author SHA1 Message Date
jbjohnso
1812d2e372 -Change '!xcat' hash members to '_xcat', which can survive XML-ization
-Have the xcatd service script source a /etc/sysconfig/xcat if available (to allow setting of XCATCFG)
-Modify xcatd to be able to relay requests to service nodes if the plugin can provide a map, using it's server key and certificate as client credentials
-Provide a more helpful message for SSL connection issue
-Modify Client.pm to accept custome key/cert/ca files to facilitate the aforementioned request relay.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-25 15:07:53 +00:00
jbjohnso
7f2a3b8ea4 -Correct node deletion if a simple format mac entry is referenced, or none at all.
-Factor out plugin call in preparation for hierarchical dispatch


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@323 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-24 13:37:34 +00:00
nott
941bee58ef Added the copying of xcat.conf for the AIX case.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-23 18:02:17 +00:00
nott
6b6aa72d4c Made changes so this meta package can be built
on AIX.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-23 18:00:13 +00:00
lissav
6c18d06a92 Change check to OS type to setup root's home
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@320 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-23 17:49:04 +00:00
nott
66a9cb639c Added full paths for all commands that are called.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-23 17:48:33 +00:00
lissav
301362a20d Rewrite in Perl and make it work for AIX also.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-23 16:51:01 +00:00
jbjohnso
c7868bf082 -Remove error-inducing lines from templates (errors were in commented out template portions, so no functional impact).
-Revamp Table.pm to share database handles and have handles persist across object instances, avoiding numerous calls to connect in certain programmer use cases.
-Modify xfork to use the aforementioned structure rather than the generic structures which are warned as being read-only
-Remove probably deprecated interface field as a key in mac table


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@317 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-23 15:52:27 +00:00
nott
3a2595953a For now, don't ship several plugins that are not
needed for AIX - to avoid an AIX dependency on SNMP.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@316 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-23 14:15:18 +00:00
lissav
c9a971ad5e Change version to 2.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-22 19:15:16 +00:00
nott
f6e0c25abb Add %ifos linux to post and preun sections.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-22 18:58:04 +00:00
nott
51d357c012 Added the xcatconfig configuration script. This
script is run from the meta package post process
and can also be called directly to re-configure.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-22 18:53:53 +00:00
lissav
1ede5d28ec Add isServiceNode routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-22 14:59:14 +00:00
nott
28a604a795 Add check for # of args.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-22 13:41:44 +00:00
nott
26459260fe no longer needed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@310 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-22 11:59:09 +00:00
jbjohnso
69e280dbf3 Fix setattribs sql statement structure for postgresql statement parse error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 22:15:26 +00:00
jbjohnso
e2c97a9c88 Fix critical error in blade plugin from previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 21:07:57 +00:00
nott
065d31a2d2 Fix format of lsdef -h output.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@307 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 20:35:16 +00:00
jbjohnso
b8b4e74f04 Fix most instances of fork by replacing with xfork, name xfork correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 19:49:59 +00:00
nott
39c7de2940 Fix getobjdefs so it uses the correct subroutine
to read node attributes. Not all node attributes
can be accessed by using a key of "node"!

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@305 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 19:49:55 +00:00
jbjohnso
4ff63ac90b Correct some unclosed table issues, implement a fork wrapper to clean DB handles, move NotifHandler and monitorctrl to use the aforementioned wrapper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 19:39:09 +00:00
linggao
1d2b000ef0 added predefined conditions and sensors for RMC monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 16:34:44 +00:00
jbjohnso
c8c7d356f0 -Report error on DB problems in chnode
-Fix UDP listening select semantics to allow clean exit again
-Alter lifespan of sitetab object in xcatd to avoid attempting to persist across forks (needed for PostgreSQL)
-Allow for possible quotation marks in DBI return data that happen in certain interactions with PostgreSQL
-Cleanup a few unfinished statements and unclosed tables, which might have adversely impacted DBI behavior


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-20 19:20:46 +00:00
jbjohnso
8836fd275d Add generic DBI attempts (oriented toward PostgreSQL so far, and not working correctly yet)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-20 02:15:55 +00:00
jbjohnso
ef58bfd707 Add a check to ignore and log malformed switch table entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-19 16:45:29 +00:00
jbjohnso
2333656fb6 Fix some warning messages, cause nodeset to abort if requesting impossible install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-19 16:38:03 +00:00
andywray
a67f1a4411 Fixes to links for building debian package.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@298 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-18 23:34:23 +00:00
linggao
e816034001 updated the cookbook
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-18 21:25:51 +00:00
linggao
5319502b14 modified man pages for startmon and stopmon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-18 19:42:40 +00:00
linggao
5c5b04570f change the design of stopmon and startmon commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-18 18:14:45 +00:00
andywray
2b9029c713 Add tabgrep command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-18 16:47:26 +00:00
sakolish
c3544c1a6f Added FSP CLI support for "date & time"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-18 16:27:05 +00:00
jbjohnso
311cbb309e Add iSCSI install for CentOS
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-18 13:13:27 +00:00
bp-sawyers
f85609131f added aix pkging support, and tarballs directly in SOURCES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@291 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-17 20:33:12 +00:00
bp-sawyers
a2018d3f92 added aix pkging support, and tarballs directly in SOURCES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-17 20:29:37 +00:00
mellor
3d11002e30 updated meta pkg for ppc64 - now arch-dependent rpm is built, no longer noarch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-17 18:23:31 +00:00
sakolish
b286429bd1 Moved "$IO::Socket::SSL::VERSION = undef" to Line #37
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-17 16:58:07 +00:00
andywray
d2a06d5636 Added debian directory for building *.deb package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-17 15:47:49 +00:00
jbjohnso
decc71ac21 Provide enhanced iSCSI support for the opportunity for more seamless operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 21:14:50 +00:00
lissav
36a754d5eb Add postscripts table to the schema.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 18:48:11 +00:00
lissav
739171be4b Update with new beta commands and Monitoring Section.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 14:25:15 +00:00
nott
4ab747c796 New spec file for xCAT on AIX meta package.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@277 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 14:05:54 +00:00
nott
a334e8373c New script to build AIX meta package.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 14:05:14 +00:00
jbjohnso
9abff068b1 Fix CSV parse error where was not interpreted correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 02:44:34 +00:00
jbjohnso
4762006084 Fix CSV parsing bug where '0' was not recognized as a valid token.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 02:41:22 +00:00
jbjohnso
4547b9f69d Be explicit about a number of settings in BMC configuration that may not be universal
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 01:53:29 +00:00
jbjohnso
872284c2d3 Increase discovery performance and resolve stale blade macmap issue.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-15 19:37:30 +00:00
sakolish
d24ce878e0 Make Net::SSL required for FSP plugin - Line #37
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-15 15:29:42 +00:00
sakolish
46d3c9d7c7 Added support for FSP CLI (rfsp) - Line #15
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@269 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-15 15:28:11 +00:00
lissav
97d21b564a manpages for new monitoring commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-15 14:51:21 +00:00