I'm trying to setup HCM for our HCP that is hidden behind Load Balancer.
Currently our corporate DNS resolves hcp1.corp.local and *.hcp1.corp.local to Load Balancer IP.
To make HCM work i added "admin.hcp1.corp.local" in /etc/hosts on HCM host to point for first HCP node. HCM seams to work, but since /etc/hosts allows only one IP per host name I can't point it to other nodes.
What is recommended config in such environment?
- leave only first node in /etc/hosts
- setup fake DNS only for HCM which resolves to all nodes
- other I'm not aware of