# nodeset n9 osimage=c7livecd
Warning: n9: xnba might be invalid when provisioning c7livecd,valid options: "".
For more details see the 'netboot' description in the output of "tabdump -d 
noderes".
n9: boottarget boottarget-x86_64-c7livecd

# tabdump nodetype
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
"n9","boottarget","x86_64","c7livecd","c7livecd",,,,

# ls -ltr /tftpboot/xcat/xnba/nodes/n9*
-rw-r--r-- 1 root root 101 Jun 12 08:40 /tftpboot/xcat/xnba/nodes/n9.uefi
-rw-r--r-- 1 root root 400 Jun 12 08:40 /tftpboot/xcat/xnba/nodes/n9.elilo
-rw-r--r-- 1 root root  58 Jun 12 21:44 /tftpboot/xcat/xnba/nodes/n9           
<only file changed by nodeset>

Not sure if I should nodeset netboot or osimage. I tried both.

I must be missing something basic in the boottarget howto.

THX!
[http://lenovocentral.lenovo.com/marketing/branding/email_signature/images/gradient.gif]

Gilad Berman
HPC Architect
Lenovo EMEA

[Phone]+972-52-2554262
[Email]gber...@lenovo.com<mailto:gber...@lenovo.com>



Lenovo.com <http://www.lenovo.com/>
Twitter<http://twitter.com/lenovo> | Facebook<http://www.facebook.com/lenovo> | 
Instagram<https://instagram.com/lenovo> | Blogs<http://blog.lenovo.com/> | 
Forums<http://forums.lenovo.com/>


[DCG-Hardware]




From: Casandra H Qiu <cxh...@us.ibm.com>
Sent: Tuesday, June 12, 2018 6:12 PM
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: [External] Re: [xcat-user] boottarget and booting to Centos LiveCD


after nodeset, can u check the nodetype table again?

tabdump nodetype
ls -ltr /tftpboot/xcat/xnba/nodes/n9*


Have you try provision the node?


Thanks,
Casandra

...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com<mailto:cxh...@us.ibm.com>



[Inactive hide details for Gilad Berman ---06/11/2018 03:43:57 PM---Hello, I am 
trying to boot to a Centos7 live CD using xCAT.]Gilad Berman ---06/11/2018 
03:43:57 PM---Hello, I am trying to boot to a Centos7 live CD using xCAT.

From: Gilad Berman <gber...@lenovo.com<mailto:gber...@lenovo.com>>
To: xCAT Users Mailing list 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Date: 06/11/2018 03:43 PM
Subject: [xcat-user] boottarget and booting to Centos LiveCD

________________________________



Hello,

I am trying to boot to a Centos7 live CD using xCAT.
First, has anyone successfully did it and can share insights?

Second, I am trying to use boottarget to customize the xnba files to allow 
netbooting the Live CD.
My osimage looks like this –
# lsdef -t osimage -o c7livecd
Object name: c7livecd
osarch=x86_64
osvers=boottarget
profile=c7livecd
provmethod=boottarget

My linuximage.boottarget has c7livecd as well (the boottarget profile)

# tabdump boottarget
#bprofile,kernel,initrd,kcmdline,comments,disable
"c7livecd","vmlinuz0","initrd0.img","root=live:http://11.11.101.1:/install/e8-livecd/LiveOS/squashfs.img
 console=tty0 console=ttyS0,115200",,

# tabdump nodetype
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
"n9","boottarget","x86_64","c7livecd","netboot",,,,

]# nodeset n9 osimage=c7livecd
Warning: n9: xnba might be invalid when provisioning e8livecd,valid options: "".
For more details see the 'netboot' description in the output of "tabdump -d 
noderes".
n9: boottarget boottarget-x86_64-c7livecd



Here are the files generated –
# cat /tftpboot/xcat/xnba/nodes/n9
#!gpxe
#boottarget boottarget-x86_64-c7livecd
LOCALBOOT 0
[root@ohpc1 ~]# cat /tftpboot/xcat/xnba/nodes/n9.elilo
default="xCAT"
delay=0

image=/tftpboot/xcat/genesis.kernel.x86_64
label="xCAT"
initrd=/tftpboot/xcat/genesis.fs.x86_64.gz
append="quiet console=tty0 console=ttyS0,115200 xcatd=11.11.101.1:3001 
destiny=shell BOOTIF=%B"
[root@ohpc1 ~]# cat /tftpboot/xcat/xnba/nodes/n9.uefi
#!gpxe
chain 
http://${next-server}/tftpboot/xcat/elilo-x64.efi<http://$%7bnext-server%7d/tftpboot/xcat/elilo-x64.efi>
 -C /tftpboot/xcat/xnba/nodes/n9.elilo



What am I missing? What is the correct way of using boottarget?

THX in advance!
[http://lenovocentral.lenovo.com/marketing/branding/email_signature/images/gradient.gif]

Gilad Berman
HPC Architect
Lenovo EMEA

[Phone]+972-52-2554262
[Email]gber...@lenovo.com<mailto:gber...@lenovo.com>




Lenovo.com <http://www.lenovo.com/>
Twitter<http://twitter.com/lenovo> | Facebook<http://www.facebook.com/lenovo> | 
Instagram<https://instagram.com/lenovo> | Blogs<http://blog.lenovo.com/> | 
Forums<http://forums.lenovo.com/>


[DCG-Hardware]





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net<mailto:xCAT-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to