Maybe this will help:
http://xcat-docs.readthedocs.io/en/stable/advanced/mixed_cluster/power/diskless.html
Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT
"If we knew what it was we were doing, it would not be called research,
would it?"
--Albert Einstein
From: James Freeman <ja...@quru.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date: 03/23/2017 01:20 PM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt
Thanks all for your help - making some progress here. After some testing I
established that I was missing the netboot initrd.gz image, so I fixed
that:
cd /install/ubuntu16.04.1/x86_64/install/netboot/
mount -o loop /home/james/ubuntu-16.04.1-server-amd64.iso /mnt
cp /mnt/install/initrd.gz .
umount /mnt
Then I realised that I was also missing the netboot parameter for my node
definition - this is the error that rinstall was throwing:
root@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Error: cn01: Missing the 'netboot' attribute.
Error: No available nodes for provision.
So I checked the valid definitions then added the one I wanted (I have PXE
boot in my environment):
root@xcat1:~# tabdump -d noderes
node: The node name or group name.
...
...
This shows us that for x86_64 (our architecture) we should be using pxe or
xnba, so:
root@xcat1:~# chdef -t node -o cn01 netboot=pxe
root@xcat1:~# lsdef -t node -o
cn01
Object name: cn01
groups=compute,all
installnic=mac
mac=00:0c:29:67:6d:a1
mgt=kvm
netboot=pxe
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles
primarynic=mac
Looks better, so I try rinstall again:
root@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
-V
Error: cn01: 'arch' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.
So now it looks like I'm missing an entry in my nodetype table - tabdump
shows:
root@xcat1:~# tabdump nodetype
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
So I tried populating the nodetype table manually - using "tabdump -d
nodetype" as my guide I populated the values as follows. There are a
couple I'm not sure about - for example there is no specific reference to
ubuntu in the definitions for the os column, so I set it to boottarget:
root@xcat1:~# tabdump nodetype
#node,os,arch,profile,provmethod,supportedarchs,nodetype,comments,disable
"cn01","boottarget","x86_64",,"netboot","x86_64","vm",,
Now I try rinstall again:
root@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
-V
Provision node(s): cn01
Run command: nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Unable to find pxelinux.0
Unable to find pxelinux.0
Error: failed to run 'nodeset' against the following nodes: cn01
If I look for pxelinux.0 on my filesystem, I get the following:
root@xcat1:~# locate pxelinux.0
/install/ubuntu16.04.1/x86_64/install/netboot/pxelinux.0
/install/ubuntu16.04.1/x86_64/install/netboot/ubuntu-installer/amd64/pxelinux.0
/opt/xcat/share/xcat/netboot/syslinux/gpxelinux.0
/opt/xcat/share/xcat/netboot/syslinux/pxelinux.0
Any ideas how I tie all this together? I'm not sure where I'm supposed to
place pxelinux.0, or which table needs reference to it.
Kind regards,
James
Mark Gurevich
23 March 2017 at 13:17
James,
Here is a link to the instructions for managing VMs:
http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/manage_vms.html
At one point in that document it will say to do "rpower vm1 on", use
"rinstall <your cn name> osimage=<your image name>" instead.
There is also a section for troubleshooting:
http://xcat-docs.readthedocs.io/en/latest/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/FAQ.html
Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT
"If we knew what it was we were doing, it would not be called research,
would it?"
--Albert Einstein
From: James Freeman <ja...@quru.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date: 03/23/2017 09:05 AM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt
Hi there,
Yes I realised my mistake after running the "boot" command first - however
the rinstall command still won't run - please see the output below:
root@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Error: cn01: Missing the 'netboot' attribute.
Error: No available nodes for provision.
I think I have still missed something during the setup phase?
Kind regards,
James
Xiao Peng Wang
23 March 2017 at 12:51
The manpage said: rinstallnoderange osimage=imagename
So you should use 'rinstall cn01
osimage=ubuntu16.04.1-x86_64-install-compute'
Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (ÍõÏþÅó)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: w...@cn.ibm.com
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193
------------------------------------------------------------------------------
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
James Freeman
23 March 2017 at 10:21
Thank you guys for all your help so far - is there a guide I can follow
for VM related installed? I am struggling a little with this - I tried
rinstall as requested but get the following results:
root@xcat1:~# rinstall cn01 boot
Provision node(s): cn01
cn01: Unable to identify plugin for this command, check relevant tables:
noderes.netboot
Error: failed to run 'nodeset' against the following nodes: cn01
root@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.
root@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.
Kind regards,
James
------------------------------------------------------------------------------
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
Mark Gurevich
23 March 2017 at 00:37
James,
If you are trying to boot a VM, there is no need to use "rsetboot".
Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
needed) and "rpower" for you.
Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT
"If we knew what it was we were doing, it would not be called research,
would it?"
--Albert Einstein
From: James Freeman <ja...@quru.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date: 03/22/2017 06:16 PM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt
Hi there,
Thanks for your quick reply - I tried that definition:
root@xcat1:~# chdef cn01 mgt=kvm
1 object definitions have been created or modified.
root@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
"cn01",,"kvm",,,,,,,,,,,,
but I still get the following:
root@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt
Is there something else I need to set?
Kind regards,
James
Casandra H Qiu wrote:
chdef cn01 mgt=kvm
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
James Freeman
22 March 2017 at 22:16
Hi there,
Thanks for your quick reply - I tried that definition:
root@xcat1:~# chdef cn01 mgt=kvm
1 object definitions have been created or modified.
root@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
"cn01",,"kvm",,,,,,,,,,,,
but I still get the following:
root@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt
Is there something else I need to set?
Kind regards,
James
Casandra H Qiu wrote:
------------------------------------------------------------------------------
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
Casandra H Qiu
22 March 2017 at 19:11
u need to define mgt in the node definition. use
chdef cn01 mgt=kvm
Thanks,
Casandra
...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com
James Freeman ---03/22/2017 02:45:45 PM---Hi all, I am in the process of
setting up xCAT to deploy some Ubuntu hosts -
From: James Freeman <ja...@quru.com>
To: xcat-user@lists.sourceforge.net
Date: 03/22/2017 02:45 PM
Subject: [xcat-user] Error: Unable to identify plugin for this command,
check relevant tables: nodehm.power,mgt; nodehm.mgt
Hi all,
I am in the process of setting up xCAT to deploy some Ubuntu hosts -
right now I am testing in a VMware ESXi environment with PXE boot
enabled, but once I've got things working this will be rolled out beyond
this.
I have deployed xCAT on Ubuntu 16.04.2 LTS using "go-xcat" - no errors
were seen during install and here is the version detail:
root@xcat1:~# lsxcatd -a
Version 2.13.2 (git commit dab564dd7f23cb8bc46119f11d235de33c57802a,
built Wed Feb 22 22:44:48 EST 2017)
This is a Management Node
dbengine=SQLite
I have been following the guide here:
https://sourceforge.net/p/xcat/wiki/Ubuntu_Quick_Start
to get my off the ground and running - the only difference is I am using
Ubuntu 16.04 so I've substituted that where applicable. All steps in the
guide I have completed with no issues or errors up until the point where
I am trying to build cn01 (I've kept my test system names the same for
ease - again this will be extended in the future). When I try to ready
the system for build, I get the following:
root@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt
root@xcat1:~# nodeset cn01 osimage=ubuntu16.04.1-x86_64-install-compute
cn01: Error: Unable to identify plugin for this command, check relevant
tables: noderes.netboot=(grub2[-]?.*);nodehm.mgt
I note that the nodehm table has nothing in it:
root@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
However I don't believe I have skipped any steps. Have I missed
something fundamental, or is there something I can do to rectify this?
At this stage I don't want to worry about hardware management - I have
no IPMI or HMC right now - I just want to network boot my servers from
xCAT. Again in future IPMI will be added, but that's to come.
Please can someone help me work out how to proceed?
Thanks in advance,
James
--
QURU Ltd
Somerset House, Strand, London, WC2R 1LA
Registered in England, No. 6144918, at Millmead, RH20 1AG
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
James Freeman
23 March 2017 at 13:03
Hi there,
Yes I realised my mistake after running the "boot" command first - however
the rinstall command still won't run - please see the output below:
root@xcat1:~# rinstall cn01 osimage=ubuntu16.04.1-x86_64-install-compute
Error: cn01: Missing the 'netboot' attribute.
Error: No available nodes for provision.
I think I have still missed something during the setup phase?
Kind regards,
James
------------------------------------------------------------------------------
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
Xiao Peng Wang
23 March 2017 at 12:51
The manpage said: rinstall noderange osimage=imagename
So you should use 'rinstall cn01
osimage=ubuntu16.04.1-x86_64-install-compute'
Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (???)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: w...@cn.ibm.com
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193
------------------------------------------------------------------------------
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
James Freeman
23 March 2017 at 10:21
Thank you guys for all your help so far - is there a guide I can follow
for VM related installed? I am struggling a little with this - I tried
rinstall as requested but get the following results:
root@xcat1:~# rinstall cn01 boot
Provision node(s): cn01
cn01: Unable to identify plugin for this command, check relevant tables:
noderes.netboot
Error: failed to run 'nodeset' against the following nodes: cn01
root@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-install-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.
root@xcat1:~# rinstall cn01 ubuntu16.04.1-x86_64-netboot-compute
Error: cn01: 'provmethod' attribute not defined in 'nodetype' table.
Error: No available nodes for provision.
Kind regards,
James
------------------------------------------------------------------------------
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
Mark Gurevich
23 March 2017 at 00:37
James,
If you are trying to boot a VM, there is no need to use "rsetboot".
Use "rinstall" command instead. It will do "nodeset", "rsetboot" (if
needed) and "rpower" for you.
Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT
"If we knew what it was we were doing, it would not be called research,
would it?"
--Albert Einstein
From: James Freeman <ja...@quru.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date: 03/22/2017 06:16 PM
Subject: Re: [xcat-user] Error: Unable to identify plugin for this
command, check relevant tables: nodehm.power,mgt; nodehm.mgt
Hi there,
Thanks for your quick reply - I tried that definition:
root@xcat1:~# chdef cn01 mgt=kvm
1 object definitions have been created or modified.
root@xcat1:~# tabdump nodehm
#node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,cmdmapping,consoleondemand,comments,disable
"cn01",,"kvm",,,,,,,,,,,,
but I still get the following:
root@xcat1:~# rsetboot cn01 net
cn01: Error: Unable to identify plugin for this command, check relevant
tables: nodehm.power,mgt;nodehm.mgt
Is there something else I need to set?
Kind regards,
James
Casandra H Qiu wrote:
chdef cn01 mgt=kvm
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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