[DRBD-user] Host with multiple ip addresses

Frank Rust f.rust at tu-braunschweig.de
Wed Apr 5 15:17:28 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.


I think I found my problem:
The primary interfaces are firewalled against each other and sometimes not even in the same networks. So probably the low-level syncing on the storage network works but the D-Bus and management functions fail.
I added some more hosts and this seems to be the reason. Some hosts CAN see each other, others not.



> Am 05.04.2017 um 10:31 schrieb Robert Altnoeder <robert.altnoeder at linbit.com>:
> 
> On 04/05/2017 12:35 AM, Igor Cicimov wrote:
>> 
>> 
>> On 4 Apr 2017 11:08 pm, "Robert Altnoeder"
>> <robert.altnoeder at linbit.com <mailto:robert.altnoeder at linbit.com>> wrote:
>> 
>> 
>>    For drbdmanage to work, the name of each registered node must be the
>>    node name of that node, and the IP address must be an address that
>>    enables reaching the other registered nodes (e.g., all nodes must
>>    be on
>>    the same network/subnetwork or routed appropriately).
>>    The hostnames are irrelevant too.
>> 
>> 
>> Well the OP reported this is not the case. At least for him. We have
>> to assume networking issue then?
> Possible, all I can say is that this is the way it is supposed to be set up.
> 
> For example, with:
> eth1 192.168.133.0/24
> eth2 192.168.144.0/24
> 
> it can be configured to use eth1:
> 
> criminy:~ # drbdmanage nodes --show IP
> ╭────────────────────────────────────────────────────────────────────────────────────────────────────╮
> ┊ Name    ┊ Pool Size ┊ Pool Free ┊             IP
> ┊                                         ┊ State ┊
> ╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
> ┊ criminy ┊       508 ┊       448 ┊ 192.168.133.25
> ┊                                         ┊    ok ┊
> ┊ grimes  ┊       508 ┊       448 ┊ 192.168.133.27
> ┊                                         ┊    ok ┊
> ┊ lilith  ┊       508 ┊       448 ┊ 192.168.133.26
> ┊                                         ┊    ok ┊
> ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
> criminy:~ # drbdmanage list-assignments
> ╭────────────────────────────────────────────────────────────────────────────────────────────────────╮
> ┊ Node    ┊ Resource ┊ Vol ID
> ┊                                                              ┊ State ┊
> ╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
> ┊ criminy ┊ sample   ┊      *
> ┊                                                              ┊    ok ┊
> ┊ grimes  ┊ sample   ┊      *
> ┊                                                              ┊    ok ┊
> ┊ lilith  ┊ sample   ┊      *
> ┊                                                              ┊    ok ┊
> ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
> criminy:~ #
> 
> or to use eth2:
> 
> criminy:~ # drbdmanage nodes --show IP
> ╭────────────────────────────────────────────────────────────────────────────────────────────────────╮
> ┊ Name    ┊ Pool Size ┊ Pool Free ┊             IP
> ┊                                         ┊ State ┊
> ╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
> ┊ criminy ┊       508 ┊       448 ┊ 192.168.144.25
> ┊                                         ┊    ok ┊
> ┊ grimes  ┊       508 ┊       448 ┊ 192.168.144.27
> ┊                                         ┊    ok ┊
> ┊ lilith  ┊       508 ┊       448 ┊ 192.168.144.26
> ┊                                         ┊    ok ┊
> ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
> criminy:~ # drbdmanage list-assignments
> ╭────────────────────────────────────────────────────────────────────────────────────────────────────╮
> ┊ Node    ┊ Resource ┊ Vol ID
> ┊                                                              ┊ State ┊
> ╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
> ┊ criminy ┊ sample   ┊      *
> ┊                                                              ┊    ok ┊
> ┊ grimes  ┊ sample   ┊      *
> ┊                                                              ┊    ok ┊
> ┊ lilith  ┊ sample   ┊      *
> ┊                                                              ┊    ok ┊
> ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
> criminy:~ #
> 
> Resources will use the addresses that the node entries show. Multiple
> addresses are not supported by drbdmanage (although the DRBD backend
> would support them).
> 
> br,
> -- 
> Robert Altnoeder
> +43 1 817 82 92 0
> robert.altnoeder at linbit.com
> 
> LINBIT | Keeping The Digital World Running
> DRBD - Corosync - Pacemaker
> f /  t /  in /  g+
> 
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list