
df.cluster at gmail
Aug 13, 2012, 6:49 AM
Post #2 of 2
(207 views)
Permalink
|
|
Re: Tool to query Corosync multicast configuration?
[In reply to]
|
|
Hi, On Mon, Aug 13, 2012 at 4:45 PM, Andreas Ntaflos <daff [at] pseudoterminal> 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. HTH, Dan > > 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 > 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 CCNA, RHCE _______________________________________________ Pacemaker mailing list: Pacemaker [at] oss 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
|