<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Michael,<br>
<br>
I have only 2 nodes. I've already restart Corosync on both nodes.
Nothing changed.<br>
<br>
[root@linsrv006 corosync]# uname -n<br>
linsrv006.willi-net.local<br>
<br>
[root@linsrv007 ~]# uname -n<br>
linsrv007.willi-net.local<br>
<br>
[root@linsrv006 corosync]# cat /etc/hosts<br>
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4<br>
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6<br>
10.10.10.1 linsrv006<br>
10.10.10.2 linsrv007<br>
<br>
[root@linsrv007 ~]# cat /etc/hosts<br>
127.0.0.1 localhost localhost.localdomain localhost4
localhost4.localdomain4<br>
::1 localhost localhost.localdomain localhost6
localhost6.localdomain6<br>
10.10.10.1 linsrv006<br>
10.10.10.2 linsrv007<br>
<br>
10.10.10.2 linsrv007<br>
<br>
[root@linsrv006 corosync]# corosync-cfgtool -s<br>
Printing ring status.<br>
Local node ID 1<br>
RING ID 0<br>
id = 192.168.0.9<br>
status = ring 0 active with no faults<br>
RING ID 1<br>
id = 10.10.10.1<br>
status = ring 1 active with no faults<br>
<br>
Regards - Willi<br>
<br>
<div class="moz-cite-prefix">Am 06.03.15 um 09:36 schrieb Michael
Schwartzkopff:<br>
</div>
<blockquote cite="mid:3707726.GulvA3YTDN@nb003" type="cite">
<pre wrap="">Am Freitag, 6. März 2015, 09:24:25 schrieb Willi Fehler:
</pre>
<blockquote type="cite">
<pre wrap="">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@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@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 ]
</pre>
</blockquote>
<pre wrap="">
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
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://clusterlabs.org/mailman/listinfo/users">http://clusterlabs.org/mailman/listinfo/users</a>
Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
</blockquote>
<br>
</body>
</html>