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. 

Let say I have

gluster fs server is on public ip 1.1.1.1

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. 

So when i start the command on 1.1.1.1 (firewall and ssh keys are set properly) 

gluster volume geo-replication vol0 2.2.2.2::vol0 create push-pem
I get an error. 

Unable to fetch slave volume details. Please check the slave cluster and slave 
volume. geo-replication command failed

The error is not that important in this case, the problem is the slave IP 
address

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 
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

Is there a way to force gluster server to advertise interface eth1 or bind to 
it only? 

Thank you
-- 
*******************************************************************************************************************************************************
********************
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.
If you have received this email in error please reply to the sender 
indicating that fact and delete the copy you received.
In addition, if you are not the intended recipient, you should not print, 
copy, retransmit, disseminate, or otherwise use the information
contained in this communication. Thank you.

Newsweaver is a Trade Mark of E-Search Ltd. Registered in Ireland No. 
254994.
Registered Office: 2200 Airport Business Park, Kinsale Road, Cork, Ireland. 
International Telephone Number: +353 21 2427277.
*******************************************************************************************************************************************************
********************
_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users

Reply via email to