I'm new to clustering, and I'm trying to get fencing working on a small
cluster consisting of only two KVM hosts which are each running one guest.
The hosts are running many other guests, but only one guest on each host is
part of the cluster.
Corosync/pacemaker work fine, the cluster operates normally and services
fail back and forth correctly, etc. - but I can't get everything to show up
correctly with 'fence_xvm -o list'.
If I do not use qmf/qpidd, then each host can see its guest, and the guests
can see themselves only (i.e. box1 sees box1 but not box2, box2 sees box2
but not box1). It is stated on the wiki that qpid should be used for
guests running on different hosts anyway, so I'm assuming that this problem
comes from not using qpid.
However, if I *do* use qpid, nothing shows up in 'fence_xvm -o list' at
all, on any guest or host.
I'm running SL 6.3 and I've installed fence-virtd-libvirt-qpid libvirt-qmf.
My fence_virt.conf is:
backends {
libvirt-qpid {
uri = "qemu:///system";
}
}
listeners {
multicast {
port = "1229";
family = "ipv4";
address = "225.0.0.12";
key_file = "/etc/cluster/fence_xvm.key";
}
}
fence_virtd {
module_path = "/usr/lib64/fence-virt";
backend = "libvirt-qpid";
listener = "multicast";
}
The key files match on all hosts, iptables is completely disabled, and
fence_virtd is running only on the hosts, not guests. libvirt-qmf is
running on all guests and hosts.
Has anyone gotten this configuration to work successfully? Or
alternatively, does anyone know of another method to manage stonith vs. kvm
guests on separate host machines?
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems