You can change the host name, the IP address, and the virtual IP address after EFA 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.
sudo systemctl stop efamonitor
hostnamectl set-hostname <new name>
/etc/hosts
.
Important
Do not reboot the system before running this command.$ sudo 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
/apps/bin/
.sudo systemctl start efamonitor
$ sudo 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 EFA session to log in.
sudo systemctl stop efamonitor
$ sudo efa-change-vip <new vip> Updating all files with new VIP. Restarting services on nodes Waiting for EFA containers to start Updating services with new VIP Waiting for EFA containers to start Successfully updated VIP for the installation.
/apps/bin/
.sudo systemctl start efamonitor
source
/etc/profile
or open a new EFA session to log in.