[StarCluster] Loadbalance and setup plugins

Dustin Machi dmachi at vbi.vt.edu
Fri Jul 13 06:48:50 EDT 2012


I believe it runs on_add_node() in this case, take a look at  starcluster.clustersetup.DefaultClusterSetup.

Dustin

On Jul 12, 2012, at 4:41 PM, David Erickson wrote:

> HI I am wondering how setup plugins work with load balancing?  For 
> example the signature of the run method for a ClusterSetup based plugin 
> looks like:
> 
>      def run(self, nodes, master, user, user_shell, volumes):
> 
> When loadbalance detects the need and adds a new node to a cluster, do 
> all existing and the new node show up in the nodes argument above?  I 
> want to ensure that I am not re-initializing anything on my existing nodes.
> 
> Thanks!
> David
> _______________________________________________
> StarCluster mailing list
> StarCluster at mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster




More information about the StarCluster mailing list