5.1

Table Of Contents
<vmext:MoRef>datastore-191</vmext:MoRef>
<vmext:VimObjectType>DATASTORE</vmext:VimObjectType>
</vmext:VimObjectRef>
</VCloudExtension>
...
<Link
rel="relocate"
type="application/vnd.vmware.vcloud.relocateVmParams+xml"
href="https://vcloud.example.com/api/vApp/vm-257/action/relocate" />
...
</Vm>
4 Construct a RelocateParams element that specifies the destination datastore for the Vm.
See “Example: Relocate a Virtual Machine,” on page 233.
5 POST the RelocateParams element to the action/relocate link described in Step 3.
You do not need to power off the virtual machine before you make the request. See “Example: Relocate a
Virtual Machine,” on page 233.
The system creates a task to manage the relocation and returns a Task element in the response. When the task
is complete, the virtual machine is relocated.
Example: Relocate a Virtual Machine
This request relocates the virtual machine retrieved in Step 2 to one of the datastores listed in Step 1. The
response is a Task.
Request:
POST https://vcloud.example.com/api/vApp/vm-257/action/relocate
Content-Type: application/vnd.vmware.vcloud.relocateVmParams+xml
...
<?xml version="1.0" encoding="UTF-8"?>
<RelocateParams
xmlns="http://www.vmware.com/vcloud/v1.5">
<Datastore
href="https://vcloud.example.com/api/admin/extension/datastore/607" />
</RelocateParams>
Truststore and Keytab Maintenance
You can use the vCloud API to upload and manage SSL certificates, keystores, and Kerberos keytabs for your
organization's LDAP service.
The OrgLdapSettings element includes links that you can use to manage the organization's LDAP truststore
and keystore by uploading new certificates and keytabs.
<Link
rel="certificate:update"
type="application/vnd.vmware.admin.certificateUpdateParams+xml"
href="https://vcloud.example.com/api/admin/org/26/settings/ldap/action/updateLdapCertificate" />
<Link
rel="certificate:reset"
href="https://vcloud.example.com/api/admin/org/26/settings/ldap/action/resetLdapCertificate" />
<Link
rel="keystore:update"
Chapter 7 Managing and Monitoring a Cloud
VMware, Inc. 233