Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring Host Names

  1. Run the following command on node 1 to view the host name:
    hostname

    If the default host name is localhost, run the following commands to change the host name to distinguish nodes 1, 2, and 3:

    hostname host-XX-XX-XX
    logout
    hostname
  2. Run the following command on node 2 to view the host name:
    hostname

  3. Run the following command on node 3 to view the host name:
    hostname

  4. Configure host names.

    Add the IP addresses and host names to the hosts file on each node (nodes 1 to 3).

    vim /etc/hosts