Command_dfpm_migrate_volume

by Frequent Contributor on ‎2014-01-26 11:54 AM

Hi guys,.

Wanted to share this command for migrating volumes managed by dfpm.

Idea is to automate the move of dfpm with a workflow that gets a source and target aggregates and does a loop of moves for all volumes in the aggregate.

For that I'd be happy to get some help and describe the workflow in place.

I'm in the midst of writing a command that check how many jobs are running for WFA to insert another migrate command if needed and still stick.

For now, enjoy this one.

Regards,

Solal.

Comments
Extraordinary Contributor

Good work Solal.

adaikkap Former NetApp Employee

Great work Solal, But couple of questions to understand more about the workflow.

  1. Is this workflow move/migrate primary volumes or Backup or secondary volumes ?
  2. If its for Backup or Mirror destination or secondary volumes why are you not using the dfpm migrate volume cli  ?
  3. Or is it trying to automate the migration of more than one volume secondary volume from one aggr to another ?

Regards

adai

Frequent Contributor

Thanks guys.

Adai, first Q - it's designated for secondary backup volumes managed by ProtMgr.

Second Q - this command uses dfpm migrate volume cli and the workflow is meant to automate an entire aggregate's volumes move to a new one. The customer raised a point that these migrations will be here forever, and as long as it's managed by DFM, they'd like an automated process.

This workflow is going to use a loop that finds all volumes in a selected aggregate and do X moves in parallel (decided by user when running the flow) while inserting new rels when other complete.

Solal.

Warning!

This NetApp Community is public and open website that is indexed by search engines such as Google. Participation in the NetApp Community is voluntary. All content posted on the NetApp Community is publicly viewable and available. This includes the rich text editor which is not encrypted for https.

In accordance to our Code of Conduct and Community Terms of Use DO NOT post or attach the following:

  • Software files (compressed or uncompressed)
  • Files that require an End User License Agreement (EULA)
  • Confidential information
  • Personal data you do not want publicly available
  • Another’s personally identifiable information
  • Copyrighted materials without the permission of the copyright owner

Files and content that do not abide by the Community Terms of Use or Code of Conduct will be removed. Continued non-compliance may result in NetApp Community account restrictions or termination.