[DRBD-user] Host with multiple ip addresses

Roberto Resoli roberto at resolutions.it
Tue Apr 4 13:42:12 CEST 2017

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

Il 04/04/2017 13:08, Frank Rust ha scritto:
> Hi folks,
> I am wondering if it would be possible to create a drbdmanage cluster where the hostname don’t match the ip address of the network interface to use.
> In detail: 
> I have a three node configuration with the ip visible to the outside:
> node1 IP:  hostname fs1 
> node2 IP:  hostname fs2
> node3 IP:  hostname fs3
> Each of the nodes has a second network adapter which shall be used for the storage distribution (and is not visible to the outside).
>   node1
>   node2
>   node3
> if I do 
>   drbdmanage init
>   drbdmanage add-node fs2
>   drbdmanage add-node fs3
> It will not work because the IP-address of "fs1" is and not and so on.
> I hope it’s possible to understand my description...
> I can not change the hostnames according to the storage network because it would break other services for the outside.
> So my question: how would I configure it to get the second network adapter used.

My cluster is very similar to your; here my /etc/hosts, actualized with
your IPs (and hostname, replace "yourdomain.com" with your own); maybe
pvelocalhost is redundant in your case: localhost.localdomain localhost fs1.yourdomain.com fs1 pvelocalhost fs1.yourdomain.com  fs1 fs2.yourdomain.com fs2 fs2.yourdomain.con fs2 fs3.yourdomain.com fs3 fs3.yourdomain.com fs3

I have initialized DRBD9 without problems ...


More information about the drbd-user mailing list