This issue makes several HA services to fail (or split-brain):
* rabbitmq-server:
Followup from above, this MP[0] forces rabbit nodename to be the resolvable hostname for private-address[0], and fixes it clustering.
* mongodb:
No way: mongod uses gethostname() at rs.initiate() to initialize cluster (--replSet ...), then it fails because it can't connect to itself via $HOSTNAME, I'm using this (brute-force) script[1] to work-around it.
This issue makes several HA services to fail (or split-brain):
* rabbitmq-server:
Followup from above, this MP[0] forces rabbit nodename to be the resolvable hostname for private-address[0], and fixes it clustering.
* mongodb:
No way: mongod uses gethostname() at rs.initiate() to initialize cluster (--replSet ...), then it fails because it can't connect to itself via $HOSTNAME, I'm using this (brute-force) script[1] to work-around it.
[0] https:/ /code.launchpad .net/~jjo/ charms/ trusty/ rabbitmq- server/ fix-nodename- to-host- dns-PTR /gist.github. com/jjo/ 198e27c8e44f687 24fcd
[1] https:/