DataPlane Platform Administration
Also available as:
PDF

Advanced: Add host entries to the DataPlane 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 DataPlane container in your DP instance. DataPlane provides a utility command to help with this to ensure that all hosts to be used with DataPlane are addressable.

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

Perform this task only after DP 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 DataPlane 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 DP Platform.