StarCluster - Mailing List Archive

Re: Loadbalance and setup plugins

From: Dustin Machi <no email>
Date: Fri, 13 Jul 2012 06:48:50 -0400

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


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
Received on Fri Jul 13 2012 - 06:48:55 EDT
This archive was generated by hypermail 2.3.0.


Sort all by: