To update Avi Load Balancer Controller IP information for a cluster, use a command string such as the following:

Note:

Before executing change_ip.py, ensure that all new IPs are reachable from one another over SSH ports (22 for regular, 5098 for containers).

change_ip.py -i **ipaddr **-o ipaddr -o ipaddr

This command is run on node 10.10.25.81, which is a member of a 3-node cluster that also contains nodes 10.10.25.82 and 10.10.25.83.

username@avi:~$ ∣ change_ip.py -i 10.10.25.81 -o 10.10.25.82 -o 10.10.25.83

The script can run on any of the nodes in the cluster. The following example is run on node 10.10.25.82.

username@avi:~$ ∣ change_ip.py -i 10.10.25.82 -o 10.10.25.81 -o 10.10.25.83
Note:

After executing change_ip.py, in case of failure, use recover.py to convert nodes to single nodes and create the 3-node cluster again. For more information, see Recover a Non-Operational Controller Cluster.

To verify, go to the Controller nodes page and ensure all nodes are CLUSTER_ACTIVE.