[ClusterLabs] CentOS 7 - Corosync configuration
Michael Schwartzkopff
ms at sys4.de
Fri Mar 6 08:36:09 UTC 2015
Am Freitag, 6. März 2015, 09:24:25 schrieb Willi Fehler:
> 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 ]
Corosync knows even 4 nodes.
How many nodes do you have? What is their "uname -u"?
What does corosync-objctl say?
What happens if you stop corosync on all nodes and start it again?
Mit freundlichen Grüßen,
Michael Schwartzkopff
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20150306/1c7a327b/attachment-0004.sig>
More information about the Users
mailing list