Re: georeplication woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Maarten,

On Sat, Jul 21, 2018 at 12:34 AM Maarten van Baarsel
<mrten_glusterusers@xxxxx> wrote:
>
>
> Hi Sunny,
>
> thanks for your reply!
>
> > I think setup for gluster binary location is wrongly setup here.
> >
> > Can you please try setting it up by using following command
> >
> > on master
> > #gluster vol geo-rep <mastervol> <slave-vol> config
> > gluster-command-dir <gluster-binary-location>
> >
> > and on slave
> > #gluster vol geo-rep <mastervol> <slave-vol> config
> > slave-gluster-command-dir <gluster-binary-location>
>
> Is there a difference between _ and -? I only seem to have the _ ones:
>
> (gluster-3 is one of the master 3-replica, gluster-4 is the slave)
>
> root@gluster-3:/home/mrten# gluster volume geo-rep gl0 ssh://georep@gluster-4.glstr::glbackup config | fgrep command
> gluster_command:gluster
> gluster_command_dir:/usr/sbin/
> rsync_command:rsync
> slave_gluster_command_dir:/usr/sbin/
> ssh_command:ssh
> tar_command:tar
>
> Can't run that command on the slave, it doesn't know the gl0 volume:
>
> root@gluster-4:/home/mrten# gluster volume geo-rep gl0 ssh://georep@gluster-4.glstr::glbackup config
please do not use ssh://
gluster volume geo-rep gl0 georep@gluster-4.glstr::glbackup config
just use it like config command.
> Volume gl0 does not exist
> geo-replication command failed
>
>
>
> But the location is correct:
>
> master:
>
> root@gluster-3:/home/mrten# which gluster
> /usr/sbin/gluster
>
> slave:
>
> root@gluster-4:/home/mrten# which gluster
> /usr/sbin/gluster
>
>
> and they work:
>
> root@gluster-3:/home/mrten# /usr/sbin/gluster
> gluster>
>
> root@gluster-4:/home/mrten# /usr/sbin/gluster
> gluster>
>
>
> >
> >> [2018-07-20 12:32:13.404048] W [gsyncd(slave gluster-2.glstr/var/lib/gluster):293:main] <top>: Session config file not exists, using the default config path=/var/lib/glusterd/geo-replication/gl0_gluster-4.glstr_glbackup/gsyncd.conf
>
> this one is weird though; there is nothing in
> /var/lib/glusterd/geo-replication/gl0_gluster-4.glstr_glbackup/gsyncd.conf
> but
>
>
> [vars]
> stime-xattr-prefix = trusted.glusterfs.4054e7ad-7eb9-41fe-94cf-b52a690bb655.f7ce9a54-0ce4-4056-9958-4fa3f1630154
> use-meta-volume = true
>
> Maarten.
- Sunny
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux