[DRBD-user] Testing DRBD9*.rpms: Not able to join the second node

T.J. Yang tjyang2001 at gmail.com
Tue Dec 27 17:17:32 CET 2016

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


Hi

I am testing out latest DRBD9 rpms, hoping to create bravo,alpha and
charlie 3 nodes cluster. Need pointer on where I did wrong.

1. rpms created and installed on centos 7.3

[root at bravo log]# ls /root/drbd9-rpms/
drbd-bash-completion-8.9.10-1.el7.centos.x86_64.rpm
drbd-debuginfo-8.9.10-1.el7.centos.x86_64.rpm
drbd-heartbeat-8.9.10-1.el7.centos.x86_64.rpm
drbd-kernel-debuginfo-9.0.6-1.el7.centos.x86_64.rpm
drbdmanage-0.98.2-1.noarch.rpm
drbdmanage-0.98.2-1.src.rpm
drbd-pacemaker-8.9.10-1.el7.centos.x86_64.rpm
drbd-udev-8.9.10-1.el7.centos.x86_64.rpm
drbd-utils-8.9.10-1.el7.centos.x86_64.rpm
drbd-xen-8.9.10-1.el7.centos.x86_64.rpm
kmod-drbd-9.0.6_3.10.0_514.2.2-1.el7.centos.x86_64.rpm
[root at bravo log]#

2.  Trying add 2nd node alpha from bravo node.

drbdmanage add-node alpha  192.168.174.136

The command failed after waiting on server (which server ?)

I login into alpha to run the command manually.

[root at alpha drbd9-rpms]# /bin/python /usr/bin/drbdmanage join -p 6999
192.168.174.136 1 bravo 192.168.174.141 0 AMcP2OIcqCwO+iTer5Bx
You are going to join an existing drbdmanage cluster.
CAUTION! Note that:
  * Any previous drbdmanage cluster information may be removed
  * Any remaining resources managed by a previous drbdmanage installation
    that still exist on this system will no longer be managed by drbdmanage

Confirm:

  yes/no: yes
Waiting for server: ...............
Error: Server currently not ready, please retry later
[root at alpha drbd9-rpms]#

3. messages from bravo:dmesg

[ 8924.782800] drbd .drbdctrl/0 drbd0: my node_id: 0
[ 8924.783326] drbd .drbdctrl/0 drbd0: drbd_bm_resize called with capacity
== 8112
[ 8924.783893] drbd .drbdctrl/0 drbd0: resync bitmap: bits=1014 words=496
pages=1
[ 8924.784785] drbd .drbdctrl/0 drbd0: recounting of set bits took
additional 0ms
[ 8924.785320] drbd .drbdctrl/0 drbd0: Suspended AL updates
[ 8924.785909] drbd .drbdctrl/0 drbd0: disk( Attaching -> Inconsistent )
[ 8924.786426] drbd .drbdctrl/0 drbd0: attached to current UUID:
0000000000000004
[ 8924.793622] drbd .drbdctrl/1 drbd1: disk( Diskless -> Attaching )
[ 8924.794266] drbd .drbdctrl/1 drbd1: Maximum number of peer devices = 31
[ 8924.794863] drbd .drbdctrl/1 drbd1: my node_id: 0
[ 8924.795341] drbd .drbdctrl/1 drbd1: Adjusting my ra_pages to backing
device's (32 -> 1024)
[ 8924.795869] drbd .drbdctrl/1 drbd1: my node_id: 0
[ 8924.796384] drbd .drbdctrl/1 drbd1: drbd_bm_resize called with capacity
== 8112
[ 8924.796943] drbd .drbdctrl/1 drbd1: resync bitmap: bits=1014 words=496
pages=1
[ 8924.800141] drbd .drbdctrl/1 drbd1: recounting of set bits took
additional 0ms
[ 8924.800703] drbd .drbdctrl/1 drbd1: Suspended AL updates
[ 8924.801227] drbd .drbdctrl/1 drbd1: disk( Attaching -> Inconsistent )
[ 8924.801735] drbd .drbdctrl/1 drbd1: attached to current UUID:
0000000000000004
[ 8924.805723] drbd .drbdctrl: Preparing cluster-wide state change
2748733687 (0->-1 7683/4609)
[ 8924.805754] drbd .drbdctrl: Committing cluster-wide state change
2748733687 (0ms)
[ 8924.806785] drbd .drbdctrl: role( Secondary -> Primary )
[ 8924.807294] drbd .drbdctrl/0 drbd0: disk( Inconsistent -> UpToDate )
[ 8924.807834] drbd .drbdctrl/1 drbd1: disk( Inconsistent -> UpToDate )
[ 8924.808402] drbd .drbdctrl/0 drbd0: size = 4056 KB (4056 KB)
[ 8924.809295] drbd .drbdctrl/1 drbd1: size = 4056 KB (4056 KB)
[ 8924.810123] drbd .drbdctrl: Forced to consider local data as UpToDate!
[ 8924.810637] drbd .drbdctrl/0 drbd0: new current UUID: 2691EE64A4980DDF
weak: FFFFFFFFFFFFFFFE
[ 8924.811408] drbd .drbdctrl/1 drbd1: new current UUID: CFE588BC8E2BF993
weak: FFFFFFFFFFFFFFFE
[ 8924.817828] drbd .drbdctrl: role( Primary -> Secondary )
[ 8925.540669] drbd .drbdctrl: Preparing cluster-wide state change
4197545272 (0->-1 3/1)
[ 8925.540788] drbd .drbdctrl: Committing cluster-wide state change
4197545272 (1ms)
[ 8925.541798] drbd .drbdctrl: role( Secondary -> Primary )
[ 8925.970160] drbd .drbdctrl/1 drbd1: new current UUID: 8A126F160C84B47D
weak: FFFFFFFFFFFFFFFE
[ 9031.800065] drbd .drbdctrl alpha: Starting sender thread (from drbdsetup
[42363])
[ 9031.802265] drbd .drbdctrl alpha: conn( StandAlone -> Unconnected )
[ 9031.804923] drbd .drbdctrl/0 drbd0: new current UUID: E095B253DA29FF13
weak: FFFFFFFFFFFFFFFE
[ 9031.805838] drbd .drbdctrl alpha: Starting receiver thread (from
drbd_w_.drbdctr [42225])
[ 9031.806840] drbd .drbdctrl alpha: conn( Unconnected -> Connecting )
[ 9031.807425] drbd .drbdctrl tcp:alpha: bind before listen failed, err =
-99
[ 9031.808002] drbd .drbdctrl alpha: Failed to initiate connection, err=-99
[ 9031.808551] drbd .drbdctrl alpha: conn( Connecting -> Disconnecting )
[ 9031.811144] drbd .drbdctrl alpha: Connection closed
[ 9031.813713] drbd .drbdctrl alpha: conn( Disconnecting -> StandAlone )
[ 9031.814300] drbd .drbdctrl alpha: Terminating receiver thread
[ 9166.872047] drbd .drbdctrl alpha: Terminating sender thread
[ 9173.689001] drbd .drbdctrl alpha: Starting sender thread (from drbdsetup
[42510])
[ 9173.690998] drbd .drbdctrl alpha: conn( StandAlone -> Unconnected )
[ 9173.691672] drbd .drbdctrl alpha: Starting receiver thread (from
drbd_w_.drbdctr [42225])
[ 9173.695329] drbd .drbdctrl alpha: conn( Unconnected -> Connecting )
[ 9173.695979] drbd .drbdctrl tcp:alpha: bind before listen failed, err =
-99
[ 9173.696512] drbd .drbdctrl alpha: Failed to initiate connection, err=-99
[ 9173.697128] drbd .drbdctrl alpha: conn( Connecting -> Disconnecting )
[ 9173.700659] drbd .drbdctrl alpha: Connection closed
[ 9173.708018] drbd .drbdctrl alpha: conn( Disconnecting -> StandAlone )
[ 9173.708724] drbd .drbdctrl alpha: Terminating receiver thread
[ 9208.874316] drbd .drbdctrl alpha: Terminating sender thread
[ 9211.583005] drbd .drbdctrl alpha: Starting sender thread (from drbdsetup
[42622])
[ 9211.585018] drbd .drbdctrl alpha: conn( StandAlone -> Unconnected )
[ 9211.585660] drbd .drbdctrl alpha: Starting receiver thread (from
drbd_w_.drbdctr [42225])
[ 9211.586687] drbd .drbdctrl alpha: conn( Unconnected -> Connecting )
[ 9211.587275] drbd .drbdctrl tcp:alpha: bind before listen failed, err =
-99
[ 9211.587809] drbd .drbdctrl alpha: Failed to initiate connection, err=-99
[ 9211.588439] drbd .drbdctrl alpha: conn( Connecting -> Disconnecting )
[ 9211.592332] drbd .drbdctrl alpha: Connection closed
[ 9211.593019] drbd .drbdctrl alpha: conn( Disconnecting -> StandAlone )
[ 9211.593684] drbd .drbdctrl alpha: Terminating receiver thread
[ 9286.627280] drbd .drbdctrl alpha: Terminating sender thread
[ 9302.338123] drbd .drbdctrl alpha: Starting sender thread (from drbdsetup
[42713])
[ 9302.340168] drbd .drbdctrl alpha: conn( StandAlone -> Unconnected )
[ 9302.340743] drbd .drbdctrl alpha: Starting receiver thread (from
drbd_w_.drbdctr [42225])
[ 9302.344261] drbd .drbdctrl alpha: conn( Unconnected -> Connecting )
[ 9302.344825] drbd .drbdctrl tcp:alpha: bind before listen failed, err =
-99
[ 9302.345511] drbd .drbdctrl alpha: Failed to initiate connection, err=-99
[ 9302.346043] drbd .drbdctrl alpha: conn( Connecting -> Disconnecting )
[ 9302.347804] drbd .drbdctrl alpha: Connection closed
[ 9302.350944] drbd .drbdctrl alpha: conn( Disconnecting -> StandAlone )
[ 9302.351550] drbd .drbdctrl alpha: Terminating receiver thread
[root at bravo log]#

4.  list node

[root at bravo log]# drbdmanage n
+---------------------------------------------------------------------------------------------------------+
| Name  | Pool Size | Pool Free |      |
                         State |
|---------------------------------------------------------------------------------------------------------|
| alpha |   unknown |   unknown |      | offline/quorum vote ignored,
pending actions: adjust connections |
| bravo |      4088 |      4080 |      |
                            ok |
+---------------------------------------------------------------------------------------------------------+
[root at bravo log]#



-- 
T.J. Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20161227/7d52631f/attachment.htm>


More information about the drbd-user mailing list