Using non-fully-qualified hostnames in place of IP addresses
We have been trying to configure our clusters (running CentOS) to use hostnames/DNS rather than IP addresses as identifiers, following the instructions here: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractic...
We haven't been able to get it to work: Nodes cannot join together in clusters (they show up as "down" on the console), and when we try to stop a server we get the message "** System running to use fully qualified hostnames **
** Hostname is illegal **" and the server doesn't actually stop.
Clearly the problem is that we are not using fully qualified names, even though our short names resolve perfectly well on all machines.
We would prefer not to switch to fully qualified host names. http://www.couchbase.com/issues/browse/MB-7619 has discussion that may be relevant and seems to imply that we're not doing anything wrong. Can someone clarify for me if it's possible to use short hostnames in this way, and if so, how to proceed? Thank you.