Commit Graph

79 Commits

Author SHA1 Message Date
mxi1
e979a2f338 dhcp 4.x will use /etc/dhcp/dhcpd.conf as its config file, and redhat6/fedora12/fedora13 is using it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6623 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-30 09:54:19 +00:00
jbjohnso
b3142c9da2 -Ignore client dns requests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6576 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 15:22:12 +00:00
jbjohnso
9c58ca3672 -Place dynamic range tracking into a place that will actually run
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 19:19:47 +00:00
jbjohnso
04cc2a0c2a -Fix syntax errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6490 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 18:57:36 +00:00
jbjohnso
bd743d0cb8 -Avoid creating static bindings within dynamic range
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 18:47:53 +00:00
jbjohnso
8bb334af07 -Fix reverse zone names
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 18:23:30 +00:00
jbjohnso
60939a4911 -Fix class a and b reverse zone names
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 18:14:47 +00:00
jbjohnso
e86355311d -Fix bug in makedhcp for ddns zone definition
-Have dns.pm touch all relevant zones, not just ones needed for that run (to allow external ddns operations such as DHCP)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6481 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 17:59:42 +00:00
jbjohnso
915cdcfb67 -Fix syntax error in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-15 15:28:05 +00:00
jbjohnso
19da13b60e -Fix problem where dhcp would not re-examine things like next-server in multi-homed nodes properly
-Add reverse DNS zone determination


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-15 15:21:29 +00:00
linggao
0e6d47bac8 changed site attribute dhcpsnonly to disjointdhcps
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6398 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-08 19:55:46 +00:00
linggao
7d1b13795e dhcp server only serves children nodes if dhcpsnonly is set in the site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-08 19:22:25 +00:00
jbjohnso
87ac9bc930 -Fix netboot DDNS suppression in DHCP
-Change zone filenames to go full domain in dns.pm for now


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-08 19:14:48 +00:00
jbjohnso
be3e39bc3d -Make dhcp host declarations more similar to each other by relying upon differences at the network declaration level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6330 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 12:49:23 +00:00
jbjohnso
aca218eae7 -Have makedhcp work for floating ip behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-01 20:40:23 +00:00
jbjohnso
12d0244fca -Another dhcpd.conf fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-24 18:37:16 +00:00
jbjohnso
4ed85bba5e -Fix dhcp syntax mistakes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-24 18:31:16 +00:00
jbjohnso
1a95a8e9cc -Specify the ddns-hostname on nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-21 20:59:03 +00:00
jbjohnso
f063fac070 -Fix variable name typo
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-21 20:38:18 +00:00
jbjohnso
91c764484d -Prevent ddns induced by PXE (still won't help floating Windows<->Linux multiboot, that requires fixed-address for ipv4)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-21 00:54:05 +00:00
jbjohnso
31e4829ad9 -Enable DHCP server to update DNS
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-20 00:56:15 +00:00
jbjohnso
10faffab4a -Undo pointless change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-20 00:20:59 +00:00
jbjohnso
623c9f512a -Both send host-name down to client and force server interpretation to be nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-20 00:16:44 +00:00
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