Handover

POST v1/volume_collections/id/actions/handover

Description

Gracefully transfer ownership of the specified volume collection. This action can be used to pass control of the volume collection to the downstream replication partner. Ownership and full control over the volume collection will be given to the downstream replication partner. The volumes associated with the volume collection will be set to offline prior to the final snapshot being taken and replicated, thus ensuring full data synchronization as part of the transfer. By default, the new owner will automatically begin replicating the volume collection back to this node when the handover completes.

Normal Response Codes

200

HTTP Error Codes

400 401 403 404 409 500 503

Detail Codes

SM_eagain

SM_ebusy

SM_einval

SM_enoent

SM_enomem

SM_initiatorgroups_out_of_sync

SM_invalid_arg_value

SM_invalid_path_variable

SM_invalid_query_param

SM_limit_hret_snap_group

SM_limit_hret_snap_pool

SM_limit_snap_vol

SM_limit_snapcoll_volcoll

SM_malformed_url

SM_missing_arg

SM_no_action_found

SM_no_assoc_vols

SM_no_method_for_URL_pattern

SM_no_operation_found

SM_no_path_found

SM_no_such_partner

SM_not_owner

SM_partner_offline

SM_repl_partner_name_mismatch

SM_serial_not_avail

SM_snapluns_out_of_sync

SM_srv_unreach

SM_too_many

SM_unexpected_arg

SM_unexpected_child

SM_unexpected_query_param

SM_version_name

Request

Parameter Type JSON Type Description Mandatory
id NsObjectID string ID of the volume collection be handed over to the downstream replication partner. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. true
replication_partner_id NsObjectID string ID of the new owner. A 42 digit hexadecimal number. Example: '2a0df0fe6f7dc7bb16000000000000000000004817'. true
no_reverse NsBoolean boolean Do not automatically reverse direction of replication. Using this argument will prevent the new owner from automatically replicating the volume collection to this node when the handover completes. The default behavior is to enable replication back to this node. Default: 'false'. Possible values: 'true', 'false'. false
invoke_on_upstream_partner NsBoolean boolean Invoke handover request on upstream partner. Default: 'false'. Possible values: 'true', 'false'. false

JSON Request


            
            
            {
              "data" : {
                "id":"0700000000000004d3000000000000000000000005",
                "replication_partner_id":"0900000000000004d3000000000000000000000001",
                "no_reverse":false,
              }
            }
            
        
         

Response

Type:

JSON Response


            
            
            {
            }