...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
* Main steps
- Prepare information
- Get VM’s disk information
- Reconfig VM’s disk
1. Preparation
...
Overview
In this manual, you will find detailed information on how to prepare information, get the VM’s disk information, and reconfigure the VM’s disk.
Procedure
Expand |
---|
Step 1: Prepare InformationLog in to IAM portal -> vCD portal: collect the information |
...
|
...
...
|
...
...
|
...
Step 2 |
...
: Getting VM’s |
...
Disk information |
Postman:
|
...
- ‘Accept’: */*;version=37.2 - ‘Content-type’: application/vnd.vmware.vcloud.rasdItem+xml |
...
|
...
Step 3 |
...
:Reconfig VM’s disk |
Postman:
|
...
- 'Accept’: */*;version=37.2 - ‘Content-type’: application/vnd.vmware.vcloud.rasdItem+xml
Ex: <?xmlversion="1.0"encoding="UTF-8"standalone="yes"?> <RasdItemsListxmlns="http://www.vmware.com/vcloud/v1.5"xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" ……………………………………………. ………………………………………
<rasd:HostResourcexmlns:ns10="http://www.vmware.com/vcloud/v1.5"ns10:storageProfileHref="https://iaas-hcmc02.higiocloud.vn/api/vdcStorageProfile/a7c6c2f7-3c2211e6e7b0"ns10:busType="6"ns10:busSubType="VirtualSCSI"ns10:capacity="15240"ns10:iops="4000"ns10:storageProfileOverrideVmDefault="false"></rasd:HostResource> <rasd:InstanceID>2000</rasd:InstanceID> <rasd:Limitxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:nil="true"/> <rasd:MappingBehaviorxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:nil="true"/> <rasd:OtherResourceTypexmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:nil="true"/> <rasd:Parent>2</rasd:Parent> </Item> </RasdItemsList> |
...
===============================================================================
|
...
Step 4 |
...
: Verify |
...
GET https://{{vcd_url}}/api/vApp/{{vm-uuid}}/virtualHardwareSection/disks |
...
Login IAM -> vCD portal-> select VM-> Hard disk |
End.