gpdr direct replication failed with error "the mirror with content 1 is unable to access the repository"
search cancel

gpdr direct replication failed with error "the mirror with content 1 is unable to access the repository"

book

Article ID: 433057

calendar_today

Updated On:

Products

VMware Tanzu Greenplum VMware Tanzu Greenplum / Gemfire

Issue/Introduction

In gpdr 1.4, when configuring direct replication on the primary cluster with "gpdr configure backup --config-file direct_storage_config_file.yml", it may report error:

[INFO]:-Configuring for backup
[INFO]:-Successfully created pgbackrest configuration files for backup at /usr/local/gpdr/configs for the GPDB primary cluster
[INFO]:-Creating pgbackrest stanzas for the GPDB primary cluster
[ERROR]:-error occurred while configuring for backup: the mirror with content 1 is unable to access the repository



Environment

gpdr 1.4

gpdb 7.x

Cause

The error is generated during the ssh connection setup stage. Each segment instance from the primary cluster will be assigned a host from DR cluster, then gpdr will verify the ssh connection between each pair of hosts. If any connection test failed, it will report this error.

See "Prerequisites" for Direct Replication. "Passwordless ssh between the primary cluster hosts and the recovery cluster hosts for the gpadmin user" 

Resolution

Configure passwordless ssh connectivity between the hosts of the primary cluster and the hosts of the recovery cluster.