This request starts CFO of a Cloudian protected domain to recover VMs on the recovery site.

Usage:

POST on /domains/cloudians3/{domainId}/c2cfailovercontinuous

Request URL:

https://<MS hostname>/jss/domains/cloudians3/{domainId}/c2cfailovercontinuous

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-82",

            "destNetworkId": "Network:network-125"

        },

        {

            "srcNetworkId": "Network:network-33",

            "destNetworkId": "Network:network-55"

        }

    ],

    "rocvaNetworkSettings": {

        "internalNetwork": {

            "networkId": "Network:network-1",

            "staticIp": true,

            "ipAddress": "192.168.1.2",

            "vlanTag": 4094,

            "defaultGateway": true,

            "netmask": "255.255.255.245",

            "dns": "192.168.4.5, 192.169.4.10",

            "gateway": "192.168.1.0"

        },

        "replicationNetwork": {

            "networkId": "Network:network-1",

            "staticIp": true,

            "ipAddress": "192.168.1.2,  

            "vlanTag": 4094,

            "defaultGateway": true,

            "netmask": "255.255.255.245",

            "dns": "192.168.4.5, 192.169.4.10",

            "gateway": "192.168.1.0"

        },

        "mgmtNetwork": {

            "networkId": "Network:network-1",

            "staticIp": true,

            "ipAddress": "192.168.1.2,  

            "vlanTag": 4094,

            "defaultGateway": true,

            "netmask": "255.255.255.245",

            "dns": "192.168.4.5, 192.169.4.10",

            "gateway": "192.168.1.0"

        }

    },

    "drvaId": 1,

    "diskId": "6000c294d4d4214a9f179b5fa3da6103",

    "sectionSize": 15728640,

    "estimatedDataSize": 209715200

}

Response:

{

    "completedAt": null,

    "description": "Continuous Rehydration Domain",

    "errorCode": null,

    "errorMessage": null,

    "errorTargets": [],

    "id": 10,

    "longRunning": true,

    "maxtime": 300000,

    "parentTaskId": null,

    "progress": -1,

    "progressStatusCode": 10001,

    "startedAt": null,

    "state": "Initializing task",

    "submittedAt": "1689654603095",

    "submittedBy": "VSPHERE.LOCAL\\Administrator",

    "successDetailCode": null,

    "successDetailMessage": null,

    "successDetailParams": null,

    "target": "bc1a95ea-2495-11ee-a536-005056b2d10a",

    "targetName": "Domain1",

    "taskType": "CONTINUOUSFAILOVEROBJSTOREDOMAIN"

}