<div dir="ltr"><div><div><div>Hello,<br><br></div>we have a setup of two machines building a GlusterFS cluster. We run qemu/kvm for virtual machines. The image-files are in a GlusterFS volume. So far we have been successfully using the fuse-client to access the images and also successfully live-migrated virtual machines from one host to another.<br><br></div>We started experimenting with gfapi and saw a big improvement of I/O-performance, however, live-migration is not working the way we hoped.<br></div><div><br>Live-migration itself is no problem at all, the problem is that we have to define a specific host for gfapi to access the data on the volume as opposed to using the fuse-client where that was not needed. Suppose we have a virtual machine on machine A with machine A defined as its host for the gfapi storage backend. When we migrate a virtual machine from machine A to machine B, it will still use machine A (since it is defined that way in the configuration) to access its virtual harddrive and therefore we cannot remove machine A from the cluster without breaking the virtual machine.<br><br></div><div>We have tried defining a special hostname (other than localhost) that resolves to the machine the virtual machine is running on, but that did not work.<br></div><div><br></div><div>Ideally we should be able to migrate virtual machines from machine A to machine B and be able to shutdown machine A without impacting the virtual machine in any way.<br></div><div><br></div><div>Is there a solution or an acceptable workaround for this problem?<br><br></div><div>Thanks,<br></div><div>Stephan<br></div></div>