Add Newly Added Hosts in Ambari Cluster to Pulse and Deploy Agents

This page describes the detailed steps to add newly added hosts (from an Ambari-managed cluster) to the Pulse environment for monitoring.

Prerequisites

  • Ensure you are logged in as the root user (or the user used to install Pulse).
  • Keep a list of new hostnames and their corresponding IP addresses ready.

Steps to Add New Hosts to Pulse

Confirm Host Availability in Ambari

Ensure the new hosts:

  • Are successfully added to the Ambari cluster
  • Are visible under Ambari → Hosts

Select the Target Cluster (Multi-Cluster Environments Only)

If Pulse is monitoring multiple clusters, select the target cluster:

Bash
Copy

Refresh Host and Role Inventory in Pulse

Run the following command to update the host and role mapping:

Bash
Copy

This updates the following file:

Bash
Copy

Prepare hydra_hosts.yml for New Hosts

  1. Take a backup of the existing hydra_hosts.yml.
  2. Modify the file to include only the newly added hosts.

Example: Original hydra_hosts.yml

Bash
Copy

Assume new hosts:

  • odplab-4.dc.adsre.com
  • odplab-5.dc.adsre.com

Temporary Modified hydra_hosts.yml

Bash
Copy

Deploy Hydra Agent on New Hosts

If deploying to more than 5 hosts:

Bash
Copy

If deploying to fewer than 5 hosts:

Bash
Copy

Restore Original hydra_hosts.yml

After deployment completes:

  • Replace the modified file with the original backed-up version of hydra_hosts.yml.

Push Updated Configuration to Pulse Database

Bash
Copy

Verify in Pulse UI

  • Log in to the Pulse UI

  • Confirm that the newly added hosts are:

    • Visible
    • Actively monitored
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard