Reversing the REC Session
POST /copysession/{copysession_id}/reverse
Introduction
Reverses the direction of the copy of the specified REC Session.
Suspend the target REC Session before reversing the REC Session.
- When reversing a REC Session with an asynchronous consistency transfer mode, note the following.
If the remote storage system is used as a copy source device, prepare an REC buffer for sending data in the local storage system and an REC buffer for receiving data in the remote storage system in advance.
If the remote storage system is a copy destination device, prepare an REC buffer for receiving data in the local storage system and an REC buffer for sending data in the remote storage system in advance.
After reversing the Copy Session, data copying from the copy destination to the copy source before reversing is performed by resuming data duplexing (Resume).
Tenant users cannot execute this command.
Request Examples
- This is an example of reversing the direction of the copy of Copy Session ID 2.
$ curl -i -H "Authorization: Bearer g17e4umvwYoHuhkG7yCSee.." -X POST "https://192.168.1.1:5665/api/v1/copysession/2/reverse"
Response Examples
{
"job_id": 8192001,
"job_href": "/api/v1/job/8192001"
}
Parameters
PATH PARAMETERS
| copysession_id (required) |
integer Copy Session ID. |
Responses
If the job registration is successful, the HTTP status code will be 202 (Accepted) and the response body will respond.
RESPONSE BODY
| job_id | integer Job ID. |
| job_href | string Resource link of the job. |

