You are trying to get all the groups that a node is a member of on the
compute node?   You are right it is not in the environment variables.  I
guess I wonder why you need to know the group list on the nodes?
We also do not normally setup ssh from the compute nodes to the Management
node,  but if you have that setup you, could run
ssh MN "nodels <nodename> nodelist.groups".   If you are on a service node
you can just run  the nodels command on the SN.

You can write a postscript that will actually contact the xcat daemon on
the MN and run a script,  but this is a little more difficult to do.  An
example of this is /install/postscripts/remoteshell.



Lissa K. Valletta
2-3/T12
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:   Russell Jones <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   01/30/2012 04:25 PM
Subject:        [xcat-user] Grab groups a node is a member of



Hello,

Is it possible to query the xcat server directly via a postscript to
grab all groups a node is a member of? I am not seeing an easy way of
doing so outside of either just a direct SQL query or SSH command from
the compute node to the master node. Was hoping to be able to do it
through xcat's server interface.

I also dumped all of the environment variables available on install and
didn't see a group list among them.

Thanks!

------------------------------------------------------------------------------

Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user




------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to