Update all Ambari agents
Remove existing certificates from each host and point each agent to the new Ambari server host.

Remove existing certificates from each host and point each agent to the new Ambari server host.
ambari-agent stoprm /var/lib/ambari-agent/keys/*[server]
hostname={NEW_AMBARI_SERVER_FQDN}
url_port=8440
secured_url_port=8441