[Pacemaker] mcast vs broadcast

Shravan Mishra shravan.mishra at gmail.com
Mon Jan 18 16:25:59 UTC 2010


Hi all,



Following is my corosync.conf.

Even though broadcast is enabled I see "mcasted" messages like these
in corosync.log.

Is it ok?  even when the broadcast is on and not mcast.

======
Jan 18 09:50:40 corosync [TOTEM ] mcasted message added to pending queue
Jan 18 09:50:40 corosync [TOTEM ] mcasted message added to pending queue
Jan 18 09:50:40 corosync [TOTEM ] Delivering 171 to 173
Jan 18 09:50:40 corosync [TOTEM ] Delivering MCAST message with seq
172 to pending delivery queue
Jan 18 09:50:40 corosync [TOTEM ] Delivering MCAST message with seq
173 to pending delivery queue
Jan 18 09:50:40 corosync [TOTEM ] Received ringid(192.168.2.1:168) seq 172
Jan 18 09:50:40 corosync [TOTEM ] Received ringid(192.168.2.1:168) seq 172
Jan 18 09:50:40 corosync [TOTEM ] Received ringid(192.168.2.1:168) seq 173
Jan 18 09:50:40 corosync [TOTEM ] Received ringid(192.168.2.1:168) seq 173
Jan 18 09:50:40 corosync [TOTEM ] releasing messages up to and including 172
Jan 18 09:50:40 corosync [TOTEM ] releasing messages up to and including 173


=====

===============

# Please read the corosync.conf.5 manual page
compatibility: whitetank

totem {
        version: 2
        token: 3000
        token_retransmits_before_loss_const: 10
        join: 60
        consensus: 1500
        vsftype: none
        max_messages: 20
        clear_node_high_bit: yes
        secauth: on
        threads: 0
        rrp_mode: passive

        interface {
                ringnumber: 0
                bindnetaddr: 192.168.2.0
        #       mcastaddr: 226.94.1.1
        broadcast: yes
                mcastport: 5405
        }
        interface {
                ringnumber: 1
                bindnetaddr: 172.20.20.0
                #mcastaddr: 226.94.2.1
                broadcast: yes
                mcastport: 5405
        }
}
logging {
        fileline: off
        to_stderr: yes
        to_logfile: yes
        to_syslog: yes
        logfile: /tmp/corosync.log
        debug: on
        timestamp: on
        logger_subsys {
                subsys: AMF
                debug: off
        }
}

service {
        name: pacemaker
        ver: 0
}

aisexec {
        user:root
        group: root
}

amf {
        mode: disabled
}
=====================



Thanks
Shravan




More information about the Pacemaker mailing list