Editing the /etc/hosts file

This procedure is conditional. Perform this procedure only if you use hostnames or fully qualified domain names instead of IPv4 addresses, and only after all delegate hosts are installed and renamed. Perform this procedure on the Control Center master host and on each delegate host.
  1. Gain access to the Control Center host, through the console interface of your hypervisor, or through a remote shell utility such as PuTTY.
  2. Start a command-line session as root as follows:
    1. In the Appliance Administration menu, select Root Shell.
    2. Select Run, and then press Enter.
    The menu is replaced by a command prompt similar to the following example:
    [root@hostname ~]#
  3. Open the /etc/hosts file in a text editor.
    The following steps use the nano editor.
    1. Start the editor.
      nano /etc/hosts
      Figure 13. Example nano session
    2. Optional: On delegate hosts, the file might include two entries with the same IP address. Remove the first of the two entries, which maps the IP address to the core-master hostname.
    3. Add entries for the Control Center master host and for each delegate host.
    4. To save, press Control-o.
    5. To exit, press Control-x.
  4. Return to the Appliance Administration menu.
    exit
  5. Exit the Appliance Administration menu.
    1. Use the down-arrow key to select Exit.
    2. Press Tab, and then press Enter.