Workflow for managing resources by using virtual storage machines

REST API Reference Guide for Virtual Storage Platform 5000, Virtual Storage Platform E Series, and Virtual Storage Platform G/F Series

Version
93-07-0x
90-09-0x
88-08-10
Audience
anonymous
Part Number
MK-98RD9014-17
The following explains how to manage resources on virtual storage machines by using the REST API.

Workflow for creating a virtual storage machine and registering resources

Create a virtual storage machine, and then register the required resources. Allocate the registered resources to the hosts in the same way as allocating resources of a physical storage system, or use the registered resources in the volumes of a global-active device pair.

Create a virtual storage machine
Create a virtual storage machine, and then specify the model name and serial number. A resource group to be used on the virtual storage machine is also created at the same time.
Get a list of the virtual storage machines
Get information such as the storage device IDs of the created virtual storage machines, and the IDs of resource groups on the virtual storage machines.
Add resource groups on a virtual storage machine (optional)
If necessary, add resource groups to the virtual storage machine. Perform this operation by executing the API request for creating resource groups.
Add resources to the virtual storage machines
In the resource groups of the virtual storage machine, add resources such as host numbers, host group numbers, and LDEV numbers. Perform this operation by executing the API request for adding a resource to a resource group.
  • To add an LDEV number, first delete the set virtual LDEV number, and then add the LDEV number. After adding the LDEV number in the virtual storage machine, set the virtual LDEV number.
  • To add a host group number or iSCSI target number, add an undefined host group or iSCSI target.

Workflow for deleting an unnecessary virtual storage machine

Delete the resources on a virtual storage machine before you delete the virtual storage machine.

Delete the virtual LDEV number
Delete the virtual LDEV number that was set for the virtual LDEV on the virtual storage machine.
Remove the resources in the virtual storage machine
Delete the LDEVs, parity groups, host numbers, and all other resources that are added in the resource group in the virtual storage machine. Perform this operation by executing the API request for removing resources from resource groups.
Delete the virtual storage machine
Delete the virtual storage machine. Note that when all of the resource groups are deleted from the virtual storage machine, the virtual storage machine is automatically deleted.