This request configures new replication logs for an iSCSI target or a set of iSCSI targets.

Usage:

POST on /drvas/{id}/replicationlog/iscsilun

Request URL:

https://<MS hostname>/jss/drvas/{id}/replicationlog/iscsilun

Header:

fios-session:vc_sessionId

Request:

{

  "diskIds": [

    "60014055b013bb5d04d4606ac832aec4", "60014055b013bb5d0472606ac832aed8”

  ],

  "sockets": [{

      "host": "<iSCSI Target IP>",

      "port": <iSCSI Target Port>

    },

    {

      “

      host”: ” <iSCSI Target IP> ”,

      “port”: <iSCSI Target Port>

    }

  ]

}


Note: With multipathing, diskIds will be duplicated across entries that are linked to the same lun. To uniquely identify the link, diskId is combined with the iSCSI target.

Response:

{

  "completedAt": null,

  "description": "Configure ISCSI Replication Volumes",

  "errorCode": null,

  "errorMessage": null,

  "id": 29,

  "maxtime": 300000,

  "parentTaskId": null,

  "progress": 0,

  "progressStatusCode": 10001,

  "startedAt": null,

  "state": "Initializing task",

  "submittedAt": "1594038357846",

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

  "successDetailCode": null,

  "successDetailMessage": null,

  "successDetailParams": null,

  "target": "VirtualMachine:vm-1782",

  "targetName": "fs057-drva",

  "taskType": "CONFIGUREISCSIREPLOG"

}