I have three nodes: nginx01-03 (all running Ubuntu 14.04). The nodes nginx01/02 currently reside in NYC3 and have GlusterFS (v3.6.5) replication working between them without issue via the private network. I have modified the
/etc/hosts file of all three nodes to point to the respective parties IP address that’s necessary (in this case: 01 and 02 see the private IP of each other and the public IP of 03 whereas 03 sees the public IP of 01 and 02). They’ve been given the shortname of nginx01-03 respectively.
I was able to establish replication between two nodes in the same DC (NYC3) over the private network without issue; however I’m trying to utilize the geo-replication feature of GlusterFS with my NYC3 node(s) and a LON node.
I’ve attempted to use instructions found here: http://www.jamescoyle.net/how-to/1037-synchronise-a-glusterfs-volume-to-a-remote-site-using-geo-replication
However there are numerous issues that I’ve encountered:
secret.pem file did not allow for password-less SSH. I had to modify the
~/.ssh/config file on the master node to specifically point to that file by using the
the command to initiate the volume on the master node to the slave node failed:
root@nginx01:~# gluster volume geo-replication primaryvol nginx03:/gluster/ start Staging failed on localhost. Please check the log file for more details. geo-replication command failed
I have no idea where the “log file” in question is; however I utilized the
--log-file= option to specify one. It proved less than helpful as the only information I received was the following two lines:
root@nginx01:~# tail /var/log/gluster_error [2015-09-06 12:51:34.949782] I [socket.c:2353:socket_event_handler] 0-transport: disconnecting now [2015-09-06 12:51:35.205223] I [input.c:36:cli_batch] 0-: Exiting with: -1
Anyone have success setting this up or using geo-replication in general? Any additional information you need just let me know and I’ll gladly provide!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!