Managing the Gridhosts File

Creating the File

The contents of the file (host names) are typically created in a text editor or with shell scripting to avoid repetitive typing. If the file is not present on the machine that is hosting the console, then the following page is seen after accessing the Gridhosts File Management module of the console.
Generate Gridhosts File
Generate gridhosts file
Note: The Use /etc/hosts button cannot be used in a SAS Visual Analytics deployment to create the /etc/gridhosts file.
If you can access the file, then you can upload it to the machine that is hosting the console. To upload a file:
  1. Click Upload a file.
  2. Click Browse and then navigate to the file that contains the host name of the machines in the cluster.
    Click Upload.
  3. Review the host names that are listed in the table. If the list of host names is accurate, click Select all at the top of the table. Click Submit.
After the Submit button is clicked, the /etc/gridhosts file is created on the machine that is hosting the console.

Editing Host Names in the Gridhosts File

You can use the console to add and delete host names from the /etc/gridhosts file. The following display shows the link for adding host names and the button for deleting them.
Gridhosts File
Gridhosts file
To add a host name:
  1. Click Add Host.
  2. Enter the host name in the Hostname field and click Add.
    Note: The console does not verify that the specified machine is reachable.
To delete a host name:
  1. Select the check box beside the host name to remove.
  2. Click Delete.