Chenggang ZHANG
2014-Apr-02 03:59 UTC
[Gluster-users] IP failover in QEMU-Glusterfs native integration using libgfapi?
Dear All, I am using QEMU 1.7.0 and GlusterFs 4.3.2 and have carried out necessary configurations to enable QEMU-Glusterfs native integration (i.e., using libgfapi instead of FUSE). On the server side, I have configured a volume named "image" using two bricks on two different machines "brk1" and "brk2". And a qcow2 image *centos.qcow2* has been imported to Glusterfs. On the client side (e.g., the KVM host), the configuration "-drive file=gluster://*brk1*/image/centos.qcow2" is used when starting a KVM VM. The VM boots successfully. When it's running, I shut down the machine brk1 on purpose and want to see whether the KVM VM can automatically switch to use "-drive file=gluster://*brk2*/image/centos.qcow2" (i.e., IP failover). Unfortunately, the VM crashes. I am writing to ask whether the feature "IP failover" in QEMU-Glusterfs native integration is supported. Thanks so much for your kind help! Best Regards, Bob ZHANG -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140402/5f02cf32/attachment.html>
Daniel
2014-Apr-02 04:26 UTC
[Gluster-users] IP failover in QEMU-Glusterfs native integration using libgfapi?
Hi, I am trying to achieve the same thing. Why did you have to enable QEMU native integration when Glusterfs 4.3.2 already has native QEMU support? How did you import the qcow2 image and how did you set it up. Thanks, Dan On 04/02/2014 10:59 AM, Chenggang ZHANG wrote:> Dear All, > > I am using QEMU 1.7.0 and GlusterFs 4.3.2 and have carried out > necessary configurations to enable QEMU-Glusterfs native integration > (i.e., using libgfapi instead of FUSE). > > On the server side, I have configured a volume named "image" using two > bricks on two different machines "brk1" and "brk2". And a qcow2 image > *centos.qcow2* has been imported to Glusterfs. > > On the client side (e.g., the KVM host), the configuration "-drive > file=gluster://*brk1*/image/centos.qcow2" is used when starting a KVM > VM. The VM boots successfully. > When it's running, I shut down the machine brk1 on purpose and want to > see whether the KVM VM can automatically switch to use "-drive > file=gluster://*brk2*/image/centos.qcow2" (i.e., IP failover). > Unfortunately, the VM crashes. > > I am writing to ask whether the feature "IP failover" in > QEMU-Glusterfs native integration is supported. Thanks so much for > your kind help! > > > Best Regards, > Bob ZHANG > > > > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140402/0315c0dd/attachment.html>