[ClusterLabs] CentOS 7 - Corosync configuration

Willi Fehler willi.fehler at t-online.de
Fri Mar 6 03:24:25 EST 2015


I'm trying to build a Pacemaker/Corosync Cluster on CentOS7. The default 
Corosync configuration with one ring is working but then I only have 1 
ring and no encryption.

     id    =
     status    = ring 1 active with no faults

I've tried to activate the following configuration but it doesn't work.

[root at linsrv006 corosync]# cat /etc/corosync/corosync.conf
totem {
         version: 2
         secauth: on
         threads: 0
         rrp_mode: active
         interface {
                 ringnumber: 0
                 mcastport: 5411
         interface {
                 ringnumber: 1
                 mcastport: 5419
         token: 10000
         token_retransmits_before_loss_const: 40
         rrp_problem_count_timeout: 20000
         nodeid: 3
quorum {
     provider: corosync_votequorum
     expected_votes: 3

logging {
to_syslog: yes

The problem is also than, that pcs status is showing 3 nodes.

[root at linsrv006 corosync]# pcs status
Cluster name:
Last updated: Fri Mar  6 09:10:41 2015
Last change: Fri Mar  6 09:10:30 2015 via crmd on linsrv006.willi-net.local
Stack: corosync
Current DC: NONE
4 Nodes configured
9 Resources configured

OFFLINE: [ linsrv006 linsrv006.willi-net.local linsrv006.willi-net.local 
linsrv007 ]

Full list of resources:

  Master/Slave Set: ms_drbd_mysql [drbd_mysql] (unmanaged)
      Stopped: [ linsrv006 linsrv006.willi-net.local 
linsrv006.willi-net.local linsrv007 ]
  Clone Set: ping-clone [ping] (unmanaged)
      Stopped: [ linsrv006 linsrv006.willi-net.local 
linsrv006.willi-net.local linsrv007 ]
  Resource Group: mysql
      fs_mysql    (ocf::heartbeat:Filesystem):    Stopped (unmanaged)
      mysqld    (ocf::heartbeat:mysql):    Stopped (unmanaged)
      ip_mysql    (ocf::heartbeat:IPaddr2):    Stopped (unmanaged)

PCSD Status:
Error: no nodes found in corosync.conf

Please support me to fix my Corosync issue.

Many thanks & regards - Willi
Linux-HA mailing list
Linux-HA at lists.linux-ha.org
See also: http://linux-ha.org/ReportingProblems
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20150306/4e18c64e/attachment-0002.html>

More information about the Users mailing list