DRBD 2 nodes syncer error proxmox 4.3

JoanLl

New Member
Oct 8, 2016
2
0
1
52
Hi,

I'm trying to set up a 2 node DRBD following this guide:

https://pve.proxmox.com/wiki/DRBD

DRBD configuration is mostly the same as the guide, just IP values have been changed. When I try to start DRBD I got an error:

Code:
SRV04:/etc/drbd.d# /etc/init.d/drbd start
[....] Starting drbd (via systemctl): drbd.serviceJob for drbd.service failed. See 'systemctl status drbd.service' and 'journalctl -xn' for details.
failed!

Looking at the log:

Code:
SRV04:/etc/drbd.d# journalctl -xn
[...]
Oct 08 14:54:51 SRV04 systemd[1]: Starting DRBD -- please disable. Unless you are NOT using a cluster manager....
-- Subject: Unit drbd.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit drbd.service has begun starting up.
Oct 08 14:54:51 SRV04 drbd[3210]: Starting DRBD resources:
Oct 08 14:54:51 SRV04 drbd[3210]: drbd.d/global_common.conf:4: Parse error: 'a syncer option keyword' expected,
Oct 08 14:54:51 SRV04 drbd[3210]: but got 'rate'
Oct 08 14:54:51 SRV04 drbd[3210]: failed!
Oct 08 14:54:51 SRV04 systemd[1]: drbd.service: main process exited, code=exited, status=6/NOTCONFIGURED
Oct 08 14:54:51 SRV04 systemd[1]: Failed to start DRBD -- please disable. Unless you are NOT using a cluster manager..
-- Subject: Unit drbd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit drbd.service has failed.
--
-- The result is failed.
Oct 08 14:54:51 SRV04 systemd[1]: Unit drbd.service entered failed state.

content of global_common.conf:

Code:
global { usage-count no; }
common {
        handlers { out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh root"; }
syncer { rate 30M; verify-alg md5; }

}

Using nosubscription repositories.

Code:
SRV04:/etc/drbd.d# apt-cache policy drbd8-utils
drbd8-utils:
  Installed: 2:8.9.8-1
  Candidate: 2:8.9.8-1
  Version table:
*** 2:8.9.8-1 0
        500 http://download.proxmox.com/debian/ jessie/pve-no-subscription amd64 Packages
        100 /var/lib/dpkg/status
     2:8.9.7-1 0
        500 http://download.proxmox.com/debian/ jessie/pve-no-subscription amd64 Packages
     2:8.9.6-1 0
        500 http://download.proxmox.com/debian/ jessie/pve-no-subscription amd64 Packages
     2:8.9.4-1 0
        500 http://download.proxmox.com/debian/ jessie/pve-no-subscription amd64 Packages
     2:8.9.2~rc1-2+deb8u1 0
        500 http://ftp.es.debian.org/debian/ jessie/main amd64 Packages

A bug or I'm missing something?

Thanks,
 
True, it's DRBD9 in PVE4

Code:
SRV04:~# modinfo drbd
filename:       /lib/modules/4.4.19-1-pve/kernel/drivers/block/drbd/drbd.ko
alias:          block-major-147-*
license:        GPL
version:        9.0.4-1
description:    drbd - Distributed Replicated Block Device v9.0.4-1
author:         Philipp Reisner <phil@linbit.com>, Lars Ellenberg <lars@linbit.com>
srcversion:     BE45C193726CC418B801C5C
depends:        libcrc32c
vermagic:       4.4.19-1-pve SMP mod_unload modversions
parm:           minor_count:Approximate number of drbd devices (1-255) (uint)
parm:           disable_sendpage:bool
parm:           allow_oos:DONT USE! (bool)
parm:           enable_faults:int
parm:           fault_rate:int
parm:           fault_count:int
parm:           fault_devs:int
parm:           two_phase_commit_fail:int
parm:           usermode_helper:string

According to DRBD9 documentation, dual-primary mode is not supported in 9.0.x, it will be in 9.1.

I wanted to setup DRBD dual-primary mode to try live migration on a two node PVE cluster. I guess the only way to achieve it is to wait till DRBD's 9.1 release and later added to pve repositories.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!