|
From: Pocina, G. <Gor...@DE...> - 2012-10-09 19:00:19
|
Posted again after fixing text formatting:
xCAT 2.7.3 CentOS 6.2 local disk installs have been working for us on a node configured with noderes.netboot=xnba.
We can toggle back and forth between "net" and "hd" boots using the "rsetboot: command.
We recently tried auto-discovery, and since then haven't been able to HD boot the node:
- Discovery works, with a correct DHCP entry created based on the switch port.
- Bmcsetup works, with correct IP address assigned to ipmi.
- OS 6.2 install on local disk works appears to work.
- A boot attempt at this point displays the screen below:
CLIENT MAC ADDR: 00 25 90 74 E3 78 GUID: 00000000 0000 0000 0000 00259074E378
CLIENT IP: 149.77.53.126 MASK: 255.255.254.0 DHCP IP: 149.77.53.252
GATEWAY IP: 149.77.52.10
PXE->EB: !PXE at 9618:0070, entry point at 9618:0106
UNDI code segment 9618:5260, data segment 8FDD:63B0 (575-621kB)
UNDI device is PCI 02:00.0, type DIX+802.3
535kB free base memory after PXE unload
xNBA initialising devices...ok
xCAT Network Boot Agent
iPXE 1.0.3-7 -- Open Source Network Boot Firmware -- http://ipxe.org
Features: HTTP HTTPS iSCSI DNS TFTP bzImage ELF PXE PXEXT
net0: 00:25:90:74:e3:78 using undionly on UNDI-PCI02:00.0 (open)
[Link:up, TX:0 TXE:0 RX:0 RXE:0]
DHCP (net0 00:25:90:74:e3:78)... ok
net0: 149.77.53.126/255.255.254.0 gw 149.77.52.10
Next server: 149.77.53.252
Filename: http://149.77.53.252/tftpboot/xcat/xnba/nodes/labcm0001
http://149.77.53.252/tftpboot/xcat/xnba/nodes/labcm0001... ok
No more network devices
PXE-M0F: Exiting Intel Boot Agent.
If the boot order is changed in the BIOS to be HD first, the node boots off the HD. The CentOS 6.2 install
appears perfect.
But with network boot set, we can no longer boot from the hard disk. Here's the procedure we've tried:
"rsetboot labcm0001 hd" + "nodeset labcm0001 boot" + "rpower labcm0001 reset".
There was a thread suggesting that TWO "nodeset labcm0001 boot" commands should be issued, with a reboot
attempt in between, but this doesn't work for us either.
"nodeset labcm0001 install" + "rsetboot labcm0001 net" + "rpower labcm0001 reset" does do an install.
"nodeset labcm0001 shell" + "rsetboot labcm0001 net" + "rpower labcm0001 reset" does bring up the
genesis shell, and if the local disk is mounted from the shell prompt, we see a complete 6.2 system,
together with what appear to be successful xCAT install log files.
What do we need to do to boot the node from the HD?
Thanks!
Goran
BTW. Here are the /tftpboot files:
/tftpboot/xcat/xnba/nodes/labcm0001
#!gpxe
#boot
exit
/tftpboot/xcat/xnba/nodes/labcm0001.elilo
default="xCAT"
delay=0
image=/tftpboot/xcat/genesis.kernel.x86_64
label="xCAT"
initrd=/tftpboot/xcat/genesis.fs.x86_64.lzma
append="quiet console=tty0 console=ttyS1,115200 xcatd=149.77.53.252:3001 destiny=shell BOOTIF=%B"
/tftpboot/xcat/xnba/nodes/labcm0001.uefi
#!gpxe
chain http://${next-server}/tftpboot/xcat/elilo-x64.efi -C /tftpboot/xcat/xnba/nodes/labcm0001.elilo<http://$%7bnext-server%7d/tftpboot/xcat/elilo-x64.efi%20-C%20/tftpboot/xcat/xnba/nodes/labcm0001.elilo>
And here's the node configuration:
[root@drdkvm0003 nodes]# lsdef labcm0001
Object name: labcm0001
arch=x86_64
bmc=labcm0001-lom
bmcport=1
chain=runcmd=bmcsetup,standby
cons=ipmi
currchain=boot
currstate=boot
groups=cm-dev,sm-ipmi,all
initrd=xcat/genesis.fs.x86_64.lzma
installnic=eth0
interface=eth0
ip=149.77.53.126
kcmdline=quiet console=tty0 console=ttyS1,115200 xcatd=149.77.53.252:3001 destiny=shell
kernel=xcat/genesis.kernel.x86_64
mac=00:25:90:74:e3:78
mgt=ipmi
netboot=xnba
nfsserver=149.77.53.252
ondiscover=nodediscover
os=centos6.2
postbootscripts=otherpkgs,updcentos repo-c62updates/x86_64
postscripts=syslog,remoteshell,syncfiles,cm_test,cm-dev repo-anton-v2
primarynic=eth0
profile=cm-dev
provmethod=install
serialflow=hard
serialport=1
serialspeed=115200
status=booting
statustime=10-09-2012 12:27:39
supportedarchs=x86,x86_64
switch=sw-mr32-bench
switchport=0/1
tftpserver=149.77.53.252
x_desresrepo=snap-c6desres-orig
x_partinfo=part.default
x_updrepo=repo-c62updates
x_v2repo=repo-anton-v2
dhcpd.leases entries. What so many?
host labcm0001 {
dynamic;
hardware ethernet 00:25:90:74:e3:78;
fixed-address 149.77.53.126;
supersede server.ddns-hostname = "labcm0001";
supersede host-name = "labcm0001";
if option user-class-identifier = "xNBA" and option
client-architecture = 00:00 {
supersede server.always-broadcast = 01;
supersede server.filename =
"http://149.77.53.252/tftpboot/xcat/xnba/nodes/labcm0001";
} elsif option user-class-identifier = "xNBA" and option
client-architecture = 00:09 {
supersede server.filename =
"http://149.77.53.252/tftpboot/xcat/xnba/nodes/labcm0001.uefi";
} elsif option client-architecture = 00:07 {
supersede server.filename = "xcat/xnba.efi";
} elsif option client-architecture = 00:00 {
supersede server.filename = "xcat/xnba.kpxe";
} else {
supersede server.filename = "";
}
supersede server.next-server = 95:4d:35:fc;
}
host labcm0001 {
dynamic;
deleted;
}
host labcm0001 {
dynamic;
hardware ethernet 00:25:90:74:e3:78;
fixed-address 149.77.53.126;
supersede server.ddns-hostname = "labcm0001";
supersede host-name = "labcm0001";
if option user-class-identifier = "xNBA" and option
client-architecture = 00:00 {
supersede server.filename =
"http://149.77.53.252/tftpboot/xcat/xnba/nodes/labcm0001";
} elsif option client-architecture = 00:00 {
supersede server.filename = "xcat/xnba.kpxe";
} else {
supersede server.filename = "";
}
supersede server.next-server = 95:4d:35:fc;
}
host labcm0001 {
dynamic;
deleted;
}
host labcm0001 {
dynamic;
hardware ethernet 00:25:90:74:e3:78;
fixed-address 149.77.53.126;
supersede server.ddns-hostname = "labcm0001";
supersede host-name = "labcm0001";
if option user-class-identifier = "xNBA" and option
client-architecture = 00:00 {
supersede server.filename =
"http://149.77.53.252/tftpboot/xcat/xnba/nodes/labcm0001";
} elsif option client-architecture = 00:00 {
supersede server.filename = "xcat/xnba.kpxe";
} else {
supersede server.filename = "";
}
supersede server.next-server = 95:4d:35:fc;
}
host labcm0001 {
dynamic;
deleted;
}
host labcm0001 {
dynamic;
hardware ethernet 00:25:90:74:e3:78;
fixed-address 149.77.53.126;
supersede server.ddns-hostname = "labcm0001";
supersede host-name = "labcm0001";
if option user-class-identifier = "xNBA" and option
client-architecture = 00:00 {
supersede server.filename =
"http://149.77.53.252/tftpboot/xcat/xnba/nodes/labcm0001";
} elsif option client-architecture = 00:00 {
supersede server.filename = "xcat/xnba.kpxe";
} else {
supersede server.filename = "";
}
supersede server.next-server = 95:4d:35:fc;
}
host labcm0001 {
dynamic;
deleted;
}
host labcm0001 {
dynamic;
hardware ethernet 00:25:90:74:e3:78;
fixed-address 149.77.53.126;
supersede server.ddns-hostname = "labcm0001";
supersede host-name = "labcm0001";
if option user-class-identifier = "xNBA" and option
client-architecture = 00:00 {
supersede server.filename =
"http://149.77.53.252/tftpboot/xcat/xnba/nodes/labcm0001";
} elsif option client-architecture = 00:00 {
supersede server.filename = "xcat/xnba.kpxe";
} else {
supersede server.filename = "";
}
supersede server.next-server = 95:4d:35:fc;
|