What level of xCAT are you running.   lsxcatd -a.
 You say the nodes have the same profile, does that mean they have the same
osimage?
If they have different osimages, then you can use the synclist attribute in
the osimage to determine what synclist to use.

The startsyncfiles.awk request only  send the syncfiles as determined from
the database configuration.   It also requires a defined xCAT plugin for
the xcatd daemon to use to honor that
request /opt/xcat/lib/perl/xCAT_plugin/syncfiles.pm which receives the
request for startsyncfile.awk.    We do not have an open interface to the
xcatd daemon  that would allow you to input any request.   Even adding a
new plugin, it must be perl.

I guess our philosophy is to keep a group of nodes sharing the same profile
and osimage  identical so the synclists would be indentical also.
My only thought is you would need to run xdcp <nodegroup> -F <synclist>
after the install, for the additional node specific synclists.
Maybe someone has a better idea.







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





From:   Federico Paladin <[email protected]>
To:     [email protected]
Date:   11/06/2014 06:59 AM
Subject:        [xcat-user] postscript that execute arbitrary script on MN



Hi all,
  I am a sysadmin of some clusters with XCAT.

We have lot of different synclists for different (groups of) nodes, but
nodes have the same profile.

>From thread "different synclist for group of nodes" I see that syncfiles
postscript in installation phase can only sync one synclist, the one
associated to the profile.

So maybe a workaround to have the specific sync at installation time, lets
say of node123, is to build a postscript that send a request to xcat server
to execute my script: '/bin/syncfiles.py node123' (syncfiles.py will
execute: xdcp node123 -F <the-specific-synclist-of-node123>)

Does it exists a xcatrequest command that can execute my script at
installation time? Something like what happens here:

cat /install/postscripts/startsyncfiles.awk
[...]
  print "<xcatrequest>" |& server
  print "   <command>syncfiles</command>" |& server
  print "</xcatrequest>" |& server


Thank you very much,
  Federico Paladin
------------------------------------------------------------------------------

_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to