1. Show me the definition of node by 'lsdef n01', and make sure the
'netboot=pxe'. And you also can set the 'netboot=xnba' and to see there is
'server.filename' keyword in the dhcpd.leases file for the n01 node.
2. Check the 'inet addr:10.1.11.254 Bcast:10.255.255.255 Mask:255.0.0.0'
4. You can try the 'updatenode n01 -F -V' to get verbose information. You
should get message 'Internal call command: xdcp
-F /install/custom/install/rh/centos6.1-x86_64-install-compute.synclist'.
If yes, you need to check the entries in the synclist.
Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (ÍõÏþÅó)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: ***@cn.ibm.com
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193
From: Sten Wolf <***@checkpalm.com>
To: xcat-***@lists.sourceforge.net
Date: 2011-12-24 19:42
Subject: Re: [xcat-user] xcat 2.6.10 makedhcp pxe issues
Hi, thank responding
Did the following:
# nodeset n01 osimage=centos6.1-x86_64-install-compute
n01: install centos6.1-x86_64-compute
# rm -f /etc/dhcp/dhcpd.conf /var/lib/dhcpd/dhcpd.leases*
# makedhcp -n
# cat /etc/dhcp/dhcpd.conf
#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 "UVkxT3BMbm9TVGtTNW9hVktCdjBtYmhNQml2NzBQNTQ=";
};
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 10.1.10.0 netmask 255.255.255.0 {
max-lease-time 43200;
min-lease-time 43200;
default-lease-time 43200;
next-server 10.1.10.254;
option log-servers 10.1.10.254;
option ntp-servers 10.1.10.254;
option domain-name "cluster";
option domain-name-servers 10.1.10.254;
zone cluster. {
primary 10.1.10.254; key xcat_key;
}
zone 10.1.10.IN-ADDR.ARPA. {
primary 10.1.10.254; key xcat_key;
}
if option user-class-identifier = "xNBA" { #x86, xCAT Network
Boot Agent
filename =
"http://10.1.10.254/tftpboot/xcat/xnba/nets/10.1.10.0_24";
} 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";
}
range dynamic-bootp 10.1.10.100 10.1.10.200;
} # 10.1.10.0/255.255.255.0 subnet_end
subnet 10.0.0.0 netmask 255.0.0.0 {
max-lease-time 43200;
min-lease-time 43200;
default-lease-time 43200;
next-server 10.1.11.254;
option log-servers 10.1.11.254;
option ntp-servers 10.1.10.254;
option domain-name "cluster";
option domain-name-servers 10.1.10.254;
zone cluster. {
primary 10.1.10.254; key xcat_key;
}
zone 10.IN-ADDR.ARPA. {
primary 10.1.10.254; key xcat_key;
}
if option user-class-identifier = "xNBA" { #x86, xCAT Network
Boot Agent
filename =
"http://10.1.11.254/tftpboot/xcat/xnba/nets/10.0.0.0_8";
} 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.0.0.0/255.0.0.0 subnet_end
} # eth1 nic_end
2. Regarding (2) there is no 10.0.0.0/8 defined on any nic:
# ifconfig -a | grep "inet addr"
inet addr:192.168.2.127 Bcast:192.168.2.255 Mask:255.255.255.0
inet addr:10.1.10.254 Bcast:10.255.255.255 Mask:255.255.255.0
inet addr:10.1.11.254 Bcast:10.255.255.255 Mask:255.0.0.0
inet addr:10.1.12.254 Bcast:10.1.12.255 Mask:255.255.255.0
inet addr:127.0.0.1 Mask:255.0.0.0
and
# lsdef -t site -i dhcpinterfaces
Object name: clustersite
dhcpinterfaces=eth1
# ifconfig eth1 | grep inet
inet addr:10.1.10.254 Bcast:10.255.255.255 Mask:255.255.255.0
1. Regarding (1)
# cat /var/lib/dhcpd/dhcpd.leases
# The format of this file is documented in the dhcpd.leases(5) manual
page.
# This lease file was written by isc-dhcp-4.1.1-P1
server-duid "\000\001\000\001\026\210o\224\000%\220J\205\215";
# makedhcp -a n01
# cat /var/lib/dhcpd/dhcpd.leases
# The format of this file is documented in the dhcpd.leases(5) manual
page.
# This lease file was written by isc-dhcp-4.1.1-P1
server-duid "\000\001\000\001\026\210o\224\000%\220J\205\215";
host n01 {
dynamic;
hardware ethernet 00:25:90:4a:88:dc;
fixed-address 10.1.10.1;
supersede server.ddns-hostname = "n01";
supersede host-name = "n01";
supersede server.next-server = 0a:01:0a:fe;
}
and /etc/dhcp/dhcpd.conf remains the same (just added a line at the end
about updating dhcpd.leases)
4. Regarding (4) as you can see above, executed nodeset with the osimage
param, yet updatenode -F still doesn't work (the param was set correctly -
all other attributes of the osimage were used in deployment, incl. pkglist
and otherpkglist)
Thanks,
Any help will be appreciated.
On 23/12//2011 13:12, xcat-user-***@lists.sourceforge.net wrote:
1. I could not recreate this issue on 2.6.10. If set the netboot=pxe,
I got following configuration in the dhcpd.leases. Could you try to
remove the section for you node from the dhcpd.leases and run
makedhcp again?
host kvm1 {
dynamic;
hardware ethernet 42:1a:6d:fa:64:ae;
fixed-address 192.168.5.59;
supersede server.ddns-hostname = "kvm1";
supersede host-name = "kvm1";
if option vendor-class-identifier = "ScaleMP" {
supersede server.filename = "vsmp/pxelinux.0";
} else {
supersede server.filename = "pxelinux.0";
}
supersede server.next-server = c0:a8:05:54;
}
2. makedhcp -n will generate network entry against the interfaces of
the management nodes. Could you check the interfaces from 'ifconfig
-a'?
3. I should not be caused by xCAT. You can control it by yourself.
4. If you'd like to use the osimage to specify the synclist
configuration file, you need to run the 'nodeset node osimage=
centos6.1-x86_64-install-compute' to specify the osimage for the node
to install.
Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (ÍõÏþÅó)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: ***@cn.ibm.com
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193
Inactive hide details for Sten Wolf ---2011-12-23
04:40:58---Hi all, Just installed a new mini cluster
(SuperMicro HW , CentOSSten Wolf ---2011-12-23 04:40:58---Hi all,
Just installed a new mini cluster (SuperMicro HW , CentOS x64 6.1 ,
xcat 2.6.10 , diskfull
From: Sten Wolf <***@checkpalm.com>
To: xcat-***@lists.sourceforge.net
Date: 2011-12-23 04:40
Subject: [xcat-user] xcat 2.6.10 makedhcp pxe issues
Hi all,
Just installed a new mini cluster (SuperMicro HW , CentOS x64 6.1 ,
xcat 2.6.10 , diskfull install) and ran into a few issues.
1. PXE. noderes.netboot is set to pxe, yet makedhcp only configures
xnba. In /var/log/messages atftpd is trying to push xcat/xnba instead
of pxelinux.0.
Had to manually change the two filename statements (in if option
client-architecture = 00:00 and in if option vendor-class-identifier
= "Etherboot-5.4") to "/pxelinux.0". (nodeset is working correctly,
creating the correct symlinks in pxelinux.cfg)
2. makedhcp -n creates an additional wrong zone
the networks table has private network aet to 10.1.10.0/24, but
makedhcp -n creates two zones - 10.1.10.0/24 and 10.0.0.0/8. Remove
that one too, while I made the changes to filename.
after these too changes the installation finished with almost no
issues. The following still unresolved:
3. After every reboot (including at end of install) the new node
delays with message
Probing EDD (edd=off to disable) ....
I know I can disable it with kcmdline edd=off, but was wandering why
this happens, and if ignoring it is the best solution.
4. updatenode -F doesn't synclist.
I used
chdef -t osimage -o centos6.1-x86_64-install-compute
synclists="/install/custom/install/centos/centos6.1-x86_64-install-compute.synclist"
and confirmed it with
lsdef node01 --osimage
none of the files in the synclist file is copied to the target.
I Will appreciate any help
Thanks
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
xCAT-user mailing list
xCAT-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user