[ClusterLabs] CentOS 7 - Corosync configuration
Willi Fehler
willi.fehler at t-online.de
Fri Mar 6 09:24:25 CET 2015
Hi,
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.
RING ID 1
id = 10.10.10.1
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
bindnetaddr: 192.168.0.0
mcastaddr: 226.94.42.7
mcastport: 5411
}
interface {
ringnumber: 1
bindnetaddr: 10.10.10.0
mcastaddr: 226.94.42.11
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
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://clusterlabs.org/pipermail/users/attachments/20150306/4e18c64e/attachment-0001.html>
More information about the Users
mailing list