meteorhacks / cluster

Clustering solution for Meteor with load balancing and service discovery
https://meteorhacks.com/cluster-a-different-kind-of-load-balancer-for-meteor.html
MIT License
632 stars 80 forks source link

CLUSTER_ENDPOINT_URL isn't automatically set with new Meteor Up #134

Open OiCMudkips opened 8 years ago

OiCMudkips commented 8 years ago

The new Meteor Up doesn't automatically set CLUSTER_ENDPOINT_URL per server. You need to use the old Meteor Up to get this functionality; otherwise your servers won't register themselves properly.

diegojonio commented 7 years ago

I used a script that runs on system startup that set it automatically. You can have it pre-configured like CLUSTER_ENDPOINT_URL= and in your script you can do: sed -i "s//$(hostname -i)/g" PATH_TO_MUPX/mup.json