jtriley / StarCluster

StarCluster is an open source cluster-computing toolkit for Amazon's Elastic Compute Cloud (EC2).
http://star.mit.edu/cluster
GNU Lesser General Public License v3.0
582 stars 308 forks source link

Allow Load Balancer to Create Hosts of Different Type #360

Open rimckenn opened 10 years ago

rimckenn commented 10 years ago

When creating a cluster at the moment, Star Cluster stores the type of machine for the master and nodes as user-data on the master host.

The load balancer then uses this to decide the type of host to create when spawning new hosts.

The problem here is that if we have a day where we need some extra power, we'd have to spawn a whole new cluster to create hosts of a new type. It would be great if the load balancer could be told the type of hosts to create on the command line rather than assuming that they should all be the same as what was configured when the cluster was originally created.

FinchPowers commented 10 years ago

This feature exists in my version.

See https://github.com/datacratic/StarCluster?source=c. It comes with a "reloadconfig" command which allows you to change the config of a running cluster.