Commit Graph

22 Commits

Author SHA1 Message Date
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