- Stop the flexvdi-agent service in every host.
- If you also want to change the IP address of the flexVDI Manager, this is the moment. Just do not restart the flexvdi-agents yet.
- In the flexVDI Dashboard, you should see all the hosts in an unreachable state. Disable all of them.
- Also with the Dashboard, change the IP address (and VDI address) of every host to its new value, and enable them again.
- If you have configured the OCFS2 cluster:
In every host, stop the o2cb service:
$ systemctl stop o2cb
Your flexVDI Manager instance will be stopped if its images are being stored in an OCFS2 Volume.
- Edit the file
/etc/ocfs2/cluster.confand replace all the IP addresses with their new values. You can edit this file once and then copy it to the other hosts.
- Using flexvdi-config, change the IP address of every host. When asked to, restart the network service. If you are logged in with ssh, you will lose connection when the new IP address is made effective.
- In every host, check the
/etc/hostsfile to see if it needs to be updated with the new IP addresses. If you have a DNS service, you may need to change it too.
If you have reconfigured the OCFS2 cluster, restart it again in every host:
$ systemctl start o2cb
- Restart the flexvdi-agent service in every host.
- If the flexVDI Manager instance was stopped during the process (e.g. if its images were stored in an OCFS2 Volume), wait until one of the agents restarts it.
- Check that the platform is correctly configured again. You may need to fix the IP address of your Media Storages if any of them was being served from one of the hosts.