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

  1. Logon to the ViPR appliance (https://ViPR-FQDN) using root credentials.
  2. From the ViPR UI, select Resources, click Volumes and select the Volume(s) you wish to move.
  3. 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.

EHCViPRvPoolMig0

vRO EHC Details

  1. Browse to the vRO URL to download the vRO client, e.g. https://vro1.domain.local:8281/vco
  2. Open the vRO client and logon as the EHC installation account e.g. ehc_sysadmin.
  3. Ensure you switch the context from Design to Run from the dropdown list.
  4. Click the Inventory tab and navigate to Dynamic Types/EHC/Datastores.
  5. 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.
  6. Ensure the Device Label, ViPR_ID and vPool details align with those observed in the ViPR GUI.

EHCViPRvPoolMig0a

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):

  1. In the ViPR UI, navigate to Virtual Assets > Block Virtual Pools, select the source pool and click on Duplicate.

EHCViPRvPoolMig1aa

2. Enter a name and a description for the virtual pool.

3. Enable the required property which is ‘compression’ as per this example.EHCViPRvPoolMig1aEHCViPRvPoolMig1

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.

  1. Go to Catalog > Block Storage Services > Change Volume Virtual Pool.
  2. Select the project in which the volume is located.
  3. Select the volume to move.
  4. Select the operation to perform by moving the volume to another virtual pool.
  5. Select the target virtual pool.
  6. Click Order to run the service.

EHCViPRvPoolMig2

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):

EHCViPRvPoolMig3

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.
EHCViPRvPoolMig4

EHCViPRvPoolMig4a

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’)

EHCViPRvPoolMig5

EHCViPRvPoolMig6

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.

EHCViPRvPoolMig9

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s