We do this sort of thing with getcredentials and getpostscripts. Take a look at /install/postscripts/getcredentials.awk, getpostscript.awk and their associated plugins. /opt/xcat/lib/perl/xCAT_plugin/credentials.pm and getpostscript.pm. It will require you to write your own plugin though. You then would have to add this to the postscripts table, probably after the remoteshell. Not sure when you start GPFS, but could you use syncfiles. That would be easier. We don't allow ssh from nodes to the MN either for the same reason.
Lissa K. Valletta 8-3/B10 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Christopher Samuel <[email protected]> To: [email protected], Date: 07/25/2013 11:57 PM Subject: [xcat-user] Triggering an action on MN from a postscript without SSH access back to the MN -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I'd like to trigger an action on the management node when our login nodes are running a postscript so the MN can push out their GPFS credentials and config before GPFS tries to start. It's complicated because for security we don't permit root to SSH back into the MN, so the postscripts can't run it directly. Is there something we can hook into in xCAT to do this? cheers! Chris - -- Christopher Samuel Senior Systems Administrator VLSCI - Victorian Life Sciences Computation Initiative Email: [email protected] Phone: +61 (0)3 903 55545 http://www.vlsci.org.au/ http://twitter.com/vlsci -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHx8ywACgkQO2KABBYQAh+gEgCdE5Uni5Iu1uXcO7OV3X5ZxYSs d+4AnjF9PGoj0MbYQKsZGp4iLWbbgEf/ =xvop -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
