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
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
8836fd275d
Add generic DBI attempts (oriented toward PostgreSQL so far, and not working correctly yet)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-20 02:15:55 +00:00
jbjohnso
ef58bfd707
Add a check to ignore and log malformed switch table entries
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-19 16:45:29 +00:00
linggao
e816034001
updated the cookbook
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-18 21:25:51 +00:00
sakolish
c3544c1a6f
Added FSP CLI support for "date & time"
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-18 16:27:05 +00:00
jbjohnso
decc71ac21
Provide enhanced iSCSI support for the opportunity for more seamless operation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 21:14:50 +00:00
lissav
36a754d5eb
Add postscripts table to the schema.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 18:48:11 +00:00
lissav
739171be4b
Update with new beta commands and Monitoring Section.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 14:25:15 +00:00
andywray
4b7699e338
Added debian directory for building *.deb package
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 23:14:58 +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
linggao
e47683853f
minor bug fix for monitoring plug-in infrastructure
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 20:31:25 +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
linggao
7717527a3b
Changed pname to name in monitoring table to make it easier to understand for user
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 17:10:14 +00:00
andywray
5653e63504
Set XCATROOT to default to /usr if no evironment variable and /opt/xcat does not exist
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 16:58:23 +00:00
sakolish
3ab51e3c13
Added support to set/get "I/O Adapter Enlargment Capacity" option - Line #663
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 16:38:44 +00:00
sakolish
ef4f2d2c80
Added support for "Auto Power Restart" option - Line #643
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 15:05:14 +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
sakolish
ca89329166
Swapped order of -h and -v flag check - Line #50
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:34:48 +00:00
sakolish
25ad0324a8
Swapped order of -h and -v flag check - Line #51
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:33:58 +00:00
sakolish
d93db1f6f5
Swapped order or -h and -v flag check
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:32:52 +00:00
sakolish
52ba612bd7
Removed extra check for -v flag (version flag) - Line #62
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:30:31 +00:00
sakolish
3910da3b42
Removed extra check for -v flag (version flag) - Line #62
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:25:51 +00:00
sakolish
ccb71ca433
Removed extra check for -v (version flag) - Line #85
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:23:16 +00:00
sakolish
37f1884882
Added support to FSP CLI for "spdump" (Service Processor Dump)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 16:53:54 +00:00
sakolish
3fd4a9e521
Added support for FSP CLI - Line #29
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 16:15:51 +00:00
sakolish
5acfff0618
Changed module load error - Line #640
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-10 14:34:34 +00:00
jbjohnso
e5b88427dd
Add a placeholder rcons/wcons. Fix client to report more useful errors
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-10 01:59:16 +00:00
linggao
7825f9b720
bug fixes for monitoring code
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@229 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-08 21:18:39 +00:00
sakolish
711e6f03ab
Stripped additional profile attributes for modify() function - Line 673
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-07 20:34:53 +00:00
sakolish
c43115ed4c
Changed chvm usage - Line #136
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-07 17:57:53 +00:00
sakolish
4b6929af18
Corrected comment - Line #713
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-04 20:31:55 +00:00
sakolish
d1fa232371
Changed function name from "format_schema()" to "format_stanza()"
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-04 19:06:02 +00:00
sakolish
c28ef0b9ab
Added "--help" to usage - Line 41
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-04 16:14:27 +00:00
sakolish
dfef321dc8
Changed name and location of IVM netboot script "/usr/sbin/lpar_netboot" to "/sbin/lpar_netboot.expect" - Line #148
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-02 16:40:20 +00:00