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:
accelo set
Refresh Host and Role Inventory in Pulse
Run the following command to update the host and role mapping:
accelo reconfig cluster
This updates the following file:
$AcceloHome/work/<cluster_name>/hydra_hosts.yml
Prepare hydra_hosts.yml for New Hosts
- Take a backup of the existing hydra_hosts.yml.
- Modify the file to include only the newly added hosts.
Example: Original hydra_hosts.yml
cluster:
hosts:
odplab-1.dc.adsre.com: ""
odplab-2.dc.adsre.com: ""
odplab-3.dc.adsre.com: ""
vars:
ansible_user: root
Assume new hosts:
- odplab-4.dc.adsre.com
- odplab-5.dc.adsre.com
Temporary Modified hydra_hosts.yml
cluster:
hosts:
odplab-4.dc.adsre.com: ""
odplab-5.dc.adsre.com: ""
vars:
ansible_user: root
Deploy Hydra Agent on New Hosts
If deploying to more than 5 hosts:
accelo deploy hydra -f 5
If deploying to fewer than 5 hosts:
accelo deploy hydra
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
accelo admin database push-config
Verify in Pulse UI
- Log in to the Pulse UI
- Confirm that the newly added hosts are:
- Visible
- Actively monitored
