GlusterFS: geo-replication: How to replicate to slave via SSH to nonstandard port?

Solution Verified - Updated -

Issue

  • GlusterFS: geo-replication: How to replicate to slave via SSH to nonstandard port?
  • I want to initiate geo-replication from master volume "vol-m" on host "host-m" to slave volume "vol-s" on host "host-s". I understand that typically, after establishing key-based authentication from root on on host-m root on host-s, initiation of geo-replication would be accomplished by running the following on host-m:
$ gluster volume geo-replication vol-m root@host-s::vol-s start

However, I need to specify a nonstandard port (5432) for SSH access to host-s, so using the typical SSH notation of user@host:port, I ran the following on host-m:

$ gluster volume geo-replication vol-m root@host-s:5432::vol-s start

The response was:

Starting geo-replication session between vol-m & root@host-s:5432::vol-s has been successful 

Unfortunately, checking status results in the following:

$ gluster volume geo-replication vol-m root@host-s:5432::vol-s status
MASTER               SLAVE                                              STATUS
--------------------------------------------------------------------------------
vol-m                root@host-s:5432::vol-s                            faulty

Environment

  • glusterfs 3.2.2
  • Red Hat Enterprise Linux (RHEL) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.