Top
PRIMECLUSTER  Reliant Monitor Services (RMS) with Wizard Tools Configuration and Administration Guide 4.6
FUJITSU Software

A.1.1 /etc/hosts

The /etc/hosts file must contain the IP addresses and RMS names of all the host systems that are part of the cluster.

RMS uses its own internal set of host names to manage the machines in the cluster. When you configure the cluster, you will use the RMS host names and not the standard host names. These names must be entered in /etc/hosts on each system in the cluster to avoid problems should access to the DNS fail. If you used Cluster Admin to configure CIP for RMS, then /etc/hosts will already contain the correct RMS node names described below.

By default, the names follow the conventions in the following table.

Table A.1 RMS host name conventions in /etc/hosts

Entry type

RMS naming pattern

Examples

RMS host name

<hostname>RMS

shasta1RMS
shasta2RMS

Note

The RMS host name for a machine must match the contents of the RELIANT_HOSTNAME variable in that machine's hvenv.local configuration file, if that file exists.

Example

The following entries in /etc/hosts are for a cluster with nodes shasta1 and shasta2. The interface names are assigned as follows:

  • Standard host names on the public network 172.25.220

  • RMS node names on the private network 192.168.10

    172.25.220.83 shasta1
    172.25.220.84 shasta2
    # node names for RMS
    192.168.10.83 shasta1RMS
    192.168.10.84 shasta2RMS

A.1.1.1 Network interface names in /etc/hosts

If you plan to configure one or more network interfaces for switchover with the Ip Address subapplication, you must first enter the interface name(s) in the /etc/hosts file on every node where that interface can exist. Each entry consists of the interface IP address and its name in the normal format; no special comments are required.

Example

An example is shown below.

  • If you switch the interface shastavip with IPv4 address

    172.25.222.223 shastavip
  • If you switch the interface shastavip6 with IPv6 address

    fd00:1::219:99ff:fe18:1b4e shastavip6

Note

  • When you configure the Ip Address subapplication, you specify the interface name as it appears in /etc/hosts, and not the IP address.

  • IPv6 link local addresses are not available.

  • When defining the interface name in the /etc/hosts file, do not assign the same interface name to the IPv4 and IPv6 addresses.