[DRBD-user] Host with multiple ip addresses

Igor Cicimov igorc at encompasscorporation.com
Wed Apr 5 00:35:38 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.


On 4 Apr 2017 11:08 pm, "Robert Altnoeder" <robert.altnoeder at linbit.com>
wrote:

On 04/04/2017 02:48 PM, Frank Rust wrote:
> That’s what I tried, but what is not working, because the drbdmanage
software detects its own name by doing os.uname().
> And that reports the name from /etc/hostname, corresponding to the
external interface.
No, it does not. The nodename is not the hostname.

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?


In other words, the name matters, the IP address does not, as long as
the hosts can use it to communicate. You cannot just use some other
name, you can however use different IP addresses.

Which IP address to use can be specified when initializing the
drbdmanage cluster and when adding nodes
(drbdmanage init <ip-address>, drbdmanage add-node <nodename> <ip-address>)

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170405/ff4dc433/attachment.htm>


More information about the drbd-user mailing list