Re: Trouble in create session in geo-rep environment

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

 



Try setting the gluster command dir option for remote side.

gluster volume geo-replication storage geoaccount@gluster-bkp::storage config slave-gluster-command-dir /usr/sbin

Note: These terminologies will change soon.(https://github.com/gluster/glusterfs/issues/1415)

Aravinda Vishwanathapura


On 22-Oct-2020, at 7:08 PM, Gilberto Nunes <gilberto.nunes32@xxxxxxxxx> wrote:

Hi 

I have used as a guide this doc

Everything is ok until I tried to create a session with the command:
gluster volume geo-replication storage geoaccount@gluster-bkp::storage create push-pem

It's return to me the following

gluster command not found on gluster-bkp for user geoaccount.
geo-replication command failed

I can do ssh to gluster-bkp passwordless.
In fact, as I am using Debian 10, I have noticed that gluster command was not in the normal PATH. So I edit .bashrc and add 
export PATH=$PATH:/usr/sbin/
So when I do ssh to the gluster-bkp I can execute the gluster command.
ssh geoaccount@gluster-bkp gluster help        
peer help                - display help for peer commands
volume help              - display help for volume commands
volume bitrot help       - display help for volume bitrot commands
volume quota help        - display help for volume quota commands
snapshot help            - display help for snapshot commands
global help              - list global commands

I tried to search some in google but no luck...

Thanks for any help.

---
Gilberto Nunes Ferreira




________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users




________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

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