[Cluster] Simple Corosync + Pacemaker

Written by admin on January 25, 2012 Categories: High Availability Tags: , ,

/etc/corosync/corosync.conf :

compatibility: whitetank

totem {
        version: 2
        secauth: off
        threads: 0
        interface {
                ringnumber: 0
                bindnetaddr: 10.149.56.0
                mcastaddr: 226.94.1.1
                mcastport: 5405
                ttl: 1
        }
}

logging {
        fileline: off
        to_stderr: no
        to_logfile: yes
        to_syslog: yes
        logfile: /var/log/cluster/corosync.log
        debug: off
        timestamp: on
        logger_subsys {
                subsys: AMF
                debug: off
        }
}

amf {
        mode: disabled
}

/etc/corosync/service.d/pcmk

service {
        name: pacemaker
        ver: 1
}

Pour résumer, la conf totem donne la communication Heartbeat, on déclare totem en service. La suite se fait avec la console crm.

No Comments on [Cluster] Simple Corosync + Pacemaker

Leave a Reply

Your email address will not be published. Required fields are marked *