totem {
     version: 2

     # Time (in ms) to wait for a token (1)
     token: 10000

     # How many token retransmits before forming a new
     # configuration
     token_retransmits_before_loss_const: 10

     # Turn off the virtual synchrony filter
     vsftype: none

     # Enable encryption (2)
     secauth: on

     # How many threads to use for encryption/decryption
     threads: 0

     # This specifies the redundant ring protocol, which may be
     # none, active, or passive. (3)
     rrp_mode: active

     # The following is a two-ring multicast configuration. (4)
     interface {
             ringnumber: 0
             bindnetaddr: {{pillar['netprefix']['srv']['network']}}
             mcastaddr: {{pillar['corosync']['srv']['mcastaddr']}}
             mcastport: {{pillar['corosync']['srv']['port']}}
     }
     interface {
             ringnumber: 1
             bindnetaddr: {{pillar['netprefix']['data']['network']}}
             mcastaddr: {{pillar['corosync']['data']['mcastaddr']}}
             mcastport: {{pillar['corosync']['data']['port']}}
     }
}

amf {
     mode: disabled
}

service {
        # Load the Pacemaker Cluster Resource Manager (5)
        ver:       1
        name:      pacemaker
}

aisexec {
        user:   root
        group:  root
}

logging {
        fileline: off
        to_stderr: yes
        to_logfile: no
        to_syslog: yes
        syslog_facility: daemon
        debug: off
        timestamp: on
        logger_subsys {
                subsys: AMF
                debug: off
                tags: enter|leave|trace1|trace2|trace3|trace4|trace6
        }
}

quorum {
        provider: corosync_votequorum 
        expected_votes: 3
        wait_for_all: 1 
        last_man_standing: 1
        last_man_standing_window: 10000
}

