Failover Azure Blob Protected Domain (Cloud to Cloud)
This request starts the task to failover an Azure Blob protected domain to recover VMs at the recovery site.
Usage:
POST on /domains/azureblob/{domainId}/c2cfailover
Request URL:
https://<MS hostname>/jss/domains/azureblob/{domainId}/c2cfailover
Header:
fios-session:vc_sessionId
Request:
{
"datacenterId": "Datacenter:datacenter-3",
"clusterId": "ClusterComputeResource:domain-c8",
"datastoreId": "Datastore:datastore-19",
"resourcePoolId": null,
"vmFolderId": null,
"networkMapping": [
{
"srcNetworkId": "Network:network-8214",
"destNetworkId": "Network:network-22"
}
],
"guestCredentialsList": [
{
"protectedVmId": "d2265aa1-2495-11ee-a536-005056b2d10a",
"username": < USERNAME > ,
"password": < PASSWORD >
}
],
"rocvaNetworkSettings": {
"internalNetwork": {
"networkId": "Network:network-22",
"staticIp": true,
"ipAddress": "10.40.2.17",
"vlanTag": null,
"defaultGateway": true,
"netmask": "255.255.248.0",
"dns": "10.40.0.10",
"gateway": "10.40.0.1"
},
"replicationNetwork": {
"networkId": "Network:network-22",
"staticIp": true,
"ipAddress": "10.40.2.17",
"vlanTag": null,
"defaultGateway": true,
"netmask": "255.255.248.0",
"dns": "10.40.0.10",
"gateway": "10.40.0.1"
},
"mgmtNetwork": {
"networkId": "Network:network-22",
"staticIp": true,
"ipAddress": "10.40.2.17",
"vlanTag": null,
"defaultGateway": true,
"netmask": "255.255.248.0",
"dns": "10.40.0.10",
"gateway": "10.40.0.1"
}
},
"remoteSiteRocvaNetworkSettings": {
"internalNetwork": {
"staticIp": true,
"ipAddress": "10.40.2.16",
"defaultGateway": true,
"netmask": "255.255.248.0",
"dns": "10.40.0.10",
"gateway": "10.40.0.1"
},
"replicationNetwork": {
"staticIp": true,
"ipAddress": "10.40.2.16",
"defaultGateway": true,
"netmask": "255.255.248.0",
"dns": "10.40.0.10",
"gateway": "10.40.0.1"
},
"mgmtNetwork": {
"staticIp": true,
"ipAddress": "10.40.2.16",
"defaultGateway": true,
"netmask": "255.255.248.0",
"dns": "10.40.0.10",
"gateway": "10.40.0.1"
}
},
"planned": true,
"force": false,
"resumeContinuousRehydration": true,
"includePitr": false,
"drvaId": 1,
"diskId": "6000c294d4d4214a9f179b5fa3da6103",
"sectionSize": 15728640,
"estimatedDataSize": 209715200
}
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"
}