Re: static IP solution in starcluster?
This archive was generated by
Here's a plugin solution:
from starcluster.clustersetup import ClusterSetup
from starcluster.logger import log
self.elasticip = elasticip
log.debug('elasticip = %s' % elasticip)
def run(self, nodes, master, user, user_shell, volumes):
# Config usage:
#setup_class = elasticip.ElasticIPSetup
#elasticip = 50.123.456.789
Thanks to Dan Yamins for input.
On Tue, Aug 21, 2012 at 4:46 PM, Charles Cadieu <cadieu_at_mit.edu> wrote:
> I was wondering if anyone has a simple solution to the non-static public
> IP address for the master node. Using the sshmaster command is fine, but
> having an alias or static IP would make it easy for other programs to find
> the cluster without having to manually enter the public IP every time it
> This could be something simple, like automatically updating my local
> /etc/hosts with the correct alias between the cluster's name and the
> dynamic public IP.
> Or a plugin to automatically assign an Elastic IP address to the master
> node: http://aws.amazon.com/articles/1346
> Let me know if anyone has a solution to this problem.
Received on Tue Aug 21 2012 - 18:01:29 EDT