[DRBD-user] drbd not syncing/connecting but network ok

Ac Perdon acp.groupmail at gmail.com
Tue Feb 24 03:00:42 CET 2015

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


yup your correct something to do with my FW(I'm using iptables) I flush it
for a while to troubleshoot it and I get this output, that means its now
connected and sync to node 2. I'll add the port on my iptables.

[root at node1RHEL5 ~]# cat /proc/drbd
version: 8.3.15 (api:88/proto:86-97)
GIT-hash: 0ce4d235fc02b5c53c1c52c53433d11a694eab8c build by
mockbuild at builder10.centos.org, 2013-03-27 16:01:26
 0: cs:Connected ro:Secondary/Secondary ds:UpToDate/UpToDate C r-----
    ns:1044124 nr:0 dw:0 dr:1044124 al:0 bm:64 lo:0 pe:0 ua:0 ap:0 ep:1
wo:b oos:0


Thanks for the help.

-turffy(ac)

On Mon, Feb 23, 2015 at 10:54 PM, Digimer <lists at alteeve.ca> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Firewall?
>
> If you run:
>
> modprobe drbd
> drbdadm attach all
> drbd connect all
>
> On the 10.1.1.10 node, can you 'telnet 10.1.1.10 7788' from the other
> node? If so, what about in the other direction? If that works, can you
> test disabling encryption? Maybe there is a key problem?
>
> On 23/02/15 09:12 AM, Ac Perdon wrote:
> > Hi,
> >
> >
> > I'm setting up fresh install on a Centos 5.11 using version:
> > 8.3.15 of drbd. When I start the service I get below.
> >
> > [root at node1RHEL5 ~]# service drbd start Stopping all DRBD
> > resources: . Starting DRBD resources: [ d(clusterdb) s(clusterdb)
> > n(clusterdb) ]..........
> > ***************************************************************
> > DRBD's startup script waits for the peer node(s) to appear. - In
> > case this node was already a degraded cluster before the reboot the
> > timeout is 30 seconds. [degr-wfc-timeout] - If the peer was
> > available before the reboot the timeout will expire after 30
> > seconds. [wfc-timeout] (These values are for resource 'clusterdb';
> > 0 sec -> wait forever) To abort waiting enter 'yes' [  19]: .
> > [root at node1RHEL5 ~]#
> >
> >
> > Its not syncing or connecting.
> >
> > [root at node1RHEL5 ~]# cat /proc/drbd version: 8.3.15
> > (api:88/proto:86-97) GIT-hash:
> > 0ce4d235fc02b5c53c1c52c53433d11a694eab8c build by
> > mockbuild at builder10.centos.org
> > <mailto:mockbuild at builder10.centos.org>, 2013-03-27 16:01:26 0:
> > cs:WFConnection ro:Secondary/Unknown ds:UpToDate/Outdated C r----s
> > ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b
> > oos:1044124 [root at node1RHEL5 ~]#
> >
> >
> > I check my hostname, connection and firewall every thing seem ok.
> > I disable SE linux also.
> >
> > Might be my .res config. Can someone check if below are correct
> > config. by the way my Centos is running on a vmware worksation.
> >
> > [root at node1RHEL5 ~]# cat /etc/drbd.d/clusterdb.res resource
> > clusterdb { startup { wfc-timeout 30; outdated-wfc-timeout 20;
> > degr-wfc-timeout 30; }
> >
> > net { cram-hmac-alg sha1; shared-secret sync_disk; }
> >
> > syncer { rate 10M; al-extents 257; on-no-data-accessible io-error;
> > } on node1RHEL5.test.local { device /dev/drbd0; disk /dev/sdb1;
> > address 10.1.1.10:7788 <http://10.1.1.10:7788>; flexible-meta-disk
> > internal; } on node2RHEL5.test.local { device /dev/drbd0; disk
> > /dev/sdb1; address 10.1.1.11:7788 <http://10.1.1.11:7788>;
> > meta-disk internal; } }
> >
> > Thanks, AC
> >
> >
> > _______________________________________________ drbd-user mailing
> > list drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
> >
>
>
> - --
> Digimer
> Papers and Projects: https://alteeve.ca/w/
> What if the cure for cancer is trapped in the mind of a person without
> access to education?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBAgAGBQJU6z8cAAoJECChztQA3mh00XkP/3zyjoOE0B+gyOU9Uqvv2Mik
> 2EWKqrzLCQbMOg6mBZtWQ4UZBhM+WBI6A+neF0gilFZZNxnJmJ7qdNnx4rQav0DD
> a+JKKfiDlAAFBIm+KmuCdWxyaaTyLXh3HrfNO+17xwYyUswsmnQk4dB4tLRrjmRc
> LFRK6SToDapZK8jurlFUJGxa6StFzZcxk0Ih7VUQPotfX2qO+xlRz+MQterfyIbm
> IMvweJMIwsnuIQfOBqvpF542g94hS/tijcGTYoqLh6PYnuG36jr3O5fsNV2H5sKJ
> 5Tl3p4m4cDLFHJuO6pQLLiivpPiseOEKTHKBLZbu1HWVDDToKLLRfCZEx/K7/iji
> ARln5eX//7OlJdOyqIsIYWgGi3JjXBY2E3cwrJNCpFPnmIeyiemxDPWPYZ3cN6Pp
> oBIotvN8HgT89VtTIW7EuaC2H/aTgp+CaDosmx6+rBOQQHed3eBZ7Dd5iWuCJz+k
> nwl4M00AoZSRDcszWqXLPim6rNbOEdXcoK3PfhOKXsP5GkFaBUaCbGn+PZL7rgwb
> mhyGEpwPYn3BRrTkpAVabar417XqT+bta/jhcxpctT4xDImzX/QAVjbg9meg+5hg
> DzDgVNMrZUl0tbhSoSOb+EhwWm92DD5GqXw8SkNmcn6arkBooLyaLsf1IupJEvmq
> p55mwHtlkrrXNKINgwGN
> =Snh2
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20150224/5ef8f5e7/attachment.htm>


More information about the drbd-user mailing list