<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">I have been trying to setup a geo replication with glusterfs servers. Everything worked as expected in my test environment, on my staging environment, but then i tried the production and got stuck.&nbsp;</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">Let say I have</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">gluster fs server is on public ip 1.1.1.1</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">gluster fs slave is on public 2.2.2.2, but this IP is on interface eth1 The eth0 on gluster fs slave server is 192.168.0.1.&nbsp;</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">So when i start the command on 1.1.1.1 (firewall and ssh keys are set properly)&nbsp;</p><pre style="margin-top: 0px; padding: 5px; border: 0px; font-size: 13px; overflow: auto; width: auto; max-height: 600px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; word-wrap: normal; color: rgb(34, 34, 34);" class=""><code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;" class="">gluster volume geo-replication vol0 2.2.2.2::vol0 create push-pem
</code></pre><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">I get an error.&nbsp;</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">Unable to fetch slave volume details. Please check the slave cluster and slave volume. geo-replication command failed</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">The error is not that important in this case, the problem is the slave IP address</p><pre style="margin-top: 0px; padding: 5px; border: 0px; font-size: 13px; overflow: auto; width: auto; max-height: 600px; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; word-wrap: normal; color: rgb(34, 34, 34);" class=""><code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;" class="">2015-03-16T11:41:08.101229+00:00 xxx kernel: TCP LOGDROP: IN= OUT=eth0 SRC=1.1.1.1 DST=192.168.0.1 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=24243 DF PROTO=TCP SPT=1015 DPT=24007 WINDOW=14600 RES=0x00 SYN URGP=0 
</code></pre><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">As you can see in the firewall drop log above, the port 24007 of the slave gluster daemon is advertised on private IP of the interface eth0 on slave server and should be the IP of the eth1 private IP. So master cannot connect and will time out</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">Is there a way to force gluster server to advertise interface eth1 or bind to it only?&nbsp;</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 15px; clear: both; color: rgb(34, 34, 34); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 19px;" class="">Thank you</p></body></html>
<br>
<div><font face="Arial, Helvetica, sans-serif" color="#808080" size="1">******************************<WBR>******************************<WBR>******************************<WBR>******************************<WBR>******************************<WBR>*</font><span style="color:rgb(128,128,128);font-size:x-small">**************</span><span style="color:rgb(128,128,128);font-size:x-small">******</span></div><div><font face="Arial, Helvetica, sans-serif" color="#808080" size="1">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.</font></div><div><font face="Arial, Helvetica, sans-serif" color="#808080" size="1">If you have received this email in error please reply to the sender indicating that fact and delete the copy you received.</font></div><div><font face="Arial, Helvetica, sans-serif" color="#808080" size="1">In addition, if you are not the intended recipient, you should not print, copy, retransmit, disseminate, or otherwise use the information</font></div><div><font face="Arial, Helvetica, sans-serif" color="#808080" size="1">contained in this communication. Thank you.</font></div><div><font face="Arial, Helvetica, sans-serif" color="#808080" size="1"><br></font></div><div><font face="Arial, Helvetica, sans-serif" color="#808080" size="1">Newsweaver is a Trade Mark of E-Search Ltd. Registered in Ireland No. 254994.</font></div><div><font face="Arial, Helvetica, sans-serif" color="#808080" size="1">Registered Office: 2200 Airport Business Park, Kinsale Road, Cork, Ireland. International Telephone Number: +353 21 2427277.</font></div><div><font face="Arial, Helvetica, sans-serif" color="#808080" size="1">******************************<WBR>******************************<WBR>******************************<WBR>******************************<WBR>******************************<WBR>*</font><span style="color:rgb(128,128,128);font-size:x-small">**************</span><span style="color:rgb(128,128,128);font-size:x-small">*</span><span style="color:rgb(128,128,128);font-size:x-small">*****</span></div>