On 07/29/2010 11:16 AM, Ofer Inbar wrote:
> Using OpenAIS as part of attempting to run Red Hat Cluster Suite,
> and I ran across an oddity.  CentOS 5.3, openais-0.80.6-8.el5
>
> In /etc/ais/openais.conf I have "mcastaddr: 239.245.0.45"
> Debug logging is on.  When I start service openais and then
> start service cman, I see this in /var/log/messages:
>
> Jul 29 12:24:15 pol6opsintmr2 openais[29062]: [MAIN ] Using default multicast 
> address of 239.192.184.181
>
> netstat -g, tcpdump, lsof, all show me that aisexec is using the
> multicast address I configured, 239.245.0.45, and that nothing is
> using 239.192.184.181.  So what is the meaning of that log message,
> and where does that "default" multicast IP come from?
>    -- Cos
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais

cman does not read /etc/ais/openais.conf.  Instead it uses its own 
configuration file that is read from /etc/cluster/cluster.xml.  The 
multicast address for cman is autogenerated by applying a hash function 
to the cluster name and using it as the lower 16 bits of the multicast 
address.  A cman cluster will always have a multicast address of 
239.192.x.x where x.x is the 16 bit hash produced from the cluster name.

Regards
-steve
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to