I’m trying to implement Self-healing cluster in AWS, so far I can get the cluster running by starting all the nodes with the following config -
./run-node.sh --db /opt/eventstore/ESData --log /tmp/cluster/log --cluster-size=3 --int-ip=0.0.0.0 --ext-ip=0.0.0.0 --int-tcp-port=1111 --ext-tcp-port=1112 --int-http-port=2113 --ext-http-port=2114 --cluster-dns=cluster.somedomain.com --cluster-gossip-port=2113
For this to work, I’ve created an A record for cluster.somedomain.com with the IPs of the nodes manually. I need some advise of how I’d be able to update the A record in Route53 when one instance terminates & another takes its place.
I’ve tried using --gossip-seed option with DNS name instead of IP, but it doesnt seem to like it as its expecting IP address.