Commit Graph

56 Commits

Author SHA1 Message Date
wanghuaz
53031e65db Fixed bug 2987151: makedhcp have one issue with a clean DHCP configuration file on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 06:56:26 +00:00
wanghuaz
9cdf977a6e Add duplicated IP address in hosts table check in makedhcp -a. This could prevent duplicated entries in dhcp configuration file or lease file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 11:58:33 +00:00
wanghuaz
c045bdb945 Format the mac address to Linux mode before using on Linux OS
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-02 11:09:24 +00:00
jbjohnso
e196a2943f -Fix problem in 2.4 where a refactoring removed code that gave explicit IP deassignment to *NOIP* mac addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-01 19:10:37 +00:00
ligc
e9eb321c8c fix for bug 2970489: makedhcp warning message indicates that the dhcp dynamic range is required only for hardware discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-18 05:47:05 +00:00
jbjohnso
01921e0c3f -Add vSMP foundation support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5363 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-04 15:30:12 +00:00
daniceexi
86e96e81bf defect 2948369: use subroutine getTftpDir to get tftp dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 09:07:50 +00:00
jbjohnso
a8c1a1a560 -Implement/fix locking for dhcp/hosts management plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 15:00:51 +00:00
wanghuaz
d8e7b73f26 Part code check for class ready feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 08:12:33 +00:00
zhanx
6e1236287c 2845954 makedhcp -n does not create ip address within dynamicrange
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 11:33:51 +00:00
jbjohnso
d33eb736f1 -Update dhcp plugin to properly do pxe when not xnba
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-28 14:07:42 +00:00
jbjohnso
620509cc9b -If user specifies filename as an argument, don't override
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4215 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-23 18:35:19 +00:00
zhanx
7756701952 Additional fix for bug 2845224 makedhcp -n does not create /etc/dhcpsd.cnf file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4065 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-01 12:13:33 +00:00
zhanx
bb78a4f0e1 fix bug 2845224, makedhcp -n does not create /etc/dhcpsd.cnf file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-27 08:15:01 +00:00
jbjohnso
d1b51b68e1 -Use xNBA even for Etherboot (it should have patches to fix Etherboot compatibility)
-Change pxelinpx.0 handling to ensure it is the version that we have done version validation on
-Use pxelinux.0 out of a directory under 'xcat' so that xCAT maintains a healthier filesystem namespace to avoid conflicts


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-24 18:25:17 +00:00
jbjohnso
40263e2c9e -Change to detect specifically when xNBA is attempting a boot, as some enhancements are made that are not yet in gPXE
-Use http even for initial configuration when xNBA is detected


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-21 23:58:12 +00:00
mxi1
b2e83c7cc1 -defect 2817258 is fixed; add the check point for inet_ntoa
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-21 06:48:40 +00:00
lissav
5a3cd7d7f6 update with use of _xcatpreprocessed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 14:36:56 +00:00
zhanx
649845721b CRHS-like function code drop: change makedhcp to support AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-07 02:07:30 +00:00
jbjohnso
44eb3f9b77 -Let gPXE explicitly know no ProxyDHCP offer is coming and to take the given offer instead
-Specify Initiator IQN for gPXE and IBM iSCSI configuration via DHCP


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3711 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-06 21:05:44 +00:00
jbjohnso
f712b51ad6 -Move to using gPXE/http for a lot of traffic
-Have pxe plugin handle addkcmdline


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-29 18:37:45 +00:00
jbjohnso
a841e654d5 (comments apply to 3214 and this one ,accidental 3214 checkin)
-Allow getAllNodeAttribs to return in a hash organization through a new argument
-Have nodeonmynet return true for any 'remote' node (makedhcp/nodeset fix for proxied networks)
-rbeacon without argument now presumes stat for blades
-KVM support now auto-generates as many macs as required to have a mac per nic
-KVM plugin tracks and avoids collision of macs among the set xCAT manages



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-17 20:29:52 +00:00
jbjohnso
078aca4c5c -Correct typo in a SLES11 template.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-17 16:35:54 +00:00
jbjohnso
90e9b7f573 -Handle remote interfaces again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 18:05:37 +00:00
jbjohnso
c62af3f608 -Fix problem where dhcpinterfaces was not being honored in the simplest case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-03 18:03:08 +00:00
jbjohnso
87bdbd136f -Fix nodeset at tftp setup time, and prevent makedhcp from farming out when nodeset was already farmed out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 15:03:36 +00:00
jbjohnso
f295d30fa8 -Fix makedhcp without extra arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-28 07:03:25 +00:00
jbjohnso
f4e80e3725 -Fix syntax error in code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-27 21:08:42 +00:00
jbjohnso
beeeada23b -Ensure that dhcp/conserver cfg is only manipulated on local service node on start
-Enable makedhcp to allow local only operation


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-27 21:00:36 +00:00
mxi1
74e5cf6e40 use %activenics to config /etc/sysconfig/dhcpd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-27 18:03:48 +00:00
jbjohnso
837c6ec620 -Fix problem where gatewayed networks were processed by default
-Fix problem where noderanges in dhcpinterfaces would not be effective


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-27 15:13:25 +00:00
jbjohnso
8d7a6b312b -Secure permissions on dhcpd.conf to prevent tampering using secret key
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 20:33:07 +00:00
jbjohnso
ecb66952c6 -Use ntp/log server settings from tables if applicable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3006 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 20:27:55 +00:00
jbjohnso
a09d1db241 -Implement log, ntp, dns server list processing for dhcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3004 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 20:08:18 +00:00
jbjohnso
f1816c0d7b -Don't add gatewayed entries from netstat output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 18:21:36 +00:00
jbjohnso
8bb890df80 -Go to not using the table except for '!remote!' interfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 18:13:25 +00:00
mxi1
193cb671ef Fixed bug#2689644 &#2041846, "makedhcp -n" will update /etc/sysconfig/dhcpd according to the netowrks table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 05:28:38 +00:00
jbjohnso
ab1dd57f50 -Actually think about processing '!remote!' entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-17 20:50:39 +00:00
jbjohnso
0d8bde84e0 -Implement syntax to declare remote networks in networks table for dhcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2925 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-17 20:11:27 +00:00
jjhua
c85652a6e2 bug 2151149 ; makedhcp -h;There isn't any output information. I have fixed it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-19 10:00:28 +00:00
jbjohnso
d9c3451dce -Try dhcpd configuration without going to shared-network declarations to see if anything is broken
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-16 21:47:33 +00:00
jbjohnso
f21fe9d904 -Fix bug in new networks table based scheme for detecting nics
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2529 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-12-02 18:36:32 +00:00
vallard
5a6e9f8d2b added routed dhcp capabilities
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-26 00:00:54 +00:00
jbjohnso
290cc8d22d -Avoid telling a non-PXE compliant client to download undionly.kpxe (Etherboot, ironically, hangs when told to do this)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-07 14:12:16 +00:00
jbjohnso
e11fc2c3b4 -Fix problem where failed migration caused xCAT to lose track of Xen hypervisor
-Fix problem where the gPXE dhcp configuration would not work


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-11-07 14:11:05 +00:00
jbjohnso
431bbf8509 -iSCSI boot changes to take advantage of gPXE if available
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-30 14:37:56 +00:00
lissav
5f0e5dad2b fix setup of service node dhcp based on site table input of dhcpinterfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2291 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-07 16:40:00 +00:00
jbjohnso
9beaef4c8c -Fix malformed dhcpd configuration file creation by dhcp plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 13:56:48 +00:00
jbjohnso
fd5fef885c -Provide error message when passwd table being messed up precludes makedhcp from performing an operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2103 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-08 23:12:41 +00:00
jbjohnso
886b0dc575 -Change Xen default disk setup to create IDE drives for some Xen BIOSes and Windows stability
-Have dhcpd recognize Etherboot clients and presume x86 (Xen net boot support)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-04 19:36:23 +00:00