Hi Damir,
You can use chtab command.
chtab node=<mynode> nodepos.u=1 nodepos.comments="hello"
Ling
From: Damir Krstic <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Date: 07/10/2015 10:05 AM
Subject: [xcat-user] best way to populate nodepos table
As of today we are not using nodepos table for anything. I started
experimenting and while adding nodepos.rack, nodepos.chassis, and
nodepos.height values are easy to add using nodech command, things that
are different between nodes are not that easy to enter without a lot of
manual data entry.
My table currently looks like this:
#node,rack,u,chassis,slot,room,height,comments,disable
"qnode5001","w22","1","qfpc01","left",,"1u",,
"qnode5002","w22","1","qfpc01","right",,"1u",,
"qnode5003","w22","2","qfpc01","left",,"1u",,
"qnode5004","w22","2","qfpc01","right",,"1u",,
w22 is the floor position of the rack, slot is u 1 in the rack and left or
right indicates where in the chassis node resides.
Is there any way to automate slot and u position using nodech command?
Also, under comments in this table I would like to read-in rinv serial
number command but I am unsure how to do that.
Any help would be greatly appreciated.
Thanks,
Damir
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user