<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1500033479726_3264">Hello,</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1500033479726_3264"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1500033479726_3264">Just to not let this post without an answer I'll copy here the answer received through the commercial support channel.</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1500033479726_3264"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1500033479726_3264">Best regards,</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1500033479726_3264">Ioan</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1500033479726_3264"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1500033479726_3264">===</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1500033479726_3264" dir="ltr"><pre wrap="" id="yui_3_16_0_ym19_1_1500033479726_3510">In general, you have six IPs,
the DRBD node IPs,
the DRBD node facing IPs of the proxies,
and the "other site" facing IPs of the proxies,
and four node names:
on alice { alice-ip ... proxy-on alice-proxy { ... } }
...
I edited your pasted example below:
</pre><blockquote type="cite" id="yui_3_16_0_ym19_1_1500033479726_3511"><pre wrap="" id="yui_3_16_0_ym19_1_1500033479726_3512">alice <=== DRBD ==> bob</pre><pre wrap="" id="yui_3_16_0_ym19_1_1500033479726_3512">versus</pre><pre wrap="" id="yui_3_16_0_ym19_1_1500033479726_3512">alice <=DRBD=> p1 <=DRBD PROXY=> p2 <=DRBD=> bob
resource r0 {
protocol A;
device minor 0;
disk /dev/vdb;
meta-disk internal;
proxy {
memlimit 100M;
plugin {
zlib level 9;
}
}
on alice {
address <alice-node-addr>:8000;
proxy on alice-proxy {
inside <alice-facing-ip-of-alice-proxy>:8000;
outside <site-bob-facing-ip-of-alice-proxy>:8000;
</pre></blockquote><pre wrap="" id="yui_3_16_0_ym19_1_1500033479726_3513"> # you have to change the port if IPs should be identical
</pre><blockquote type="cite" id="yui_3_16_0_ym19_1_1500033479726_3514"><pre wrap="" id="yui_3_16_0_ym19_1_1500033479726_3515"> }
}
on bob {
address <bob-node-addr>:8000;
proxy on bob-proxy {
inside <bob-facing-ip-of-bob-proxy:8000;
outside <site-alice-facing-ip-of-bob-proxy>:8000;
}
}
}
</pre></blockquote><pre wrap="" id="yui_3_16_0_ym19_1_1500033479726_3516">There are more examples in the "drbd.conf.example" file
which is in the "scripts" subdirectory of the source repository,
and should also typically be installed into /usr/share/doc/drbd-utils-*/
</pre></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1500033479726_3264">===<br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1500033479726_3261" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1500033479726_3260"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1500033479726_3259"> <div dir="ltr" id="yui_3_16_0_ym19_1_1500033479726_3263"><br></div> </div> </div> </div></div></body></html>