How To Change external IP address of Management Host?
Problem
How to change external IP address of Management Host?
Environment
Platform9 Edge Cloud - All Versions
Procedure
Add a second interface (10.128.143.200) to the Deployment Host.
Modify the
externalIPfield in the/opt/pf9/airctl/conf/airctl-config.yamlconfiguration file with the new IP address of the management Plane.
externalIp: 10.128.143.200Make sure that the default route is reachable through the interface which has the new external IP assigned.
Run configure-localhost which will update the iptables rule with the new management IP address.
sudo /opt/pf9/airctl/airctl configure-localhost --config /opt/pf9/airctl/conf/airctl-config.yamlRestart the
HAPROXYdaemon on the airctl host:
sudo pkill haproxyRun configure-hosts to update the hosts and re-establish connection with the management plane:
/opt/pf9/airctl/airctl configure-hosts --config=/opt/pf9/airctl/conf/airctl-config.yamlRemove the rules corresponding to old IP address:
PreviousHow to Monitor Vault Token and Expiry Dates of Various certs?
NextHow To Bring Back The Missing airctl-mongo and pf9Deploy Containers From The Deployment Host.
Last updated
