<div><div dir="auto">Hi,</div><div dir="auto"><br></div><div dir="auto">Control volumes on the slave node, 10.9.4.192 , show up in &#39;Inconsistent&#39; state &#39;before-adjust&#39;. However &#39;after-adjust&#39; they show up in &#39;Uptodate&#39; state on all nodes, that is the expected state. </div><div dir="auto"><br></div><div dir="auto">Have you tried issuing &#39;drbdmanage restart -rq&#39; on the slave node and then &#39;drbdmanage n&#39; to check the status ? How about restarting the slave node ?</div><div dir="auto"><br></div><div dir="auto">Yannis</div><div dir="auto"><br></div><br><div class="gmail_quote"><div>On Thu, 7 Sep 2017 at 13:05, Zbigniew Kostrzewa &lt;<a href="mailto:kostrzewa@9livesdata.com">kostrzewa@9livesdata.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I am trying to setup 3-node cluster but constantly one of the nodes fail<br>
to sync with master. Here is what I do:<br>
<br>
1. I create 3 VMs with CentOS 7.2 minimal (`3.10.0-327.el7.x86_64`)<br>
2. I install DRBD9 RPMs I have built myself from following tags: drbd:<br>
9.0.9, drbd-utils: 9.1.0, drbdmanage: 0.99.10<br>
3. I setup SSH passwordless authentication between all 3 nodes<br>
4. I setup hostname and add all hostnames to /etc/hosts on each node<br>
5. On master, I run `drbdmanage init [MASTER_IP]`<br>
6. On each slave I run `drbdmanage add-node [SLAVE_HOSTNAME] [SLAVE_IP]`<br>
<br>
...and what happens is that first slave synchronizes with master<br>
properly but the second one hangs in &quot;Connecting&quot; state and is marked on<br>
master as &quot;StandAlone&quot;:<br>
<br>
.drbdctrl role:Primary<br>
   volume:0 disk:UpToDate<br>
   volume:1 disk:UpToDate<br>
   node-10-9-4-137 role:Secondary<br>
     volume:0 peer-disk:UpToDate<br>
     volume:1 peer-disk:UpToDate<br>
   node-10-9-4-192 connection:StandAlone<br>
<br>
According to user&#39;s guide, this should work out-of-the-box but somehow<br>
it doesn&#39;t. Am I missing something? Should I do some pre-setup that&#39;s<br>
not mentioned in the user&#39;s guide?<br>
<br>
I&#39;ve collected output from drbdadm, drbdsetup, dbus-monitor --system and<br>
syslog, if anyone would be willing to help me with this I have put the<br>
logs on github:<br>
- master:<br>
<a href="https://github.com/localghost/issues/tree/master/drbd/node_does_not_sync/before_adjust/10.9.4.119/logs" rel="noreferrer" target="_blank">https://github.com/localghost/issues/tree/master/drbd/node_does_not_sync/before_adjust/10.9.4.119/logs</a><br>
- slaves:<br>
     * successful:<br>
<a href="https://github.com/localghost/issues/tree/master/drbd/node_does_not_sync/before_adjust/10.9.4.137/logs" rel="noreferrer" target="_blank">https://github.com/localghost/issues/tree/master/drbd/node_does_not_sync/before_adjust/10.9.4.137/logs</a><br>
     * failing:<br>
<a href="https://github.com/localghost/issues/tree/master/drbd/node_does_not_sync/before_adjust/10.9.4.192/logs" rel="noreferrer" target="_blank">https://github.com/localghost/issues/tree/master/drbd/node_does_not_sync/before_adjust/10.9.4.192/logs</a><br>
<br>
Thanks,<br>
Zbigniew Kostrzewa<br>
<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature">Sent from Gmail Mobile</div>