change_ip

Description

Updates the management IP address from the configuration file of ZStack Cloud.

Usage

Parameter Description Example
--ip IP Sets a new IP address for a management node. The new IP address is automatically synchronized to the configuration file of ZStack Cloud.
Note: If you changed the OS IP address of the current management node, you can use this command to change the IP addresses of all configuration file related to ZStack Cloud to the new IP address.
zstack-ctl change_ip --ip 172.20.12.47
--mysql_ip MYSQL_IP Sets a new IP address for a database. By default, the IP address is the same as that of the corresponding management node. zstack-ctl change_ip --mysql_ip 172.20.12.47
--cloudbus_server_ip CLOUDBUS_SERVER_IP Sets a new IP for CloudBus. By default, the IP address is the same as that of the corresponding management node. zstack-ctl change_ip --cloudbus_server_ip 172.20.12.47