THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
curl -u admin:admin -H "X-Requested-By:ambari" -i -X POST http://<server-host>:8080/api/v1/clusters/<cluster-name>/hosts/<host-name>/host_components/METRICS_COLLECTOR |
4. Install the Metrics Collector component from the Host page of the new host.
5. If the AMS is in embedded mode, copy the AMS data from old node to new node. For both embedded and distributed modes, ensure that ams:hbase-site:hbase.rootdir and hbase.tmp.dir are pointing to the correct location in the new AMS node
6. Start the Metrics Service.