1. Home
  2. Docs
  3. ClusterControl
  4. Requirements
  5. Host Configurations

Host Configurations

It is recommended for users to set up a proper host definition file in /etc/hosts file. The file should be identical on all servers in your cluster. Otherwise, your database cluster might not work as expected with ClusterControl. Below is an example of a host definition file:     localhost.localdomain localhost     clustercontrol clustercontrol.example.com     server1 server1.example.com     server2 server2.example.com

You need to separate the entry from your real hostname, specifying it only to localhost or localhost.localdomain. To verify whether you have set up the hostname correctly, ensure the following command returns the primary IP address:

$ hostname -I # This is good. IP address returned is neither nor


Was this article helpful to you? Yes No 1