URL
Pair with another site | https://zvm_ip:port/v1/peersites |
Where:
zvm_ip | The IP address of the Zerto Virtual Manager where the API is run. |
port | The port to access the Zerto Virtual Manager. The default port is 9081. |
Request Body Using Json Format
The following is an example of a request body in Json format for https://zvm_ip:port/v1/peersites POST request.
{ "HostName": "String content" "Port": 9081 } |
Request Values
Request values for https://zvm_ip:port/v1/peersites POST request.
Parameter | Description | Mandatory |
HostName | The address or DNS name of the Zerto Virtual Manager machine that will pair to the current site. | Yes |
Port | The default port used for communication between paired Zerto Virtual Managers. The default port is 9081. | Yes |
XML Request Format
For the XML request format, see “Peer Sites API POST Method Request and Response Formats”, on page 231.
Response In Json Format
The following is an example response request Json body for https://zvm_ip:port/v1/peersites POST request.
{ "TaskIdentifier": "String content" } |
Response Values
Response values for https://zvm_ip:port/v1/peersites POST request.
Parameter | Description |
TaskIdentifier | The identifier of the pairing task. The task identifier can be used with the Tasks API to monitor the delete action. |
XML Response Format
For the XML response format, see “Peer Sites API POST Method Request and Response Formats”, on page 231.
PowerShell Scripts
For complete PowerShell Scripts, see “Script Examples”, on page 21.