44.1. Resolving Network Names of Cluster Nodes #

PPEM builds the cluster topology by matching cluster nodes against IP addresses. For each instance, the manager reads the primary_conninfo configuration parameter, extracts the network addresses and ports of upstream nodes from it, and compares them with IP addresses of servers reported by the agents.

If primary_conninfo specifies a network name rather than an IP address, PPEM resolves that name by means of the operating system on the server where the manager is running.

The manager's server must be able to resolve network names of all nodes that appear in primary_conninfo of instances. The received IP addresses must match the addresses of network interfaces on the servers where the agents are running.

Provide resolving of network names using one of the following methods:

  • Configure a DNS service in such a way that the manager's server resolves names of all servers where the agents are running.

  • On the manager's server, in the /etc/hosts file, add records about all servers where the agents are running. For example:

    192.168.55.11 node-1-server
    192.168.55.12 node-2-server
    192.168.55.13 node-3-server
    192.168.55.14 node-4-server
    
  • In primary_conninfo, specify IP addresses instead of network names. In this case, resolving names is not required.

FAQ