<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 4 Apr 2017 11:08 pm, "Robert Altnoeder" <<a href="mailto:robert.altnoeder@linbit.com">robert.altnoeder@linbit.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On 04/04/2017 02:48 PM, Frank Rust wrote:<br>
> That’s what I tried, but what is not working, because the drbdmanage software detects its own name by doing os.uname().<br>
> And that reports the name from /etc/hostname, corresponding to the external interface.<br>
</div>No, it does not. The nodename is not the hostname.<br>
<br>
For drbdmanage to work, the name of each registered node must be the<br>
node name of that node, and the IP address must be an address that<br>
enables reaching the other registered nodes (e.g., all nodes must be on<br>
the same network/subnetwork or routed appropriately).<br>
The hostnames are irrelevant too.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Well the OP reported this is not the case. At least for him. We have to assume networking issue then?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In other words, the name matters, the IP address does not, as long as<br>
the hosts can use it to communicate. You cannot just use some other<br>
name, you can however use different IP addresses.<br>
<br>
Which IP address to use can be specified when initializing the<br>
drbdmanage cluster and when adding nodes<br>
(drbdmanage init <ip-address>, drbdmanage add-node <nodename> <ip-address>)<br>
<br>
br,<br>
<font color="#888888">--<br>
Robert Altnoeder<br>
<a href="tel:%2B43%201%20817%2082%2092%200" value="+43181782920">+43 1 817 82 92 0</a><br>
<a href="mailto:robert.altnoeder@linbit.com">robert.altnoeder@linbit.com</a><br>
<br>
LINBIT | Keeping The Digital World Running<br>
DRBD - Corosync - Pacemaker<br>
f / t / in / g+<br>
<br>
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.<br>
</font><div class="elided-text">______________________________<wbr>_________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">http://lists.linbit.com/<wbr>mailman/listinfo/drbd-user</a><br>
</div></blockquote></div><br></div></div></div>