[Gluster-users] Trouble in create session in geo-rep environment

Aravinda VK aravinda at kadalu.io
Fri Oct 23 13:48:07 UTC 2020


Try setting the gluster command dir option for remote side.

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

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

Aravinda Vishwanathapura
https://kadalu.io


> On 22-Oct-2020, at 7:08 PM, Gilberto Nunes <gilberto.nunes32 at gmail.com> wrote:
> 
> Hi 
> 
> I have used as a guide this doc
> https://docs.gluster.org/en/latest/Administrator%20Guide/Geo%20Replication <https://docs.gluster.org/en/latest/Administrator%20Guide/Geo%20Replication>
> 
> Everything is ok until I tried to create a session with the command:
> gluster volume geo-replication storage geoaccount at 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 at 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 at gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20201023/e522720d/attachment.html>


More information about the Gluster-users mailing list