62 Commits

Author SHA1 Message Date
jbjohnso
4124788d7f Change dhcp to explicitly set for dhcp based on implicit circumstances if no explicit configuration specified. This restores things to what was expected before with 'dhcpistftp'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-07 20:11:52 +00:00
jbjohnso
8b79ce8d4e -Fix rspreset for blades
-Stateless image tweaks including squashfs ram hosted image



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@414 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-07 18:54:58 +00:00
lissav
e826d5831f Added help and version support to the node* commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-06 15:21:54 +00:00
jbjohnso
204f3ad7b0 Fix next-server configuration in omshell syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-04 17:47:21 +00:00
jbjohnso
86704ca436 -Add an iscsi plugin to help frontend tgtadm
-Update xCAT-client for new setupiscsidev command
-Update Schema to store the file column for tgtadm configuration


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-04 16:55:14 +00:00
jbjohnso
e452d1d7b0 -yaboot configuration requests propogated to all xcatd instances, ignored if not directly reachable
-Factor out common broadcast scope to xCAT::Scope


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-03 00:01:35 +00:00
jbjohnso
a4c0b58fe8 -Change such that servicenode is not preferred ofer dhcp server for tftp (tftpserver will be the only way to trump the dhcp server)
-Do not warn in the now preferred case of no explicit tftp server
-Fix PXE and yaboot to clean stale links
-PXE preprocess now specifies nodeset should be sent to all servers
-PXE and DHCP only initiate meaningful work if specified node is on the same network
-Utils now has nodeonmynet and thisisnothost functions which are commonly needed in scope detirmination


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-02 19:39:33 +00:00
jbjohnso
0f029bcc8d Generic Yum repository fixup for copycds and the anaconda platforms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 21:42:26 +00:00
jbjohnso
698efd663b Advance state of the stateless support for QS blades to a respectable level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 14:15:17 +00:00
jbjohnso
091ab39b39 For destiny induced nbroot boots, set serial console correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-29 13:50:41 +00:00
nott
318d3ece5b Minor message cleanup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-29 13:17:35 +00:00
jbjohnso
4dc66b5c7b Beginnings of a stateless, with fedora support. Work in progress
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-29 01:04:45 +00:00
jbjohnso
47791a9893 -Provide a useful error message on some circumstances of MM communications failure
-Fix makedhcp omshell syntax error
-Have fedora plugin fixup the yum repodata to be usable by both anaconda and yum post-install


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-28 19:34:58 +00:00
jbjohnso
5218177975 Fix glaring typo in dhcp.pm causing node deletion from dhcp database to fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@337 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-28 14:19:25 +00:00
jbjohnso
5d884bd8b2 Have dhcp set next-server as appropriate when noderes indicates on a per-node basis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-28 14:07:33 +00:00
nott
fb28b71c71 Make sure the same attr isn't displayed more then once.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-28 13:03:58 +00:00
jbjohnso
6a492166e4 Add hierarchical intelligence to pxe and paboot plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@333 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-27 20:45:31 +00:00
jbjohnso
254432e82d -Add -f flag to xcatd to keep in foreground
-Fix xcatd subprocesses to not overwrite their own parent fd when spawning more subprocesses
-Add hierarchy function to fedora plugin


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-27 17:37:24 +00:00
jbjohnso
f68aa9065d -Add Hierarchical behavior to makenetworks (trouncing mgtifname for the near term)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-26 19:06:21 +00:00
jbjohnso
d58a5c0f34 -Give dhcp plugin hierarchical capability
-Have dhcp plugin reuse omapi key if already stored
-Allow preprocessing functions to callback just like processing functions
-tabedit accepts/prefors 'TABEDITOR' variable, defaults to vi


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-26 17:55:34 +00:00
jbjohnso
c1b03f38fd Make ipmi requests fan out to service nodes, fix problem where serverdone flags were erroneously propogated to client from a dispatched request
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-25 16:17:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
jbjohnso
d706d7ae33 Fix problem where new declarations were not commited
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-15 03:08:11 +00:00
jbjohnso
c048ba409a Implement multi-nic discovery
-Table now returns multiple records if appropriate for getNodeAttribs (needed for switch table)
  -makedhcp moved to the ondiscover method (makedhcp not run until discovery method has a chance to modify mac table)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 22:19:17 +00:00
jbjohnso
a67083a316 Fix multi-hostname dhcp definition deletion in dhcp plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 20:29:15 +00:00
jbjohnso
45fe630583 Multi-interface discovery support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 19:13:43 +00:00
jbjohnso
32cc0568a1 Initial Fedora 8 support. Postscripts did not run, and ppc support has not been verified.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-13 18:18:28 +00:00
jbjohnso
76a2fa561c Fix path problem in the xCAT nbroot core spec. Fix problem where copycds would
fail on read-only iso files


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@252 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-13 16:56:23 +00:00
jbjohnso
a261bdcba8 Add conserver.cf default to demand encryption
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 21:31:58 +00:00
jbjohnso
3b2b02b3e1 Improve performance of discovery process
-Pull UDP queue in to remove duplicates
-Query all caches before slow refresh activities
-Decrease timeout on nodediscover notification
-Switch now only bothers refreshing a cache older than 20 seconds


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 20:55:28 +00:00
jbjohnso
88bf8a483c Fix a fatal typo in the conserver plugin, make copycds work with relative path to ISO files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-10 13:41:31 +00:00
jbjohnso
514028c932 Put certificates and keys in a format amenable to conserver use, update conserver plugin to make use of conserver certificate authentication
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-10 01:14:14 +00:00
jbjohnso
9a4a6b1627 Update blade plugin to accomodate Bladecenter S
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-07 19:27:11 +00:00