Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisStartAvailGroup

int ctMemphisStartAvailGroup( pRCESJson request, ppRCESJson result )

Description:

Start an Availability Group. For each "replica", it starts the replication. Before executing this, it should be already resynced.

HTTP URL: <baseURL>/ctMemphisStartAvailGroup/

HTTP Verb: POST

Parameters:

  • request [IN] - Start Replication Plan for all the replicas involved in the Availability Group request in JSON format. For example:

{

"id": 0, // Required - Availability Group identification

"ignoreDeploy": true // Optional, default is FALSE. If FALSE makes sure Replication

Plan is deployed before starting it.

If TRUE, Replication Plan is assumed deployed and its

status is updated.

}

  • result [OUT] - Result in JSON format. For example:

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

},

"actionID":44135 // Action ID might not be returned if no action

was generated, like if error or warning

}

Return:

Error code

TOCIndex