Deleting / Editing an Adaptive Optimisation Config

rabbidroid
Posts: 4
Joined: Mon May 26, 2014 9:44 am

Re: Deleting / Editing an Adaptive Optimisation Config

Post by rabbidroid »

hdtvguy wrote:tunevv usr_cpg "target_cpg" -src_cpg "source_cpg" -f "volume_name"



Damn that saved my day!!! I was trying to get rid of a CPG that was once used in an AO, and I was not able to move those chunklets off that CPG, this worked like a charm.

Thanks!
sanjac
Posts: 96
Joined: Thu Oct 26, 2017 1:21 am

Re: Deleting / Editing an Adaptive Optimisation Config

Post by sanjac »

What's the right procedure when removing AO totally.

I have CPG raid1 connected to VV
and made CPG2 and CPG3 for AO

Can I just remove AO?What will happen with data on CPG2 and CPG3? Or do I first have to transfer data from these two CPGs (CPG2 and CPG3) to CPG1 and do tunevv?
JohnMH
Posts: 505
Joined: Wed Nov 19, 2014 5:14 am

Re: Deleting / Editing an Adaptive Optimisation Config

Post by JohnMH »

Haven't done this in a while but I would expect the following:

1. Stop the AO schedule
    The data will stay where it is
    New writes will go to the tier the VV was created in
2. Tune the VV's and any snapshots to your desired CPG
    Usually raid 5 or raid 6 due to lower capacity overheads but will depend on media and performance requirements
    Start with the smallest VV's first if you have multiples
3. Delete the AO Schedule
4. Remove the AO policy
5. Optionally remove the now empty CPG's
sanjac
Posts: 96
Joined: Thu Oct 26, 2017 1:21 am

Re: Deleting / Editing an Adaptive Optimisation Config

Post by sanjac »

JohnMH wrote:Haven't done this in a while but I would expect the following:

New writes will go to the tier the VV was created in[/list]
2. Tune the VV's and any snapshots to your desired CPG


is this the simple tune or
tunevv usr_cpg "target_cpg" -src_cpg "source_cpg" -f "volume_name" metiond above?
JohnMH
Posts: 505
Joined: Wed Nov 19, 2014 5:14 am

Re: Deleting / Editing an Adaptive Optimisation Config

Post by JohnMH »

No the above moves regions but retains the AO distribution whereas I think you want to consolidate all regions of the VV into a single cpg.

You can do this from the CLI using tunevv or use the SSMC UI by going to the virtual volumes page, selecting the volume in the left pane and then choosing tune from the drop down actions menu on the right.

The CLI guide is here search for tunevv https://support.hpe.com/hpsc/doc/public/display?docId=c04204279

Assuming you are only moving the volume and not the snap space the syntax is as follows:

tunevv usr_cpg <target-cpg-name> [options] <VV_name>

e.g.

To move VV-001 to New-CPG you would issue the following:

tunevv usr_cpg New-CPG VV-001

This will take the regions from the 3 existing CPG's and tune them to a single cpg effectively discarding the AO moves.
sanjac
Posts: 96
Joined: Thu Oct 26, 2017 1:21 am

Re: Deleting / Editing an Adaptive Optimisation Config

Post by sanjac »

JohnMN thank you for detil answer :)
Post Reply