Commit Graph

103 Commits

Author SHA1 Message Date
jbjohnso
61e8a4ec3a Stop restarting dhcpd on merely adding a NIC. If a NIC is v4 or v6 only, it
is going to be reaped as an empty entry anyway.
Rely on flag being set in addnet, which would be the place of substance
to know if (and which) dhcp service needs restarting


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 13:29:32 +00:00
wanghuaz
b0009e4427 fixed bug: 3170686, nodeset modify config file dhcpd.lease
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-18 07:13:12 +00:00
ligc
cfb3c68892 change networks.gateway value <myself> to <xcatmaster>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-22 02:22:58 +00:00
ligc
ad652bc828 keyword <myself> as gateway in networks table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 03:15:01 +00:00
jbjohnso
bea95cbe38 Rework message when uuid is not available to be less severe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-16 15:51:08 +00:00
jbjohnso
0d2ea2a9ed -Allow per-network ddns suffix
-Change the genduiduuid script to avoid the quote as ascii


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-15 20:54:40 +00:00
jbjohnso
fe2a9d9eaa -Skip putting ddns update zones in dhcp.pm if dnshandler not set to ddns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-11 18:06:26 +00:00
jbjohnso
8df8c91166 -Correct to use getipaddr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-27 19:12:56 +00:00
jbjohnso
7a16766e74 Use getNodeIPaddress again with OnlyV4 enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-27 18:55:09 +00:00
jbjohnso
b1b2aaf7dc -Add domain to ipv6 networks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-27 17:57:32 +00:00
jbjohnso
38cfe5cafe -Further tweaks to IPv6 dhcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-27 15:34:22 +00:00
jbjohnso
024bd58060 -Fix error in dhcp.pm change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-26 14:47:59 +00:00
jbjohnso
32a0a48bdb -Support non-contiguous ranges for ISC dhcp (linux)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-26 14:13:05 +00:00
jbjohnso
e9af6db2fd -Have DHCPv4 specific operation specifically use IPv4 name resolution
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-24 16:10:39 +00:00
jbjohnso
47d86fe4b6 -Prevent empty subnet declarations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-21 23:34:11 +00:00
jbjohnso
07154d7127 -Correct mistake in dhcp.pm management of ipv6 subnets
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-20 21:24:09 +00:00
jbjohnso
b79f2db323 -Fix dhcp.pm in non-ipv6 environments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-18 16:27:00 +00:00
yinle
698a1919de FSP/BPA redundancy: change the way of finding node's IP address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-18 07:51:06 +00:00
yinle
8fa83d7571 FSP/BPA redundancy: parse input nodes, change CEC/Frame nodes into FSP/BPA nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-18 06:11:32 +00:00
jbjohnso
95e5fbfa0f -Implement phase 1 or IPv6 with DHCP (still needs Utils twek for nodeonmynet)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-17 19:17:38 +00:00
yinle
fda179cf96 someone wrote the same sentence twice, I modified it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-17 03:21:48 +00:00
wanghuaz
57899c99ea add hfi support in dhcp and running on rhel6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-13 07:33:33 +00:00
jbjohnso
7afadc07fc Correct mistaken checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8329 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-06 16:42:01 +00:00
jbjohnso
d80f159f4d -Fix autocommit defaulting for realautocommit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-06 16:40:25 +00:00
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