[Sheepdog] Libvirt sheepdog hosts not failing over

Haven haven at thehavennet.org.uk
Thu Mar 31 16:07:18 CEST 2011


Hi All,

I have a simple two node test setup running using libvirt. I've 
followed the notes as seen in:
http://www.redhat.com/archives/libvir-list/2010-November/msg01137.html

My libvirt xml is setup as:
> <disk type='network' device='disk'>
> <driver name='qemu' type='raw' cache='writeback'/>
> <source protocol='sheepdog' name='Alice'>
> <host name='192.168.1.65' port='7000'/>
> <host name='192.168.1.14' port='7000'/>
> </source>
> <target dev='vda' bus='virtio'/>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' 
> function='0x0'/>
> </disk>
When I shutdown host 192.168.1.65 the virtual hangs rather than 
failing over to 192.168.1.14.

Is this supposed to work yet or still a work in progress ?

The only alternative I can see is to look at a common ip gateway 
with Pacemaker and IPAddr2, I'm hoping this will eventually work as 
there is a lot less overhead.

Many thanks and thanks for the libvirt support :)

Regards

Simon



More information about the sheepdog mailing list