Architecting a vCloud Availability for vCloud Director Solution : vCloud Director Configuration : 5.5 Storage Management : 5.5.2 Moving Replica Disks
   
5.5.2 Moving Replica Disks
In case the service provider needs to migrate or free space on a datastore that is used for replication, the replica disks can be move with the following API call:
POST /api/admin/vr/replications/{id}/action/moveReplication
 
Accept: application/*+xml;version=6.0;vr-version=2.0
Content-Type: application/vnd.vmware.hcs.adminMoveReplicationGroupParams+xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<MoveReplicationGroupParams xmlns="http://www.vmware.com/vr/v6.0" xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5">
<NewDatastore>
<vmext:VimServerRef href="https://10.10.10.10/api/admin/extension/vimServer/c1abda33-81a8-4cf1-aa89-5af79658f84a" type="application/vnd.vmware.admin.vmwvirtualcenter+xml"/>
<vmext:MoRef>datastore-26</vmext:MoRef>
<vmext:VimObjectType>DATASTORE</vmext:VimObjectType> </NewDatastore>
</MoveReplicationGroupParams>
A virtual machine that is in test or recovery process cannot be relocated. Placeholder VM storage is moved by is vSphere Storage vMotion after its replica disks are moved.