Hello,
I want to create geo replication between two volumes.
Volumes works just fine. But geo-replication doesn't work at
all.
My master volume nodes are:
192.168.0.120
192.168.0.121
192.168.0.122
My slave volume nodes are:
192.168.0.123
192.168.0.124
192.168.0.125
My OS is: CentOS 7
I am running GlusterFS 3.8.5
Here is the status of geo-replication session:
MASTER NODE MASTER VOL MASTER BRICK SLAVE
USER SLAVE SLAVE NODE
STATUS CRAWL STATUS LAST_SYNCED
------------------------------------------------------------------------------------------------------------------------------------------------------------------
I don't understand why it doesn't work. Here are
interesting log files from the master node (192.168.0.120):
Here is a log file from the slave node (192.168.0.123):
Here is how I have created a session:
On slave nodes:
useradd geoaccount
groupadd geogroup
usermod -a -G geogroup geoaccount
usermod -a -G geogroup root
passwd geoaccount
mkdir -p /var/mountbroker-root
chown root:root -R /var/mountbroker-root
chmod 0711 -R /var/mountbroker-root
chown root:geogroup -R
/var/lib/glusterd/geo-replication/*
chmod g=rwx,u=rwx,o-rwx -R
/var/lib/glusterd/geo-replication/*
On the slave (192.168.0.123):
gluster system:: execute mountbroker opt mountbroker-root
/var/mountbroker-root
gluster system:: execute mountbroker opt
geo-replication-log-group geogroup
gluster system:: execute mountbroker opt
rpc-auth-allow-insecure on
gluster system:: execute mountbroker user geoaccount gv0
/usr/libexec/glusterfs/set_geo_rep_pem_keys.sh geoaccount
gv0 gv0
gluster volume set all cluster.enable-shared-storage enable
Then I have restarted all the slaves:
systemctl restart glusterd
On the master node (192.168.0.120):
ssh-keygen
gluster system:: execute gsec_create container
gluster volume set all cluster.enable-shared-storage enable
Does somebody know what is wrong with this installation? I
tried to install geo-replication for several times but without
success.. Please help me
Sincerely,
Alexandr