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:
{
"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,
"networkMapping": [
{
"srcNetworkId": "Network:network-8214",
"destNetworkId": "Network:network-22"
}
],
"rocvaNetworkSettings": {
"internalNetwork": {
"networkId": "Network:network-22",
"staticIp": true,
"ipAddress": "10.40.2.17",
"vlanTag": null,
"netmask": "255.255.255.0",
"dns": "10.40.0.10"
},
"replicationNetwork": {
"networkId": "Network:network-22",
"staticIp": true,
"ipAddress": "10.40.2.17",
"vlanTag": null,
"netmask": "255.255.255.0",
"dns": "10.40.0.10"
},
"mgmtNetwork": {
"networkId": "Network:network-22",
"staticIp": true,
"ipAddress": "10.40.2.17",
"vlanTag": null,
"netmask": "255.255.255.0",
"dns": "10.40.0.10"
},
"defaultGateway": {
"networkId": "Network:network-22",
"gateway": "10.40.0.1"
}
},
"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-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"
}
},
"guestCredentialsList": [
{
"protectedVmId": "b2b529f2-8a19-4b62-8986-d03e7c6f5b61",
"username": < USERNAME > ,
"password": < PASSWORD >
},
{
"protectedVmId": "cfb529f2-8a19-4b62-8986-d03e7c6f5b61",
"username": “ < USERNAME > ”,
"password": “ < PASSWORD > ”
}
]
}
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"
}