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
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
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
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
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
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
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
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
lissav
a7b74a09be
Add support to update ssh keys
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-20 19:02:45 +00:00
linggao
30bc521a90
added cron job functions in Utils.pm. Added monitoring table. Added status column in nodelist table. Added monserver column in noderes table. Added SetAttributesWhere function in Table.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@91 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-11-28 19:44:47 +00:00
lissav
fba82fb8ca
Added runcmd subroutine to support dsh and cfm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@83 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-11-27 14:22:04 +00:00
jbjohnso
c99d72a179
Initial xCAT 2.0 import
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-10-26 22:44:33 +00:00