Commit Graph

156 Commits

Author SHA1 Message Date
lissav
8dbb5466a4 Add xCAT use of syslog information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 13:36:51 +00:00
nott
59cb0fcd44 Changed nodetype check from LPAR to lpar.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 13:24:26 +00:00
sakolish
cb0f4d3e34 Changed format_xml() output format - Line #470
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-15 15:24:37 +00:00
sakolish
ced7eaf3d6 Added dependency table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 20:23:24 +00:00
sakolish
8717c5e5ad Use GlobalDef $::NODETYPE_XXX - Line #60
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 19:58:48 +00:00
sakolish
9e8f0dd5fb Use GlobalDef $::NODETYPE_XXX - Line #419
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 19:55:23 +00:00
linggao
ed83a29103 added nodelist.status in the defination schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 19:49:09 +00:00
sakolish
8c334f052a Use GlobalDef $::NODETYPE_XXX definitions - Line #341
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 19:47:42 +00:00
sakolish
6e83969eea Corrected $::NODETYPE_LPAR - Line #20
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 19:44:53 +00:00
sakolish
f69f03f863 Added NODETYPE_LPAR,NODETYPE_BPA,NODETYPE_FSP - Line #21
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 19:15:37 +00:00
sakolish
b3ee515007 Removed absolute path when invoking lpar_netboot.expect - Line #159
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 19:11:31 +00:00
sakolish
6b0e861711 Removed absolute path when invoking lpar_netboot.expect - Line #161
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-14 18:49:44 +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
sakolish
65e021ebdb Changed format_stanza() output formatting - Line #412
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-13 20:57:18 +00:00
sakolish
f90f682316 Redirect STDOUT only in verbose mode - Line #133
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-13 20:22:02 +00:00
sakolish
e6d28ffcdf Write nodetype attribute "lpar,osi" for LPARs - Line #62
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-13 19:27:34 +00:00
sakolish
217641cf2b Changed nodetype attribute to accept "lpar,osi" - Line #340
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-13 19:26:13 +00:00
sakolish
684aa2fbd9 Changed "lpar_netboot.expect" path - Line #148
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 20:20:19 +00:00
sakolish
68617bd089 Changed "lpar_netboot.expect" - Line #150
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 20:17:37 +00:00
jbjohnso
71d82a428e Fix yum local repo correction routine for distributions with multiple repodatas such as RHEL5.1, no longer write data from stale variable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@452 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 16:50:53 +00:00
nott
ec20bc6b69 Added node attributes to the group definition.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-12 13:54:11 +00:00
sakolish
64bef2058a Replace sleep(0.1) with Time::HiRes::sleep(0.1). Apparently, sleep 0.1 transaltes to sleep(0) - Line #113
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-11 20:14:51 +00:00
nott
4c689725c6 Fix checking of comma separated lists.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-11 19:44:59 +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
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
sakolish
76c5ecec54 Remove "all_clear" and "-e" flag from reventlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-06 19:28:19 +00:00
sakolish
6d8116eba3 Removed "all_clear" command from reventlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@404 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-06 19:12:59 +00:00
lissav
2d8ce79bf0 Change logic of isServiceNode.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-06 17:19:13 +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
lissav
2c8b35c460 Add GetMasterNodeName and GetNodeOSARCH routines.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@384 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-04 20:02:15 +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
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
lissav
aa9dfdc285 Check for missing arguments on dsh and exit on error.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 13:28:13 +00:00
lissav
6e8c2b7191 Fix building of the node list from $nodes not $noderange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@370 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-01 13:03:04 +00:00
lissav
50bdab2b7a Fix path to ssh in setupSSH routine.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-30 18:49:33 +00:00
nott
b069511056 Remove bogus message when running mkdef.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-29 13:13:01 +00:00
nott
f69c8fbda1 Use the correct key value when the getting info
from the DB.  It is not always "node" even when
the type of object is "node".

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-28 13:06:39 +00:00
sakolish
9e63b5144b Changed call to HTML::Form->parse() function to Click "OK/Cancel" - Line #597
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-25 15:57:14 +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
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
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
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
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