Hi all,
After upgrading to 2.9.1 from 2.9.0, !remote! definitions in the
network table is no longer generating the required shared-network
stanzas in /etc/dhcp/dhcpd.conf for CentOS 6.
I noticed that the man page for "networks" states the format needs to
now be !remote!<nicname>, so I have tried
site.dhcpinterfaces=eth1,!remote! eth1,!remote!eth1 and finally
eth1,!remote!<eth1> while also updating networks.mgtifname to the same
thing to no avail, I cannot get the shared network stanza to be
generated anymore in dhcpd.conf.
This all worked fine prior to the 2.9.1 upgrade. No configuration
changes were made between the 2.9.0 and 2.9.1 upgrade. Any help is
appreciated, thanks!
Here's what my current tables look like:
Site table:
"dhcpinterfaces","eth1,!remote!",,
Networks table:
#netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,staticrange,staticrangeincrement,nodehostname,ddnsdomain,vlanid,domain,comments,disable
"10_55_Corporate","10.55.167.0","255.255.255.0","eth0","10.55.167.1",,"10.55.167.32",,,,,,,,,,,,
"172_21_0_0_xCAT_Management","172.21.0.0","255.255.255.0","eth1","172.21.0.254",,,,,,,,,,,,,,
"172_21_1_0_APU","172.21.1.0","255.255.255.0","!remote!","172.21.1.254","172.21.0.1","172.21.0.1",,,,,,,,,,,,
"172_40_0_0_Infiniband","172.40.0.0","255.255.0.0",,,,,,,,,,,,,,,,
"172_21_2_0_RDHPC","172.21.2.0","255.255.255.0","!remote!","172.21.2.254","172.21.0.1","172.21.0.1",,,,,,,,,,,,
Output from makedhcp -n:
Renamed existing dhcp configuration file to /etc/dhcp/dhcpd.conf.xcatbak
Warning: No dynamic range specified for 172.21.0.0. If hardware
discovery is being used, a dynamic range is required.
[root@evxcat dhcp]#
[root@evxcat dhcp]# cat /etc/dhcp/dhcpd.conf
#xCAT generated dhcp configuration
authoritative;
option conf-file code 209 = text;
option space isan;
option isan-encap-opts code 43 = encapsulate isan;
option isan.iqn code 203 = string;
option isan.root-path code 201 = string;
option space gpxe;
option gpxe-encap-opts code 175 = encapsulate gpxe;
option gpxe.bus-id code 177 = string;
option user-class-identifier code 77 = string;
option gpxe.no-pxedhcp code 176 = unsigned integer 8;
option tcode code 101 = text;
option iscsi-initiator-iqn code 203 = string;
ddns-update-style interim;
ignore client-updates;
option client-architecture code 93 = unsigned integer 16;
option tcode "America/Chicago";
option gpxe.no-pxedhcp 1;
omapi-port 7911;
key xcat_key {
algorithm hmac-md5;
secret "VXNsUjJONllDUUVuTERNcUpYanowV0h0bDdsY1AweGE=";
};
omapi-key xcat_key;
class "pxe" {
match if substring (option vendor-class-identifier, 0, 9) =
"PXEClient";
ddns-updates off;
max-lease-time 600;
}
shared-network eth1 {
subnet 172.21.0.0 netmask 255.255.255.0 {
max-lease-time 43200;
min-lease-time 43200;
default-lease-time 43200;
option routers 172.21.0.254;
next-server 172.21.0.1;
option log-servers 172.21.0.1;
option ntp-servers 172.21.0.1;
option domain-name "evcluster";
option domain-name-servers 172.21.0.1;
option domain-search "evcluster";
zone evcluster. {
primary 172.21.0.1; key xcat_key;
}
zone 0.21.172.IN-ADDR.ARPA. {
primary 172.21.0.1; key xcat_key;
}
if option user-class-identifier = "xNBA" and option client-architecture
= 00:00 { #x86, xCAT Network Boot Agent
always-broadcast on;
filename = "http://172.21.0.1/tftpboot/xcat/xnba/nets/172.21.0.0_24";
} else if option user-class-identifier = "xNBA" and option
client-architecture = 00:09 { #x86, xCAT Network Boot Agent
filename =
"http://172.21.0.1/tftpboot/xcat/xnba/nets/172.21.0.0_24.uefi";
} else if option client-architecture = 00:00 { #x86
filename "xcat/xnba.kpxe";
} else if option vendor-class-identifier = "Etherboot-5.4" { #x86
filename "xcat/xnba.kpxe";
} else if option client-architecture = 00:07 { #x86_64 uefi
filename "xcat/xnba.efi";
} else if option client-architecture = 00:09 { #x86_64 uefi alternative
id
filename "xcat/xnba.efi";
} else if option client-architecture = 00:02 { #ia64
filename "elilo.efi";
} else if option client-architecture = 00:0e { #OPAL-v3
option conf-file =
"http://172.21.0.1/tftpboot/pxelinux.cfg/p/172.21.0.0_24";
} else if substring(filename,0,1) = null { #otherwise, provide yaboot
if the client isn't specific
filename "/yaboot";
}
} # 172.21.0.0/255.255.255.0 subnet_end
} # eth1 nic_end
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user