corosync+mgmtd配置

编辑/etc/corosync/corosync.conf将interface修改成
interface {
                # The following values need to be set based on your environment
                ringnumber: 0
                #bindnetaddr: 127.0.0.1
                bindnetaddr:  192.168.240.0
                mcastaddr: 226.94.1.1
                mcastport: 5405
 }
service修改成
service {
        # Load the Pacemaker Cluster Resource Manager
        ver:       0
        name:      pacemaker
        use_mgmtd:yes    #加入此句后可以pacemaker图形化工具
}
编辑/etc/default/corosync将START=no改成START=yes,否则sudo service corosync startus不会生效。

你可能感兴趣的:(corosync+mgmtd配置)