[Pacemaker] Tool to query Corosync multicast configuration?

Dan Frincu df.cluster at gmail.com
Mon Aug 13 09:49:31 EDT 2012


On Mon, Aug 13, 2012 at 4:45 PM, Andreas Ntaflos
<daff at pseudoterminal.org> wrote:
> Hi,
> is it possible to somehow query the multicast address(es) and port(s)
> used by Corosync? I mean other than using grep and awk:
> egrep "mcastaddr:" /etc/corosync/corosync.conf| awk '{print $2}'
> Is there a commandline tool that displays such information? I have
> looked at corosync-cfgtool, but neither the "-a" or "-s" switches make
> it output any multicast information.

netstat -ng
netstat -tupan | grep corosync

It uses both multicast and unicast.


> The reason I am asking is that I want to write a Puppet/Facter fact so
> that we get some overview over our many two-node clusters and their
> multicast configurations.
> Thanks,
> Andreas
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

Dan Frincu

More information about the Pacemaker mailing list