Installing DPS
Also available as:
PDF

Add host entries to the DPS environment

If you are using hosts that are not publicly addressable from a DNS server, you must add IP address and host name mapping to the /etc/hosts file of each associated DPS container in your DP instance. DPS provides a utility command to help with this to ensure that all hosts to be used with DPS are addressable.

You must use the specific method and format identified in this task to make the mapping information usable by DPS Platform.

Perform this task only after DPS Platform is installed and running.

Note
Note

This task is required only for /etc/hosts handling. This setup is not required if Ambari, Knox, or hosts in your cluster are accessible via DNS.

  1. Log in as the root user to a terminal on the DPS host.
  2. Type the following command to add the host to the /etc/hosts file of the container:
    dpdeploy.sh utils add-host <ip> <host>
  3. Repeat this procedure on each cluster registered with DPS Platform.