HPE Storage Users Group
https://3parug.com/

Deleting / Editing an Adaptive Optimisation Config
https://3parug.com/viewtopic.php?f=18&t=853
Page 2 of 2

Author:  rabbidroid [ Sun Aug 31, 2014 9:54 pm ]
Post subject:  Re: Deleting / Editing an Adaptive Optimisation Config

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!

Author:  sanjac [ Wed Dec 13, 2017 9:54 am ]
Post subject:  Re: Deleting / Editing an Adaptive Optimisation Config

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?

Author:  JohnMH [ Wed Dec 13, 2017 1:03 pm ]
Post subject:  Re: Deleting / Editing an Adaptive Optimisation Config

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

Author:  sanjac [ Thu Dec 14, 2017 2:25 am ]
Post subject:  Re: Deleting / Editing an Adaptive Optimisation Config

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?

Author:  JohnMH [ Thu Dec 14, 2017 10:34 am ]
Post subject:  Re: Deleting / Editing an Adaptive Optimisation Config

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.

Author:  sanjac [ Fri Dec 15, 2017 2:45 am ]
Post subject:  Re: Deleting / Editing an Adaptive Optimisation Config

JohnMN thank you for detil answer :)

Page 2 of 2 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/