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 externalIP field in the /opt/pf9/airctl/conf/airctl-config.yaml configuration file with the new IP address of the management Plane.
/opt/pf9/airctl/conf/airctl-config.yaml
Copy
  • Make 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.
Command
Copy
  • Restart the HAPROXY daemon on the airctl host:
Command
Copy
  • Run configure-hosts to update the hosts and re-establish connection with the management plane:
Command
Copy
  • Remove the rules corresponding to old IP address:
Example
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard