Unable to configure replication using REST API
search cancel

Unable to configure replication using REST API

book

Article ID: 421506

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

An administrator reported they are unable to configure replication using REST API however configuring replication through UI works. 

API GET request :

GET https://####/api/rest/vr/v2/pairings/?filter_property=remote_vrms.name&filter=####

API GET request Output :

{
  "list": [],
  "_meta": {
    "total": 0,
    "offset": 0,
    "limit": 100,
    "links": {
      "next": null,
      "self": {
      "href": "https://####/api/rest/vr/v2/pairings/?filter_property=remote_vrms.name&filter=####"
      },
      "previous": null
    }
  }
}

 

Environment

VMware Live Site Recovery 9.0.2

Cause

vSphere replication certificate was in expired state.

Resolution

Regenerate the vSphere replication certificate from VAMI and reconfigure the vSphere replication appliance.