This post details the procedure and EHC validation steps to execute in order to move an EHC ViPR provisioned volume to a different ViPR virtual pool leveraging the ViPR Change Virtual Pool services.
High level steps that will need to be followed:
- Create a new ViPR vPool with all identical properties except for one that you are changing (Best to use the duplicate button and then modify the copy).
- Migrate ViPR Volume(s) to the newly created vPool using ViPR workflow.
- Delete old ViPR vPool.
- Rename the newly created ViPR vPool to the ‘Old pool name’
Renaming the new vPool with the old name results in a successful EHC StaaS provisioning task utilizing the original SRP.
There are many reasons for performing such an operation, for example you may have enabled Compression on a VMAX and now wish to gain the benefit of this change by migrating existing ViPR provisioned Volumes associated with the VMAX to a New ViPR vPool with compression enabled.
Please ensure no other operations either within VIPR or externally are being executed on the volumes that are being moved for the duration of this process.
vRO & ViPR Pre-Validation Checks
The following validation steps detail how to record the ViPR volume and EHC Object Model associated parameters.
ViPR Volume Details
- Logon to the ViPR appliance (https://ViPR-FQDN) using root credentials.
- From the ViPR UI, select Resources, click Volumes and select the Volume(s) you wish to move.
- Locate the Volume(s) you wish to move and take note of the Device Label, ViPR_ID and vPool details. You will need to reference these details later.
vRO EHC Details
- Browse to the vRO URL to download the vRO client, e.g. https://vro1.domain.local:8281/vco
- Open the vRO client and logon as the EHC installation account e.g. ehc_sysadmin.
- Ensure you switch the context from Design to Run from the dropdown list.
- Click the Inventory tab and navigate to Dynamic Types/EHC/Datastores.
- Locate the Volume(s) you wish to move and take note of the SRP, ViPR_ID and vPool details. You will need to reference these details later.
- Ensure the Device Label, ViPR_ID and vPool details align with those observed in the ViPR GUI.
Create a New ViPR Virtual Pool
Create a new ViPR vPool with all identical properties except for feature that you are changing (in this example we enable compression as per the example scenario provided):
- In the ViPR UI, navigate to Virtual Assets > Block Virtual Pools, select the source pool and click on Duplicate.
2. Enter a name and a description for the virtual pool.
3. Enable the required property which is ‘compression’ as per this example.
Note: This newly created vPool name will need to be renamed to the ‘Old vPool Name’ once the migration of the Volumes is completed.
Note: Do not provision any New Volumes to the affected vPool until this procedure is complete.
Move Volume(s) to new vPool Using ViPR Workflow
The following steps will detail how to move the volume referenced ‘vmax-diamond_1505414047657’ into the new vPool.
Note: This example leverages the ViPR workflow ‘Change Volume Virtual Pool’, if multiple volumes need to be migrated at the same time please use the ‘Change Virtual Pool’ workflow. Reference Guide: EMC ViPR Controller – Service Catalog Reference Guide
This operation requires a Tenant Administrator role in ViPR.
- Go to Catalog > Block Storage Services > Change Volume Virtual Pool.
- Select the project in which the volume is located.
- Select the volume to move.
- Select the operation to perform by moving the volume to another virtual pool.
- Select the target virtual pool.
- Click Order to run the service.
Note the operation completed successfully and the ViPR volume now has the ‘compression’ parameter enabled (ViPR will not let you perform a vPool change unless there is one parameter that is different between the vPools):
Delete Old ViPR vPool
In the ViPR UI, navigate to Virtual Assets > Block Virtual Pools and confirm the Volume resources are now displaying as zero and the volume(s) now resides on the new vPool, then proceed to delete the Old vPool.
Renaming the new vPool with the old vPool name results in a successful EHC StaaS provisioning task utilizing the original Storage Reservation Policy (SRP).
Rename the newly created ViPR vPool to ‘Old pool name’ (as per this example: ‘vmax-diamond’)
Provision New Volume from EHC and validate vRO & ViPR
Provision a new volume from EHC StaaS and perform vRO & ViPR post-validation checks. In this example a new EHC Datastore was provisioned from the new ‘vmax-diamond’ vPool and the correct SRP was utilized.Provision a new volume from EHC StaaS and perform vRO & ViPR post-validation checks.