Failback Cloudian Protected Domain (Cloud to Cloud)
This request starts failback to the primary compute resource in the cloud for a Cloudian protected domain.
Usage:
POST on /domains/cloudians3/{domainId}/c2cfailback
Request URL:
https://<MS hostname>/jss/domains/cloudians3/{domainId}/c2cfailback
Header:
fios-session:vc_sessionId
Request:
{
"drvaId": 3,
"diskId": "6000c29369862eef78dddd07abb7325b",
"sectionSize": 15728640,
"estimatedDataSize": 209715200,
"datacenterId": "Datacenter:datacenter-8193",
"clusterId": "ClusterComputeResource:domain-c8198",
"datastoreId": "Datastore:datastore-8210",
"resourcePoolId": null,
"vmFolderId": null,
"maximumDelayAfterStoppingMinutes": 10,
"networkMapping": [
{
"srcNetworkId": "Network:network-22",
"destNetworkId": "Network:network-8214"
}
],
"guestCredentialsList": [
{
"protectedVmId": "d2265aa1-2495-11ee-a536-005056b2d10a",
"username": < USERNAME > ,
"password": "<PASSWORD>"
}
],
"rocvaNetworkSettings": {
"internalNetwork": {
"networkId": "Network:network-8214",
"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-8214",
"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-8214",
"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"
}
}
}
Response:
{
"completedAt": null,
"description": "Failback Domain",
"errorCode": null,
"errorMessage": null,
"errorTargets": [],
"id": 77,
"longRunning": false,
"maxtime": 300000,
"parentTaskId": null,
"progress": 1,
"progressStatusCode": 10001,
"startedAt": null,
"state": "Initializing task",
"submittedAt": "1689665255595",
"submittedBy": "VSPHERE.LOCAL\\Administrator",
"successDetailCode": null,
"successDetailMessage": null,
"successDetailParams": null,
"target": "bc1a95ea-2495-11ee-a536-005056b2d10a",
"targetName": "Domain1",
"taskType": "FAILBACKOBJSTOREDOMAIN"
}