Data Infrastructure Management Software Articles and Resources

Command_dfpm_migrate_volume

solal

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.

Please Note:

All content posted on the NetApp Community is publicly searchable and viewable. Participation in the NetApp Community is voluntary.

In accordance with 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 (PII)
  • Copyrighted materials without the permission of the copyright owner

Continued non-compliance may result in NetApp Community account restrictions or termination.

Replies
sinhaa

Good work Solal.

adaikkap

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

solal

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.

All Community Forums
Public