All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
GlusterFS Geo Replication help
Hello,
I was trying to connect my GlusterFS local volume with remove openvz vps. My local volumes are based on ubuntu 16.04, GlusterFS 3.7 same the remote vps. Remote vps has enabled FUSE. When I am trying to do this:
gluster volume geo-replication vm hkstore:/data/myna/ start
Staging failed on localhost. Please check the log file for more details.
geo-replication command failed[2016-08-09 20:13:48.535465] W [dict.c:896:str_to_data] (-->/usr/lib/x86_64-linux-gnu/glusterfs/3.7.14/xlator/mgmt/glusterd.so(glusterd_get_slave_details_confpath+0x13b) [0x7f141521c02b] -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(dict_set_str+0x16) [0x7f141a03ad26] -->/usr/lib/x86_64-linux-gnu/libglusterfs.so.0(str_to_data+0x80) [0x7f141a039430] ) 0-dict: value is NULL [Invalid argument]
Any suggestion please? Thanks in advance.
Comments
Hi,
That looks like only part of the log, can you post the rest?
Also, are you following a particular guide?
Official Guide to geo-replication is here: https://gluster.readthedocs.io/en/latest/Administrator Guide/Geo Replication/
Thanks for reply. Yes, I was following that tuto. Here is the log:
Thanks again for your suggestion.
Hi, I have followed line by line of the official instructions. Now situation is like this:
output error:
From log:
But in "hkstore" remote VPS, if I run:
Output:
command:
output:
But
Output
Any idea?
gluster volume geo-replication vm hkstore::slavevol create push-pem force
should be
gluster volume geo-replication vm geoaccount@hkstore::slavevol create push-pem force
Thanks, but:
Output:
Log:
Hmm.
Have you verified slave/master compatability using gverify?
How do I run that?
Output:
++ gluster --print-logdir
log_file=
/usr/lib/x86_64-linux-gnu/glusterfs/gverify.sh: line 121: $log_file: ambiguous redirect
ping_host slavevol
echo 'FORCE_BLOCKER|slavevol not reachable.'
/usr/lib/x86_64-linux-gnu/glusterfs/gverify.sh: line 133: $log_file: ambiguous redirect
exit 1