Commit Graph

91 Commits

Author SHA1 Message Date
nott
d3cadee162 Enable group support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-20 20:50:44 +00:00
linggao
b5869e05a4 more work on RMC monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-20 02:02:11 +00:00
sakolish
061eb10d56 Return errorcode on exit - Line #43
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 20:35:32 +00:00
sakolish
86cf46aa77 Return errorcode on exit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 20:20:26 +00:00
nott
ccb164810f Enable list, update and remove NIM definition support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 20:12:15 +00:00
bp-sawyers
aceb17bc7f Fixed errors in the client/server communication for xdsh and db-cmds and MsgUtils
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 15:57:25 +00:00
linggao
230bfd5f19 hierarchical management support for xcatmon which does node liveness monitoring for xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-16 04:51:42 +00:00
jbjohnso
d449c7972e Since there remains one and only one discovery handle, make it unconditionally the one, need to define a way to default a command, this one trips me up frequently
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-16 01:42:15 +00:00
linggao
a227c6eb35 more monitoring code to support hierarchical management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-16 01:25:59 +00:00
sakolish
dd794614c1 Added dependency table support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 20:25:32 +00:00
sakolish
5deffdf1cc Pass slp_query command to functions - Line #1113
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 18:22:43 +00:00
bp-sawyers
8c057025b8 Cleaned up the client code and added man pages for tabdump and tabrestore
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 14:25:49 +00:00
nott
bc7fc0742d Some minor code cleanup. Remove early exit so
command may be used.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@476 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 14:25:44 +00:00
jbjohnso
d6054f3e8b -Fix spelling mistake in IPMI plugin
-Add decoding of sensor values in events to eventlog


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 21:34:57 +00:00
jbjohnso
777eeb9449 IPMI eventlog returns decoded events up to an error, rather than just the error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 20:05:12 +00:00
jbjohnso
d38258c8e1 -Add rh stateless, copying and improving genimage (this genimage ought to be generic across RHEL/CentOS/Fedora at last)
-Modify packimage excludelist search strategy to be amenable to rh directory.
-Update rhel plugin to do netboot in the manner that CentOS and Fedora are set to


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 19:10:33 +00:00
nott
099e2b938b Removed bogus error message.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 14:00:20 +00:00
jbjohnso
0a61ca2925 Fix missing use clause is centos for missing function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@443 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 01:56:47 +00:00
jbjohnso
bf7f93e286 -Fix packimage to strip dots and numbers to derive base os lists
-Modify centos plugin to use the built in stateless support


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-11 20:35:22 +00:00
linggao
391fd50d7d remove rmc monitoring releated files from the server package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-08 17:56:53 +00:00
jbjohnso
b271ec7039 -Change name for booting to iscsi device to iscsiboot from netboot
-Save the singular set of kernel/initrd/command line arguments when switching away from iscsi to, say, shell
-Add implicit imgserver to destiny, assume the management node if nothing else specified
-Reorder tftp boot directory hosting iscsi bootstrap, avoid race condition
-Change wcons to a perl script in preparation for more sophisticated operation/syntax
-Schema changes to iscsi table, place the vlan column after port to reflect relative importance to user


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-07 21:48:21 +00:00
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