Discussion:
[xcat-user] xcat 2.6.10 makedhcp pxe issues
Sten Wolf
2011-12-22 20:17:00 UTC
Permalink
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" text="#000000"
bgcolor="#FFFFFF">
Hi all,<br>
<br>
Just installed a new mini cluster (SuperMicro HW , CentOS x64 6.1 ,
xcat 2.6.10 , diskfull install) and ran into a few issues.<br>
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.<br>
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)<br>
2. makedhcp -n creates an additional wrong zone<br>
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.<br>
<br>
after these too changes the installation finished with almost no
issues. The following still unresolved:<br>
3. After every reboot (including at end of install) the new node
delays with message <br>
<pre class="bbcodeblock" dir="ltr" style="
margin: 0px;
margin-right: -99999px;
padding: 3px;
border: 1px inset;
width: 98%;
height: 34px;
text-align: left;
overflow: auto">Probing EDD (edd=off to disable) ....
</pre>
<br>
I know I can disable it with kcmdline edd=off, but was wandering why
this happens, and if ignoring it is the best solution.<br>
<br>
4. updatenode -F doesn't synclist.<br>
I used <br>
chdef -t osimage -o centos6.1-x86_64-install-compute
synclists="/install/custom/install/centos/centos6.1-x86_64-install-compute.synclist"<br>
and confirmed it with <br>
lsdef node01 --osimage<br>
<br>
none of the files in the synclist file is copied to the target.<br>
<br>
I Will appreciate&nbsp; any help<br>
Thanks<br>
<br>
</body>
</html>
Xiao Peng Wang
2011-12-23 11:09:41 UTC
Permalink
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



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
Sten Wolf
2011-12-24 11:40:40 UTC
Permalink
Xiao Peng Wang
2011-12-26 01:04:37 UTC
Permalink
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
dani
2011-12-24 11:38:52 UTC
Permalink
Sten Wolf
2011-12-27 03:05:20 UTC
Permalink
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
text="#000000">
<p>1. lsdef n01</p>
<p># lsdef n01<br>
Object name: n01<br>
&nbsp;&nbsp;&nbsp; arch=x86_64<br>
&nbsp;&nbsp;&nbsp; bmc=ipmi01<br>
&nbsp;&nbsp;&nbsp; bmcpassword=ADMIN<br>
&nbsp;&nbsp;&nbsp; bmcusername=ADMIN<br>
&nbsp;&nbsp;&nbsp; currchain=boot<br>
&nbsp;&nbsp;&nbsp; currstate=install centos6.1-x86_64-compute<br>
&nbsp;&nbsp;&nbsp; groups=ipmi,compute,all<br>
&nbsp;&nbsp;&nbsp; hostnames=n01.cluster<br>
&nbsp;&nbsp;&nbsp; initrd=xcat/centos6.1/x86_64/initrd.img<br>
&nbsp;&nbsp;&nbsp; installnic=mac<br>
&nbsp;&nbsp;&nbsp; interface=eth0<br>
&nbsp;&nbsp;&nbsp; ip=10.1.10.1<br>
&nbsp;&nbsp;&nbsp; kcmdline=nofb utf8 ks=<a class="moz-txt-link-freetext" href="http://10.1.10.254/install/autoinst/n01">http://10.1.10.254/install/autoinst/n01</a>
ksdevice=00:25:90:4A:88:DC console=tty0 console=ttyS0,115200n8r
noipv6<br>
&nbsp;&nbsp;&nbsp; kernel=xcat/centos6.1/x86_64/vmlinuz<br>
&nbsp;&nbsp;&nbsp; mac=00:25:90:4A:88:DC<br>
&nbsp;&nbsp;&nbsp; mgt=ipmi<br>
&nbsp;&nbsp;&nbsp; netboot=pxe<br>
&nbsp;&nbsp;&nbsp; nfsserver=10.1.10.254<br>
&nbsp;&nbsp;&nbsp; nodetype=osi<br>
&nbsp;&nbsp;&nbsp; os=centos6.1<br>
&nbsp;&nbsp;&nbsp; otherinterfaces=ipmi01:10.1.11.1,ib01:10.1.12.1<br>
&nbsp;&nbsp;&nbsp;
postscripts=syslog,remoteshell,syncfiles,initial_fstab,otherpkgs,ofed<br>
&nbsp;&nbsp;&nbsp; primarynic=mac<br>
&nbsp;&nbsp;&nbsp; profile=compute<br>
&nbsp;&nbsp;&nbsp; provmethod=centos6.1-x86_64-install-compute<br>
&nbsp;&nbsp;&nbsp; serialflow=hard<br>
&nbsp;&nbsp;&nbsp; serialport=0<br>
&nbsp;&nbsp;&nbsp; serialspeed=115200<br>
&nbsp;&nbsp;&nbsp; status=booted<br>
&nbsp;&nbsp;&nbsp; statustime=12-22-2011 22:23:11<br>
&nbsp;&nbsp;&nbsp; tftpserver=10.1.10.254<br>
&nbsp;&nbsp;&nbsp; xcatmaster=10.1.10.254</p>
<p>changing to netboot=xnba , then running makedhcp -a n01 recreated
the same lines as before -no 'server.filename' keyword in the
dhcpd.leases file.</p>
<p>2. corrected.</p>
<p>4. # updatenode n01 -F -V<br>
File synchronization has completed.</p>
<p>no file was updated.<br>
</p>
<p>However xdcp n01 -F
/install/custom/install/centos/centos6.1-x86_64-install-compute.synclist</p>
<p>updated the files correctly<br>
</p>
<p>Thanks for the help<br>
</p>
<p><br>
</p>
<br>
On 26/12//2011 03:05, <a class="moz-txt-link-abbreviated" href="mailto:xcat-user-***@lists.sourceforge.net">xcat-user-***@lists.sourceforge.net</a> wrote:
<blockquote
cite="mid:mailman.111314.1324861517.6384.xcat-***@lists.sourceforge.net"
type="cite">
<table class="header-part1" border="0" cellpadding="0"
cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">Subject:
</div>
Re: [xcat-user] xcat 2.6.10 makedhcp pxe issues</td>
</tr>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">From:
</div>
Xiao Peng Wang <a class="moz-txt-link-rfc2396E" href="mailto:***@cn.ibm.com">&lt;***@cn.ibm.com&gt;</a></td>
</tr>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">Date:
</div>
26/12//2011 03:04</td>
</tr>
</tbody>
</table>
<table class="header-part2" border="0" cellpadding="0"
cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">To:
</div>
xCAT Users Mailing list <a class="moz-txt-link-rfc2396E" href="mailto:xcat-***@lists.sourceforge.net">&lt;xcat-***@lists.sourceforge.net&gt;</a></td>
</tr>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">CC:
</div>
<a class="moz-txt-link-abbreviated" href="mailto:xcat-***@lists.sourceforge.net">xcat-***@lists.sourceforge.net</a></td>
</tr>
</tbody>
</table>
<br>
<div class="moz-text-html">
<p>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.<br>
<br>
2. Check the '<font size="4">inet addr:10.1.11.254
Bcast:10.255.255.255 Mask:255.0.0.0</font>'<br>
<br>
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.<br>
<br>
Thanks<br>
Best Regards<br>
----------------------------------------------------------------------<br>
Wang Xiaopeng (&#29579;&#26195;&#26379;)<br>
IBM China System Technology Laboratory<br>
Tel: 86-10-82453455<br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:***@cn.ibm.com">***@cn.ibm.com</a><br>
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West
Road, Haidian District Beijing P.R.China 100193</p>
</div>
</blockquote>
</body>
</html>
Xiao Peng Wang
2011-12-27 09:14:01 UTC
Permalink
Cannot recreate your issue, I used your definition and got the following
section in the /var/lib/dhcpd/dhcpd.leases
host n01 {
dynamic;
hardware ethernet 00:25:90:4a:88:dc;
supersede server.ddns-hostname = "n01";
supersede host-name = "n01";
if option vendor-class-identifier = "ScaleMP" {
supersede server.filename = "vsmp/pxelinux.0";
} else {
supersede server.filename = "pxelinux.0";
}
supersede server.next-server = 0a:01:0a:fe;
}


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-27 11:06
Subject: Re: [xcat-user] xcat 2.6.10 makedhcp pxe issues



1. lsdef n01
# lsdef n01
Object name: n01
arch=x86_64
bmc=ipmi01
bmcpassword=ADMIN
bmcusername=ADMIN
currchain=boot
currstate=install centos6.1-x86_64-compute
groups=ipmi,compute,all
hostnames=n01.cluster
initrd=xcat/centos6.1/x86_64/initrd.img
installnic=mac
interface=eth0
ip=10.1.10.1
kcmdline=nofb utf8 ks=http://10.1.10.254/install/autoinst/n01
ksdevice=00:25:90:4A:88:DC console=tty0 console=ttyS0,115200n8r noipv6
kernel=xcat/centos6.1/x86_64/vmlinuz
mac=00:25:90:4A:88:DC
mgt=ipmi
netboot=pxe
nfsserver=10.1.10.254
nodetype=osi
os=centos6.1
otherinterfaces=ipmi01:10.1.11.1,ib01:10.1.12.1
postscripts=syslog,remoteshell,syncfiles,initial_fstab,otherpkgs,ofed
primarynic=mac
profile=compute
provmethod=centos6.1-x86_64-install-compute
serialflow=hard
serialport=0
serialspeed=115200
status=booted
statustime=12-22-2011 22:23:11
tftpserver=10.1.10.254
xcatmaster=10.1.10.254
changing to netboot=xnba , then running makedhcp -a n01 recreated the same
lines as before -no 'server.filename' keyword in the dhcpd.leases file.
2. corrected.
4. # updatenode n01 -F -V
File synchronization has completed.
no file was updated.
However xdcp n01
-F /install/custom/install/centos/centos6.1-x86_64-install-compute.synclist
updated the files correctly
Thanks for the help




On 26/12//2011 03:05, xcat-user-***@lists.sourceforge.net wrote:

Subject: Re: [xcat-user] xcat 2.6.10 makedhcp pxe issues

From: Xiao Peng Wang <***@cn.ibm.com>

Date: 26/12//2011 03:04



To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>

CC: xcat-***@lists.sourceforge.net




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
------------------------------------------------------------------------------

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
Sten Wolf
2011-12-27 17:02:01 UTC
Permalink
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
text="#000000">
<p>So, Can't use updatenode (not a big deal accept during install)
and can't rely on makedhcp.</p>
<p>Is there anyway I can help resolve this? Or am I better off
reinstalling xCAT from scratch? the cluster will be accessible
from the internet for the next 12 hrs or so, before delivery.<br>
</p>
<br>
On 27/12//2011 11:15, <a class="moz-txt-link-abbreviated" href="mailto:xcat-user-***@lists.sourceforge.net">xcat-user-***@lists.sourceforge.net</a> wrote:
<blockquote
cite="mid:mailman.113268.1324977317.6384.xcat-***@lists.sourceforge.net"
type="cite">
<table class="header-part1" border="0" cellpadding="0"
cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">Subject:
</div>
Re: [xcat-user] xcat 2.6.10 makedhcp pxe issues</td>
</tr>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">From:
</div>
Xiao Peng Wang <a class="moz-txt-link-rfc2396E" href="mailto:***@cn.ibm.com">&lt;***@cn.ibm.com&gt;</a></td>
</tr>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">Date:
</div>
27/12//2011 11:14</td>
</tr>
</tbody>
</table>
<table class="header-part2" border="0" cellpadding="0"
cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">To:
</div>
xCAT Users Mailing list <a class="moz-txt-link-rfc2396E" href="mailto:xcat-***@lists.sourceforge.net">&lt;xcat-***@lists.sourceforge.net&gt;</a></td>
</tr>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">CC:
</div>
<a class="moz-txt-link-abbreviated" href="mailto:xcat-***@lists.sourceforge.net">xcat-***@lists.sourceforge.net</a></td>
</tr>
</tbody>
</table>
<br>
<div class="moz-text-html">
<p>Cannot recreate your issue, I used your definition and got
the following section in the /var/lib/dhcpd/dhcpd.leases<br>
host n01 {<br>
dynamic;<br>
hardware ethernet 00:25:90:4a:88:dc;<br>
supersede server.ddns-hostname = "n01";<br>
supersede host-name = "n01";<br>
if option vendor-class-identifier = "ScaleMP" {<br>
supersede server.filename = "vsmp/pxelinux.0";<br>
} else {<br>
supersede server.filename = "pxelinux.0";<br>
}<br>
supersede server.next-server = 0a:01:0a:fe;<br>
}<br>
<br>
<br>
Thanks<br>
Best Regards<br>
----------------------------------------------------------------------<br>
Wang Xiaopeng (&#29579;&#26195;&#26379;)<br>
IBM China System Technology Laboratory<br>
Tel: 86-10-82453455<br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:***@cn.ibm.com">***@cn.ibm.com</a><br>
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West
Road, Haidian District Beijing P.R.China 100193</p>
</div>
</blockquote>
</body>
</html>
Xiao Peng Wang
2011-12-28 06:35:46 UTC
Permalink
Could you show me the output of 'nodels -v' to see the accurate version of
xCAT. Also could you try to diff the /opt/xcat/lib/perl/xCAT_plugin/dhcp.pm
with the file I attached (the latest version). If you try to reinstall
xCAT, make sure the all the xcat process has been stopped before the new
install.

It's helpful if I can access your env for a debug.

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-28 01:02
Subject: Re: [xcat-user] xcat 2.6.10 makedhcp pxe issues



So, Can't use updatenode (not a big deal accept during install) and can't
rely on makedhcp.
Is there anyway I can help resolve this? Or am I better off reinstalling
xCAT from scratch? the cluster will be accessible from the internet for the
next 12 hrs or so, before delivery.



On 27/12//2011 11:15, xcat-user-***@lists.sourceforge.net wrote:

Subject: Re: [xcat-user] xcat 2.6.10 makedhcp pxe issues

From: Xiao Peng Wang <***@cn.ibm.com>

Date: 27/12//2011 11:14



To: xCAT Users Mailing list <xcat-***@lists.sourceforge.net>

CC: xcat-***@lists.sourceforge.net




Cannot recreate your issue, I used your definition and got the
following section in the /var/lib/dhcpd/dhcpd.leases
host n01 {
dynamic;
hardware ethernet 00:25:90:4a:88:dc;
supersede server.ddns-hostname = "n01";
supersede host-name = "n01";
if option vendor-class-identifier = "ScaleMP" {
supersede server.filename = "vsmp/pxelinux.0";
} else {
supersede server.filename = "pxelinux.0";
}
supersede server.next-server = 0a:01:0a:fe;
}


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
------------------------------------------------------------------------------

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

Loading...