<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It seems that the issue could also be caused because Corosync looks at
the classfull network masks of a bindnetaddr directive, in this case,
even if you have addresses with /24 netmask, Corosync thinks they're
/8. Try changing to a private class C addressing scheme, which also
uses /24.<br>
<br>
Read more here
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<a href="http://www.corosync.org/doku.php?id=faq:configure_openais">http://www.corosync.org/doku.php?id=faq:configure_openais</a><br>
<br>
Regards.<br>
<br>
Digimer wrote:
<blockquote cite="mid:4C3BD359.9070703@alteeve.com" type="cite">On
10-07-12 03:38 PM, Dan Frincu wrote:
<br>
<blockquote type="cite">Just a wild stab in the dark, but both your
multicast groups result in
<br>
the same MAC address 01:00:5e:5e:01:01. Now these are supposed to be
<br>
redundant connections, which means different IP/port/MAC's, different
<br>
routes, in case one fails the other one takes over. Try changing the
<br>
multicast groups so that the they differ at the end of the address,
<br>
rather than at the beginning.
<br>
<br>
You could use 226.94.1.1 for ring 0 and 226.94.1.2 for ring 1. The key
<br>
thing to remember here is that when building a multicast MAC address,
<br>
you only use the low order 23 bits of the multicast IP address, thus
<br>
allowing for overlapping of close high order bits in the multicast IP
<br>
address.
<br>
<br>
Regards.
<br>
</blockquote>
<br>
Hi Dan,
<br>
<br>
I tried changing my config file as per your recommendation, but it
didn't seem to sort out the problem. The 'corosync-objctl' output only
shows one ring. Oddly though, when I don't start corosync via cman, and
instead start corosync by itself, both rings are in fact shown...
<br>
<br>
Also, I must claim ignorance - I am not familiar with how multicast
addresses map to MAC addresses. Perhaps I am missing something
fundamental here? I originally extrapolated the second ring's config by
adapting the first ring which, itself, was adapted from example configs
available in the docs.
<br>
<br>
Here is my current corosync.conf file:
<br>
<br>
------------------------------------------------------------------
<br>
# This is a skeleton example configuration file.
<br>
compatibility: whitetank
<br>
<br>
# Totem Protocol options.
<br>
totem {
<br>
version: 2
<br>
secauth: off
<br>
threads: 0
<br>
rrp_mode: passive
<br>
interface {
<br>
# This is the back-channel subnet, which is the primary network
<br>
# for the totem protocol.
<br>
ringnumber: 0
<br>
bindnetaddr: 10.0.1.0
<br>
mcastaddr: 226.94.1.1
<br>
mcastport: 5405
<br>
}
<br>
interface {
<br>
# This is the storage network, which acts as a secondary,
backup
<br>
# network for the totem protocol.
<br>
ringnumber: 1
<br>
bindnetaddr: 10.0.0.0
<br>
mcastaddr: 227.94.1.2
<br>
mcastport: 5405
<br>
}
<br>
}
<br>
<br>
logging {
<br>
to_syslog: yes
<br>
fileline: off
<br>
to_stderr: yes
<br>
to_logfile: off
<br>
to_syslog: yes
<br>
#logfile: /var/log/corosync.log
<br>
debug: on
<br>
timestamp: on
<br>
}
<br>
<br>
amf {
<br>
mode: disabled
<br>
}
<br>
------------------------------------------------------------------
<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dan FRINCU
Systems Engineer
CCNA, RHCE
Streamwide Romania
</pre>
</body>
</html>