Failover MinIO Protected Domain (Cloud-to-Cloud)
This request starts failover of a MinIO protected domain to recover VMs at the recovery site.
Usage:
POST on /domains/minios3/{domainId}/c2cfailover
Request URL:
https://<MS hostname>/jss/domains/minios3/{domainId}/c2cfailover
Header:
fios-session:vc_sessionId
Request:
{
"drvaId": 1,
"diskId": "6000c293c2044dbc32551a341fcaebac",
"sectionSize": 20971520,
"estimatedDataSize": 536870912,
"datacenterId": "Datacenter-123",
"clusterId": "Cluster-123",
"datastoreId": "Datastore-23",
"resourcePoolId": "resgroup-1290",
"vmFolderId": "Group-v123",
"planned": "false",
"pfoSettings": {
#This value can be ignored
if "planned": false
"resumeContinuousRehydration": true,
"destroyDomainComponentsFromRemoteSite": false
},
"force": "false",
"includePitr": true,
"rocvaNetworkSettings": {
"internalNetwork": {
"networkId": "Network:network-1",
"staticIp": true,
"ipAddress": "192.168.1.2",
"netmask": "255.255.255.245",
"dns": "192.168.4.5, 192.169.4.10",
"vlanTag": 4094
},
"replicationNetwork": {
"networkId": "Network:network-2",
"staticIp": true,
"ipAddress": "192.168.1.3",
"netmask": "255.255.255.245",
"dns": "192.168.4.5, 192.169.4.10",
"vlanTag": 4094
},
"mgmtNetwork": {
"networkId": "Network:network-3",
"staticIp": true,
"ipAddress": "192.168.1.4",
"netmask": "255.255.255.245",
"dns": "192.168.4.5, 192.169.4.10",
"vlanTag": 4094
},
"defaultGateway": {
"networkId": "Network:network-1",
"gateway": "192.168.1.0"
}
},
"networkMapping": [
{
"srcNetworkId": "Network:network-82",
"destNetworkId": "Network:network-125"
},
{
"srcNetworkId": "Network:network-33",
"destNetworkId": "Network:network-55"
}
],
"remoteSiteRocvaNetworkSettings": {
"internalNetwork": {
"networkId": "Network:network-1",
"staticIp": true,
"ipAddress": "192.168.1.2",
"netmask": "255.255.255.245",
"dns": "192.168.4.5, 192.169.4.10",
"vlanTag": 4094
},
"replicationNetwork": {
"networkId": "Network:network-1",
"staticIp": true,
"ipAddress": "192.168.1.2",
"netmask": "255.255.255.245",
"dns": "192.168.4.5, 192.169.4.10",
"vlanTag": 4094
},
"mgmtNetwork": {
"networkId": "Network:network-1",
"staticIp": true,
"ipAddress": "192.168.1.2",
"netmask": "255.255.255.245",
"dns": "192.168.4.5, 192.169.4.10",
"vlanTag": 4094
},
"defaultGateway": {
"networkId": "Network:network-1",
"gateway": "192.168.1.0"
}
Response:
{
"completedAt": null,
"description": "Failover Domain",
"errorCode": null,
"errorMessage": null,
"errorTargets": [],
"id": 24,
"longRunning": false,
"maxtime": 300000,
"parentTaskId": null,
"progress": 1,
"progressStatusCode": 10001,
"startedAt": null,
"state": "Initializing task",
"submittedAt": "1689662490133",
"submittedBy": "VSPHERE.LOCAL\\Administrator",
"successDetailCode": null,
"successDetailMessage": null,
"successDetailParams": null,
"target": "bc1a95ea-2495-11ee-a536-005056b2d10a",
"targetName": "Domain1",
"taskType": "FAILOVEROBJSTOREDOMAIN"
}