[DRBD-user] drbd connection stays connecting

Adrian Pascalau adrian27oradea at gmail.com
Wed Aug 15 23:10:01 CEST 2018


Hi,

I have two Centos 7 virtual machines running in OpenStack pike, and I
would like to setup the drbd between them. My configuration is like
this on both of them:

[root at drbd1 ~]# drbdadm dump
# /etc/drbd.conf
global {
    usage-count no;
}

common {
    net {
        protocol           C;
    }
}

# resource drbd0 on drbd1.novalocal: not ignored, not stacked
# defined at /etc/drbd.d/drbd0.res:1
resource drbd0 {
    device               /dev/drbd0 minor 0;
    disk                 /dev/vdb;
    meta-disk            internal;
    on drbd1 {
        node-id 0;
        address          ipv4 192.168.1.251:7789;
    }
    on drbd2 {
        node-id 1;
        address          ipv4 192.168.1.252:7789;
    }
}

The drbd version is this one:

[root at drbd1 ~]# rpm -qa | grep drbd
drbd90-utils-9.3.1-1.el7.elrepo.x86_64
kmod-drbd90-9.0.14-1.el7_5.elrepo.x86_64



More information about the drbd-user mailing list