Commit Graph

62 Commits

Author SHA1 Message Date
jbjohnso
c5ddec8e38 -Fix problem where noderestab object had method called when perl obviously already shows it to be an undef value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-31 14:28:12 +00:00
jbjohnso
9af42aeca5 -Fix problem where makedhcp would fail on SQLite if servicenodetable didn't exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-20 17:56:53 +00:00
lissav
bb0a253fb2 fix isServiceRequired routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-13 12:36:13 +00:00
lissav
e5a5ded534 Add isMounted routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-12 19:49:41 +00:00
mellor
48c27d2fb9 bug fix - removed close of servicnodetable when open failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-12 17:10:00 +00:00
lissav
f2c903e89f change to allow groups in servicnode table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-07 17:35:14 +00:00
jbjohnso
806b5ce7ce -Have stateless setup root login from console
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1305 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-07 14:51:12 +00:00
lissav
e5fffdd13d More Service Node support routines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1291 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-06 17:22:15 +00:00
lissav
51c3de7994 Change service node routines to check servicenode table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-06 15:41:58 +00:00
nott
5a5e0c7dc1 Updates for AIX diskless support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1267 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-03 13:01:21 +00:00
lissav
98a0614932 change tar of .xcat directory to _xcat directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1239 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-05-01 13:10:57 +00:00
lissav
3c27aa56cd Add routine to get hash of service nodes and the nodes they service.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-24 17:28:35 +00:00
lissav
df00eacd34 Add routine for getting a list of all service nodes get_AllSN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1174 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-23 19:11:16 +00:00
lissav
3cdd3f9bb4 Add isSN routine to determine if an input node name is a service node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1169 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-23 18:14:57 +00:00
lissav
41329a5990 Change logic for determining when service will be setup.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1142 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-22 13:24:38 +00:00
nott
e67394b13a In create_postscripts_tar add the .xcat subdir to the postscripts tar file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 19:02:56 +00:00
linggao
ed718151f9 hierarchy support in commands handled by ipmi.pm, blade.pm and nodestat.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-15 14:37:26 +00:00
nott
0217abfc1a In create+postscripts_tar() the gzip call needs a "-f".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-14 16:58:54 +00:00
jbjohnso
0815678284 -Fix some perl syntax issues called out by perl -Wc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-14 13:50:28 +00:00
nott
5ec3545c4e Change postcript tar file to gz instead of bz2 so node doesn't need bzip2 installed. (in create_postscripts_tar)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-14 13:19:20 +00:00
bp-sawyers
b754e3eced - fixed xdsh -K again by making Client.pm always require xCAT::NodeRange
- removed many of the v options on the tar cmds to build are not as verbose
- removed an extra fi in xcat.spec %post

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-05 14:53:35 +00:00
sakolish
6e8b437328 Added toIP() function - Line #2054
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-04-02 19:39:39 +00:00
lissav
40b8590c41 Change use of Management Server term to Management Node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@946 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-31 15:52:36 +00:00
lissav
dea0c0ffe3 Rename new routine for determining the service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-31 15:19:42 +00:00
lissav
866ffd64aa fix example
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-28 14:26:35 +00:00
lissav
e1990c117d Add routine to determine service node for list of nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-27 12:35:01 +00:00
lissav
1a78bd1ce7 Add new routine to determine Service Node for node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-26 18:20:05 +00:00
jbjohnso
ae2bece3ec -Have discovery refuse to give the same IP address to multiple nics by default
-Have nbroot explicitly try to send packets out of each up interface
-Prevent empty /etc/motd warnings
-Fix issue where discovery failed with classic MM
-Change check for network sameness to a live check instead of table check in nodediscover
-Have nbroot quiet by default to alleviate conserver log usage
-Have dhcp plugin mac deletion be a bit more aggressive, delete matching mac addresses
-Have discovery disable DHCP offers for multiple NICs on the same network if nothing resembling a proper guess can be made


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-21 20:00:07 +00:00
jbjohnso
91577c2132 -Be more specific abount looking for -n argument on makedhcp
-Have nodeonmynet function more gracefully handle being passed an unresolvable name

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@863 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-20 21:36:49 +00:00
lissav
796d18a705 Add mkdir of autoinst if it does not exist in create_postscripts_tar
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 21:09:38 +00:00
jbjohnso
b5fd684575 Fix the function previously commited to work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 15:36:51 +00:00
jbjohnso
ba7c3e00ab Add a function to extract all classful-looking subnets from a potentially classless network
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-19 15:22:03 +00:00
lissav
fabb8d0740 add restart of daemon when xcatd starts in SN plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-16 13:39:40 +00:00
andywray
e703d06151 Fix creation of postscripts tarball to include .ssh directory.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@781 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-14 04:37:16 +00:00
lissav
aa025ac91d Add isMS routine to check if running on the management Server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-13 12:08:34 +00:00
lissav
df449fdcf9 Add code for tarring /install/postscripts and wget to nodes on install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-12 19:16:44 +00:00
jbjohnso
f51ca380b5 -Have Table plugin read, if available, /etc/xcat/cfgloc automatically if not instructed by XCATCFG
-Add utility for zapping all open database connections
-Use aforementioned utility in ipmi and blade console methods to have cleaner database communication
-Remove the suboptimal /etc/sysconfig/xcat code from the console methods


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-11 20:27:46 +00:00
lissav
a5d87c8915 Check for all possible ip addresses for the Service node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-03-06 18:42:32 +00:00
lissav
a91461d715 fix Service Node install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-29 14:06:01 +00:00
lissav
9aeb214c33 Disable isServiceReq check until we add code to get all ip
addresses for the service node. 

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-28 19:46:39 +00:00
lissav
5abeb1f0a2 Add support for Conserver plugin checks.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-26 19:57:10 +00:00
lissav
fd5e47ed76 Change to inet_ntoa to determine ip address.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-25 15:08:04 +00:00
jbjohnso
655844465b Undo reversion from previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@558 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-25 14:18:18 +00:00
lissav
348baac5da Add more support routines for Service Node setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-25 13:03:17 +00:00
jbjohnso
fcf06207f2 Add mknb as a plugin to do more the correct thing with networks and yaboot and pxelinux configurations, including serial directives in site
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-02-22 21:15:19 +00:00
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
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
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
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