[DRBD-user] Hostname instead of IP address

Vincent Ducot vincent.ducot at rubycat-labs.com
Tue Aug 21 10:22:04 CEST 2018


Hello,

I'm testing DRBD and I'm wondering how is it possible to describe a
node's resource with a hostname, instead of an IP address.

For example something like :

on node1 {
        device /dev/drbd0;
        disk /dev/sdb;
        host node1;
        port 7788;
        meta-disk internal;
}

My need is to use DRBD for an application running in a Docker Swarm, so
I won't know the IP addresses of the containers.

Am I misunderstanding something ? Is there another way around ?

Regards,
Vincent



More information about the drbd-user mailing list