You can change the host name, the IP address, and the virtual IP address after XCO is deployed.
Host name changes are supported in single-node and multi-node deployments.
IP address changes are supported in single-node deployments.
Virtual IP address (VIP) changes are supported in multi-node deployments.
hostnamectl set-hostname <new name>
/etc/hosts
.device(config-tpvm-TPVM)# hostname <new name>
Important
Do not reboot the system before running this command.sudo bash efa-change-hostname <old host name> Reading host name of the system Restarting mariadb service Restarting k3s service Checking k3s for the new host name Host is in ready state in k3s Setting current host as active node Deleting old host name references Waiting for EFA containers to start Successfully updated host name in EFA
sudo bash efa-change-ip Updating IP in EFA Restarting k3s service Updating all files with new IP Deleting EFA services: gonotification-service gofabric-service gotenant-service goauth-service gorbac-service goinventory-service goopenstack-service govcenter-service gohyperv-service goraslog-service efa-api-docs gosystem-service Waiting for EFA containers to start Successfully updated IP in EFA
/apps/bin/
.source /etc/profile
or open a new XCO session to log in.
sudo systemctl stop efamonitor
sudo systemctl start efamonitor
Note
After the Virtual IP address (VIP) update is successful, it takes a few minutes to update new VIP in all the registered devices in XCO.