Setup replication agreement between DCs
post
/oam/services/rest/_replication/setup
To be executed only on the Master Data Center. It validates the MDC Partners based on the input and creates the replication agreement in Master and Clone Data Center.
Request
Supported Media Types
- application/json
Root Schema : replAgreementParameters
Type:
Show Source
object
-
config:
object config
-
documentType:
string
ENTITY
-
name:
string
Name for the replication agreement
-
source:
string
Cluster Name of the Master Data Center. This can be obtained using MDC diagnostic API (Get DC specific details)
-
target:
string
Cluster Name of the Clone Data Center. This can be obtained using MDC diagnostic API (Get DC specific details)
Nested Schema : entry
Type:
Show Source
object
-
key:
string
authorization
-
value:
string
Authorization Header to be used for contacting clone Data Center
Response
Supported Media Types
- application/json
200 Response
Response body shall indicate the status
Root Schema : replAgreementResponse
Type:
Show Source
object
-
enabled:
string
true|false
-
identifier:
string
Replication Agreement Identifier
-
lastSequenceNumber:
string
Sequence Number last applied in the DC
-
ok:
string
true|false
-
pollInterval:
string
Duration after which the Clone DC should poll and apply the changes from Master DC
-
startingSequenceNumber:
string
Sequence Number after which Replication will occur
-
state:
string
Current State of the Replication Agreement (ACTIVE|BOOTSTRAPPING|READY)
500 Response
Error