Hi again,

Sorry the right corosync.conf that I use is  :

/_corosync.conf :_/
aisexec {
    user: root
    group: root
}

cluster {
    name: MYCLUSTER

    clusternodes {
        clusternode {
            votes: 1
            nodeid: 1
            name: node0
    }
    clusternode {
            votes: 1
            nodeid: 2
            name: node1
   }

   cman {
         expected_votes: 2
        cluster_id: 1
        nodename: node0
        two_node: 1
        max_queued: 10
        }
}

service {
    name: corosync_cman
    ver: 0
}

quorum {
    provider:quorum_cman
}

totem {
    version: 2
    # How long before declaring a token lost (ms)
    token: 5000
    # How many token retransmits before forming a new configuration
    token_retransmits_before_loss_const: 20
    # How long to wait for join messages in the membership protocol (ms)
    join: 1000
    # How long to wait for consensus to be achieved before starting
    a new round of membership configuration (ms)
    consensus: 7500
    # 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
    # Disable encryption
    secauth: off
    # How many threads to use for encryption/decryption
    threads: 0
    # Limit generated nodeids to 31-bits (positive signed integers)
    clear_node_high_bit: yes
    # Optionally assign a fixed node id (integer)
    # nodeid: 1
    # rrp_mode : set to active but automatically reset to none if
    only one network interface
    # could be set alternatively to "passive" with 2
    network interfaces
    rrp_mode : active
    interface {
    ringnumber: 0
        # The following three values need to be set based on your
environment
        bindnetaddr: 18.20.0.0
        mcastaddr: 230.1.1.2
        mcastport: 5405
    }
}

logging {
    fileline: off
    to_syslog: yes
    to_stderr: no
    syslog_facility: daemon
    debug: on
    timestamp: on
}

amf {
    mode: disabled
}

_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to