That formatted strangely.  xcsv does not take arguments.  The stuff after xcsv 
was the first line of output, not arguments.

-----Original Message-----
From: Jarrod Johnson [mailto:[email protected]] 
Sent: Wednesday, June 24, 2015 11:38 AM
To: xCAT Users Mailing list
Subject: Re: [xcat-user] xCAT -> racktables

Hmm, it might be interesting to do a more structured integration... but in the 
short term, if there's some csv import (haven't used racktables myself), you 
could use xcsv to convert nodels output to csv:

# nodels n1-n4 nodepos.rack nodepos.u|xcsv node,nodepos.u,nodepos.rack
n4,4,1
n2,2,1
n3,3,1
n1,1,1

Incidentally, if you wanted to add serial numbers:
# (nodels n1-n4 nodepos.rack nodepos.u; rinv n1-n4 serial)|xcsv node,Chassis 
Serial Number,System Serial Number,nodepos.u,nodepos.rack
n4,23XXH35,23XXH35,4,1
n2,06YRWC7,06YRWC7,2,1
n3,23XXH30,23XXH30,3,1
n1,23XXH41,23XXH41,1,1

-----Original Message-----
From: Christopher J. Walker [mailto:[email protected]]
Sent: Wednesday, June 24, 2015 11:18 AM
To: [email protected]
Subject: [xcat-user] xCAT -> racktables

In xCAT I see there is provision to input a node's position in a rack.

  http://xcat.sourceforge.net/man5/nodepos.5.html

Is there a way of exporting that information to racktables?

We are moving to an offsite data centre, and will have to produce lists of 
machines and their locations. I feel that it's more likely to be kept up to 
date if we do it in the same place we do node management.

Some other pretty printing might be acceptable too - but my colleagues have 
experience with racktables.

Chris

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors network 
devices and physical & virtual servers, alerts via email & sms for fault. 
Monitor 25 devices for free with no restriction. Download now 
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors network 
devices and physical & virtual servers, alerts via email & sms for fault. 
Monitor 25 devices for free with no restriction. Download now 
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to