I need to achieve glusterfs geo replication.
In my production environment the port 22 is not open between the servers I want to do replication (This is by design and we have to leave with it).
Is there a way I can use a customize ssh port (i.e 22222) to achieve it.
Is there any other solution for this.
NOTE: I can not use other servers other then this two.
Gluster uses the installed ssh client meaning you can override configuration using the normal ssh_config.
So create .ssh/config in the homedir of the user that runs glusterfs (probably root) and configure the client using the documented
Host
:Alternatively, you can configure glusterfs to use a different ssh-command, and add
-p 2222
there