Configuring Couchbase Server 4.0 Beta

I have configured the beta of Couchbase Server 4.0 on four AWS EC2 instances. I have set up two instances for the data service and one each for the indexing and query service. [Multidimensional scaling Now when I set up the cluster up, I set the hostname of each server to be public DNS so that the servers can find each other in the datacenters. Everything works fine until I close my instances.

When I start my instances again, the couchbase servers won't start. I am assuming this is happening because my public DNS changes every time I restart the server. This forces me to reinstall couchbase every time I close my instances and repeat the whole setup process again. I'm sure there should be an easy (and much better) alternative to this. Is there a way to configure the hostname and hostname of all servers in my cluster before starting any server?

+3


source to share


1 answer


You need to make sure that when initializing a node cluster, hostnames are used to identify nodes, and not IP addresses. See Couchbase in the Cloud in the admin guide for details .



+2


source







All Articles