Commit Graph

177 Commits

Author SHA1 Message Date
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
jbjohnso
91855f9af6 Fix problem where backticks in plugins got no useful return code in 0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-15 14:54:46 +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
031c7d8617 Have genintrd move new kernel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-13 20:10:06 +00:00
jbjohnso
07e497cfac Add links to the definitive genimage for fedora and centos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-13 20:05:18 +00:00
jbjohnso
8d45c61211 Remove deprecated instances of genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@471 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-13 20:03:56 +00:00
sakolish
3d153759a4 Changed nodetype attribute to "lpar,osi" - Line #172
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@470 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-13 19:58:16 +00:00
sakolish
3ba65abb51 Added xCAT PATH - Line #5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@469 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-13 19:56:35 +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
695dcd7fae Allow initrd-only mode of genimage, for kernel updates, only in the rhel copy at the moment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 19:36:20 +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
jbjohnso
72ce49431d Correct pkglist search path, add cpio explicit copy to centos genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 15:52:22 +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
ccac86e3d8 Fix syntax error produced by genimage in initrd, require /bin/cpio in CentOS 5 as busybox vintage has broken cpio
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@444 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 04:00:34 +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
5ce4a0506c -Essentially copy files from fedora directory to CentOS directory, should be refactored to common code for RHEL, CentOS, and Fedora to all call on, SLES still needs to be investigated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-11 20:36:32 +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
bp-sawyers
4c32555f70 Fixed noderange and the man page for it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@429 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-08 21:53:41 +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
linggao
106a7f2053 calling fping without specify absolute path in xcatnodemon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-07 20:08:31 +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
61057b0002 Set version to 2.0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-06 16:03:32 +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
54fc7ea33b -Stop forking off nodeset next on installmonitor request, avoid race condition
-Prevent empty responses from triggering bug warning in the dispatch_callback
-Give servicenode attribute value weight in $master deterimination in templates and postage


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-05 15:45:58 +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
ca5a8e36f0 -Stop-gap band-aid to have blade set XCATCFG for non-default operation
-Have Table attempt to fill in 'missing' columns for a result before returning undef, restoring intended behavior
-Have getAttribs return a single entry or an array depending on calling context


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-04 16:34:45 +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
nott
c00ac45f26 Echo in responses to certificate setup scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 16:34:30 +00:00
jbjohnso
a9fc0b885e Have a clause for udp service to use to skip dispatch function
-correct rcons shell syntax
-Move Table objects in MacMap to exist in a lifetime amenable to SQL server reality


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 16:23:20 +00:00
jbjohnso
888f28a295 Fix generic packagelist to include busybox in Fedora
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 14:44:21 +00:00
jbjohnso
8bcc4b66ad Fix initrd generation to be more generic for ppc/x86 in stateless fedora 8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 14:33:31 +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
lissav
de809309f4 Fix path to ssh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-30 18:50:19 +00:00
jbjohnso
a0a692eacb Relocate the nbroot to /opt/xcat/share/netboot
-Override init with our own in order to preserve control of PID 1 (for switch_root)
-Change nbroot shell to actually call shell and loop, rather than exit since that would be init trying to exit now
-Increase destiny retrieval interval a bit to be less harsh, don't background as this must continue to be PID 1


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-29 21:22:34 +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