[ClusterLabs] Corosync do not send traffic
jpokorny at redhat.com
Mon Apr 4 17:50:03 EDT 2016
On 30/03/16 17:09 +0200, Roberto Munoz Gomez wrote:
> I am trying to migrate the bindnetaddr option from corosync.conf to
> cluster.conf but couldn't make it work. I want to use this interface for
> corosync traffic.
> inet addr:10.76.125.236 Bcast:10.76.125.239 Mask:255.255.255.240
Looking at cluster.rng schema (/var/lib/cluster/cluster.rng or the
respective counterpart tracked statically in the repository),
you'll want to configure what can be described with XPath
"/cluster/totem/interface/@bindnetaddr", for instance using ccs:
# ccs --sync --exp interface 'cluster:totem' bindnetaddr=10.76.125.224
(value obtained with: ipcalc -n 10.76.125.236 255.255.255.240)
You will likely have to restart the cluster software for this change
to be taken into account.
I haven't tested this will work, it also depends on if you have
pre-existing "interface" element in that place.
> In man cluster.conf says the last octect must be 0.
Here, you are likely confusing cluster.conf with corosync.conf.
Or perhaps something entirely else, as even that man page states
that network address should be used (last octet zeroed is only
for a specific case of /24 netmask, i.e., 255.255.255.0).
> But despite ccs_config validate says it is ok, the cman_tool fails.
ccs_config is a very weak form of a validation and only performs
superficial data type checking, if at all (most of the cases).
It's more a syntactical sanity check + "only defined resource/fence
agents referred?" detector. Keep that in mind.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Users