Hi,

I have changed my internal cluster network interface from eth1 to br1 as I wanted to use KVM on the head node. I have changed the network settings with tabedit networks, but makedhcp -n won't create a suitable config (see attachment dhcpd.conf). When I add the br1 config to dhcpd.conf by hand (see attachment dhcpd.conf-20110919), everything works fine.

Did I forget to change something or does makedhcp only support ethX interfaces.


Markus
#xCAT generated dhcp configuration

authoritative;
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 iscsi-initiator-iqn code 203 = string;
ddns-update-style interim;
ignore client-updates;
option client-architecture code 93 = unsigned integer 16;
option gpxe.no-pxedhcp 1;

omapi-port 7911;
key xcat_key {
  algorithm hmac-md5;
  secret "bVJicllFZXZNaW5MMnFLMmdVUWV3SzBWWFRMbWVoM3M=";
};
omapi-key xcat_key;
class "pxe" {
   match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
   ddns-updates off;
    max-lease-time 600;
}
#definition for host node001 aka host node001 can be found in the dhcpd.leases 
file
#definition for host node002 aka host node002 can be found in the dhcpd.leases 
file
#definition for host node003 aka host node003 can be found in the dhcpd.leases 
file
#definition for host node004 aka host node004 can be found in the dhcpd.leases 
file
#definition for host node005 aka host node005 can be found in the dhcpd.leases 
file
#definition for host node006 aka host node006 can be found in the dhcpd.leases 
file
#definition for host node007 aka host node007 can be found in the dhcpd.leases 
file
#definition for host node008 aka host node008 can be found in the dhcpd.leases 
file
#definition for host node101 aka host node101 can be found in the dhcpd.leases 
file
#definition for host node102 aka host node102 can be found in the dhcpd.leases 
file
#definition for host node103 aka host node103 can be found in the dhcpd.leases 
file
#definition for host node104 aka host node104 can be found in the dhcpd.leases 
file
#definition for host node105 aka host node105 can be found in the dhcpd.leases 
file
#definition for host node106 aka host node106 can be found in the dhcpd.leases 
file
#definition for host node107 aka host node107 can be found in the dhcpd.leases 
file
#definition for host node108 aka host node108 can be found in the dhcpd.leases 
file
#definition for host node109 aka host node109 can be found in the dhcpd.leases 
file
#definition for host node110 aka host node110 can be found in the dhcpd.leases 
file
#definition for host node111 aka host node111 can be found in the dhcpd.leases 
file
#definition for host node112 aka host node112 can be found in the dhcpd.leases 
file
#definition for host node113 aka host node113 can be found in the dhcpd.leases 
file
#definition for host node114 aka host node114 can be found in the dhcpd.leases 
file
#definition for host node115 aka host node115 can be found in the dhcpd.leases 
file
#definition for host node116 aka host node116 can be found in the dhcpd.leases 
file
#definition for host node117 aka host node117 can be found in the dhcpd.leases 
file
#definition for host node118 aka host node118 can be found in the dhcpd.leases 
file
#definition for host node119 aka host node119 can be found in the dhcpd.leases 
file
#definition for host node120 aka host node120 can be found in the dhcpd.leases 
file
#definition for host node121 aka host node121 can be found in the dhcpd.leases 
file
#xCAT generated dhcp configuration

authoritative;
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 iscsi-initiator-iqn code 203 = string;
ddns-update-style interim;
ignore client-updates;
option client-architecture code 93 = unsigned integer 16;
option gpxe.no-pxedhcp 1;

omapi-port 7911;
key xcat_key {
  algorithm hmac-md5;
  secret "bVJicllFZXZNaW5MMnFLMmdVUWV3SzBWWFRMbWVoM3M=";
};
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 br1 {
  subnet 10.255.0.0 netmask 255.255.0.0 {
    max-lease-time 43200;
    min-lease-time 43200;
    default-lease-time 43200;
    option routers  10.255.0.1;
    next-server  10.255.0.1;
    option log-servers 10.255.0.1;
    option ntp-servers 10.255.0.1;
    option domain-name "cluster";
    option domain-name-servers  10.255.0.1, 131.246.9.116;
    zone cluster. {
   primary 10.255.0.1; key xcat_key; 
 }
zone 255.10.IN-ADDR.ARPA. {
   primary 10.255.0.1; key xcat_key; 
 }
    if option user-class-identifier = "xNBA" { #x86, xCAT Network Boot Agent
       filename = "http://10.255.0.1/tftpboot/xcat/xnba/nets/10.255.0.0_16";;
    } 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:02 { #ia64
       filename "elilo.efi";
    } else if substring(filename,0,1) = null { #otherwise, provide yaboot if 
the client isn't specific
       filename "/yaboot";
    }
  } # 10.255.0.0/255.255.0.0 subnet_end
} # br1 nic_end
shared-network br0 {
  subnet 131.246.136.64 netmask 255.255.255.192 {
    max-lease-time 43200;
    min-lease-time 43200;
    default-lease-time 43200;
    next-server  131.246.136.73;
    option log-servers 131.246.136.73;
    option ntp-servers 131.246.136.73;
    option domain-name "cluster";
    option domain-name-servers  10.255.0.1, 131.246.9.116;
    zone cluster. {
   primary 10.255.0.1; key xcat_key; 
 }
zone 136.246.131.IN-ADDR.ARPA. {
   primary 10.255.0.1; key xcat_key; 
 }
    if option user-class-identifier = "xNBA" { #x86, xCAT Network Boot Agent
       filename = 
"http://131.246.136.73/tftpboot/xcat/xnba/nets/131.246.136.64_26";;
    } 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:02 { #ia64
       filename "elilo.efi";
    } else if substring(filename,0,1) = null { #otherwise, provide yaboot if 
the client isn't specific
       filename "/yaboot";
    }
  } # 131.246.136.64/255.255.255.192 subnet_end
} # br0 nic_end

#definition for host node001 aka host node001 can be found in the dhcpd.leases 
file
#definition for host node002 aka host node002 can be found in the dhcpd.leases 
file
#definition for host node003 aka host node003 can be found in the dhcpd.leases 
file
#definition for host node004 aka host node004 can be found in the dhcpd.leases 
file
#definition for host node005 aka host node005 can be found in the dhcpd.leases 
file
#definition for host node006 aka host node006 can be found in the dhcpd.leases 
file
#definition for host node007 aka host node007 can be found in the dhcpd.leases 
file
#definition for host node008 aka host node008 can be found in the dhcpd.leases 
file
#definition for host node101 aka host node101 can be found in the dhcpd.leases 
file
#definition for host node102 aka host node102 can be found in the dhcpd.leases 
file
#definition for host node103 aka host node103 can be found in the dhcpd.leases 
file
#definition for host node104 aka host node104 can be found in the dhcpd.leases 
file
#definition for host node105 aka host node105 can be found in the dhcpd.leases 
file
#definition for host node106 aka host node106 can be found in the dhcpd.leases 
file
#definition for host node107 aka host node107 can be found in the dhcpd.leases 
file
#definition for host node108 aka host node108 can be found in the dhcpd.leases 
file
#definition for host node109 aka host node109 can be found in the dhcpd.leases 
file
#definition for host node110 aka host node110 can be found in the dhcpd.leases 
file
#definition for host node111 aka host node111 can be found in the dhcpd.leases 
file
#definition for host node112 aka host node112 can be found in the dhcpd.leases 
file
#definition for host node113 aka host node113 can be found in the dhcpd.leases 
file
#definition for host node114 aka host node114 can be found in the dhcpd.leases 
file
#definition for host node115 aka host node115 can be found in the dhcpd.leases 
file
#definition for host node116 aka host node116 can be found in the dhcpd.leases 
file
#definition for host node117 aka host node117 can be found in the dhcpd.leases 
file
#definition for host node118 aka host node118 can be found in the dhcpd.leases 
file
#definition for host node119 aka host node119 can be found in the dhcpd.leases 
file
#definition for host node120 aka host node120 can be found in the dhcpd.leases 
file
#definition for host node121 aka host node121 can be found in the dhcpd.leases 
file
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to