# Please read the corosync.conf.5 manual page

totem {
    version: 2

    # How long before declaring a token lost (ms)
    token: 1000

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

    # How long to wait for join messages in the membership protocol (ms)
    join: 60

    # How long to wait for consensus to be achieved before starting a new round of membership configuration (ms)
    consensus: 3600

    # Turn off the virtual synchrony filter
    vsftype: none

    # Number of messages that may be sent by one processor on receipt of the token
    max_messages: 20

    # Limit generated nodeids to 31-bits (positive signed integers)
    clear_node_high_bit: yes

    # Disable encryption
    #secauth: off

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

    # Optionally assign a fixed node id (integer)
    # nodeid: 1234

    # This specifies the mode of redundant ring, which may be none, active, or passive.
    rrp_mode: passive

    transport: udpu
}

amf {
    mode: disabled
}

aisexec {
    user:   root
    group:  root
}

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

quorum {
    provider: corosync_votequorum
    expected_votes: 2
    two_node: 1
    wait_for_all: 0
    auto_tie_breaker: 1
}

nodelist {
    node {
        ring0_addr: 10.4.3.10
        ring1_addr: 10.107.36.10
    }
    node {
        ring0_addr: 10.4.3.11
        ring1_addr: 10.107.36.11
    }
}

