Commit Graph

152 Commits

Author SHA1 Message Date
lissav
bd667b9b06 Add checking for both nodename and ip address to determine if
service node is to setup a service. 

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-21 18:21:41 +00:00
sakolish
e97c8c0c55 Update errorcode on exit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 20:26:39 +00:00
sakolish
7692a7ed1b Don't support Power4 HMCs (Regatta and under) - Line #682
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 20:11:02 +00:00
sakolish
8317f55531 Return errorcode on exit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 20:00:34 +00:00
lissav
29bbb07224 More routine to support Service Node setup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 19:00:29 +00:00
sakolish
20d9e7f8fe Added "-A" to lpar_netboot comamnd to get "all" adapters MACs - Line #204
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 16:16:58 +00:00
sakolish
d8ee0b54d1 Added "-A" to lpar_netboot comamnd to get "all" adapters MACs - Line #595
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 16:14:32 +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
lissav
7a8922ce92 Fix check for service already setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 15:35:15 +00:00
lissav
4f3623ee6b Add some of the routines for servicenode support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-18 15:10:31 +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