Verifying host name configuration

Verify the short host name, fully qualified host name, and domain name for your servers.

About this task

If you use the three-server environment, perform this procedure on the Data server, the Core server, and the Analytics server. Always perform this task in the single-server environment.

Procedure

To verify the name configuration:

  1. Update the DNS settings or the /etc/hosts file on the server.

    Each server must have an entry in DNS or have an entry in the /etc/hosts file to allow for the resolution of both the short host name and long host name. To implement the name resolution by using the /etc/hosts file, edit the /etc/hosts file on the server to add the IP address of the server and the fully qualified host name. For example, add the following line to the file:

    nnn.nnn.nnn.nnn cfmserver.example.com cfmserver

    nnn.nnn.nnn.nnn is the IP address of the server.

    cfmserver.example.com is the fully qualified domain and host name for the server.

    cfmserver is the short name of the server.

  2. Log onto the server as root user and open a command prompt.
  3. Verify and record the defined short host name for the server by entering the following command:
    hostname -s
    The command returns the defined short host name for the server, such as cfmserver.
  4. Verify and record the fully qualified domain and host name for the server by entering the following command:
    hostname -f
    The command returns the fully qualified domain and host name for the server, such as cfmserver.example.com.
  5. Verify and record the domain name for the server by entering the following command:
    hostname -d
    The command returns the domain name for the server, such as example.com.
  6. If the tests fail, ensure that all Counter Fraud servers are entered either in DNS or the /etc/hosts file on each server. See Step 1 for more information.
  7. Repeat the verification test in Step 2 through Step 5. If the verification still fails, verify the contents of the /etc/sysconfig/network file.
    1. Add the following line to the /etc/sysconfig/network file:
      HOSTNAME=cfmserver.example.com
    2. Restart the network service by entering the following command:
      /etc/init.d/network restart