Move the AMS metrics collector
Use this procedure to move the Ambari Metrics Collector to a new host.
Use this procedure to move the Ambari Metrics Collector to a new host.
curl -u admin:admin -H "X-Requested-By:ambari" - i -X DELETE http://
[AMBARI_SERVER_NAME] >:8080/api/v1/clusters/ [CLUSTER_NAME] /hosts/
[METRICS_COLLECTOR_HOSTNAME]
/host_components/[METRICS_COLLECTOR]
curl -u admin:admin -H "X-Requested-By:ambari" - i -X POST http://
[AMBARI_SERVER_NAME]:8080/api/v1/clusters/ [CLUSTER_NAME]/hosts/
[METRICS_COLLECTOR_HOSTNAME]/host_components/[METRICS_COLLECTOR]