-----BEGIN PGP SIGNED MESSAGE-----
My apologies for the long delay on this. Currently the easiest way to
do this is via a plugin that iterates through all the nodes and adds
entries to a file in /etc/profile.d (e.g. /etc/profile.d/scenv.sh).
Your environment would then be loaded anytime /etc/profile is sourced.
Here's an example of a simple plugin that would do this (untested):
I'm working on adding the ability to specify a user data script for
all of the nodes so that scripts can be automatically run on node
start-up independent of StarCluster. Once this feature is added you
could create a simple bash/python/perl/etc script to do this, and any
other simple tasks, as soon as the instance boots...
On 07/23/2012 03:09 PM, Chris Diehl wrote:
> Hi All,
> What is the most expedient way to set environment variables on all
> the nodes of a given cluster? I'd like to set PYTHONPATH on all of
> the nodes of a cluster after I fire it up.
> Thanks, Chris _______________________________________________
> StarCluster mailing list StarCluster_at_mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
Received on Thu Aug 09 2012 - 15:34:14 EDT