[ClusterLabs] fence_virt architecture? (was: Re: Still Beginner STONITH Problem)
arvidjaar at gmail.com
Sun Jul 19 02:45:29 EDT 2020
18.07.2020 03:36, Reid Wahl пишет:
> I'm not sure that the libvirt backend is intended to be used in this way,
> with multiple hosts using the same multicast address. From the
> fence_virt.conf man page:
> The libvirt plugin is the simplest plugin. It is used in
> environments where routing fencing requests between multiple hosts is not
> required, for example by a user running a cluster of virtual
> machines on a single desktop computer.
> The libvirt-qmf plugin acts as a QMFv2 Console to the libvirt-qmf
> daemon in order to route fencing requests over AMQP to the appropriate
> The cpg plugin uses corosync CPG and libvirt to track virtual
> machines and route fencing requests to the appropriate computer.
> I'm not an expert on fence_xvm or libvirt. It's possible that this is a
> viable configuration with the libvirt backend.
> However, when users want to configure fence_xvm for multiple hosts with the
> libvirt backend, I have typically seen them configure multiple fence_xvm
> devices (one per host) and configure a different multicast address on each
> If you have a Red Hat account, see also:
> - https://access.redhat.com/solutions/2386421
What's the point in using multicast listener if every host will have
unique multicast address and there will be separate stonith agent for
each host using this unique address? That's not what everyone expects
seeing "multicast" as communication protocol.
This is serious question. If intention is to avoid TCP overhead, why not
simply use UDP with unique address? Or is single multicast address still
possible and this article describes "what I once set up and it worked
for me" and not "how it is designed to work"?
Also what is not clear - which fence_virtd instance on host will be
contacted by stonith agent on cluster node? I.e. consider
three hosts host1, host2, host3
three VM vm1, vm2, vm3 each active on corresponding host
vm1 on host1 want to fence vm3 on host3. Will it
a) contact fence_virtd on host1 and fence_virtd on host1 will forward
request to host3? Or
b) is it mandatory for vm1 to have connectivity to fence_virtd on host3?
If we combine existence of local-only listeners (like serial or vsock)
and distributed backend (like cpg) it strongly suggests that vm1
-(listener)-> host1 -(backend)-> host3 -> -(fence)->vm3 is possible.
If each cluster node always directly contacts fence_virtd on *target*
host then libvirt backend is still perfectly usable for multi-host
configuration as every fence_virtd will only ever fence local VM.
Is there any high level architecture overview (may be presentation from
More information about the Users