This repo contains a script that you could run on each of your nodes, if you ever need to migrate ip addresses of your glusterfs nodes (not fun activity).
Just copy the script to each node you intend to migrate and run it as below:
sh ./glusterfs-heketi-ip-migrate.sh