Skip to content

Geo-Replication: update about ssh-port config#703

Merged
nik-redhat merged 1 commit intogluster:mainfrom
Shwetha-Acharya:master
Oct 5, 2021
Merged

Geo-Replication: update about ssh-port config#703
nik-redhat merged 1 commit intogluster:mainfrom
Shwetha-Acharya:master

Conversation

@Shwetha-Acharya
Copy link
Contributor

Problem:
When a custom ssh port is set at the secondary volume,
gluster volume geo-replication gvol-primary
geoaccount@snode1.example.com::gvol-secondary
create ssh-port push-pem
is used. However, create push-pem command cannot alter
the config options.

One have to manually alter the config option, using:
gluster volume geo-replication gvol-primary
geoaccount@snode1.example.com::gvol-secondary
config ssh_port <custom_port>

Solution:
Added about the command:
gluster volume geo-replication gvol-primary
geoaccount@snode1.example.com::gvol-secondary config ssh_port
<custom_port>

before the usage of:
gluster volume geo-replication gvol-primary
geoaccount@snode1.example.com::gvol-secondary
create ssh-port push-pem

Fixes: #2819
Signed-off-by: Shwetha K Acharya sacharya@redhat.com

Problem:
When a custom ssh port is set at the secondary volume,
   gluster volume geo-replication gvol-primary
   geoaccount@snode1.example.com::gvol-secondary
   create ssh-port <custom port> push-pem
is used. However, create push-pem command cannot alter
the config options.

One have to manually alter the config option, using:
   gluster volume geo-replication gvol-primary
   geoaccount@snode1.example.com::gvol-secondary
   config ssh_port <custom_port>

Solution:
Added about the command:
   gluster volume geo-replication gvol-primary
   geoaccount@snode1.example.com::gvol-secondary config ssh_port
   <custom_port>

before the usage of:
   gluster volume geo-replication gvol-primary
   geoaccount@snode1.example.com::gvol-secondary
   create ssh-port <custom port> push-pem

Fixes: #2819
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
@nik-redhat nik-redhat merged commit bb440f3 into gluster:main Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants