Corosync On A Home Network

Home » CentOS » Corosync On A Home Network
CentOS 5 Comments

I’ve been trying to build a model cluster using three virtual machines on my home server. Each VM boots off its own dedicated partition
(CentOS 7.3). One partition is designated to be the common /home partition for the VMs, (on the real machine it will mount as /cluster). I’m intending to run GFS2 on the shared partition, so I need to configure DLM and corosync. That’s where I’m getting bogged down.

The VMs and the real machine are bridged onto one ethernet. There is another ethernet in the main machine on a different network, but that is not used for clustering. The ethernet port is connected to a switch which in turn connects to a BT Home Hub 6. All four adresses are static, Network Manager is off, SSH works across the nodes without a password and ping gives sensible times.

————–%<-----------------

5 thoughts on - Corosync On A Home Network

  • Does tcpdump see this traffic leaving each VM?
    Yes then the app is working. Does tcpdump see this traffic making it to each VM?
    Yes then the switching is working. Is the port opened in firewall/iptables?
    Yes then shrug.

  • Am 10.09.2017 um 17:33 schrieb J Martin Rushton :

    for multicast mode; did you tried to set [1] on the main host (not VMs)?

    [1] echo 1 > /sys/class/net/${yourbridgeinterface}/bridge/multicast_querier

  • Big thankyou. Over the last week I’ve had the firewall switched off for testing, but tonight I forgot. Once the firewall was off setting the multicast_querier seems to have done the trick.

    Thanks, Martin