ONTAP Discussions

How to remove SM relationship after volume migrations

netappmagic

I have successfully migrated a volume from source to destination filer. Then after that, I did  quiesce and break, as well as release (from the source). However, the SM relationship is still there and shown as "broken off" after I run "snapmirror status" . How do I remove this line?

there is no definition in /etc/snapmirror.conf. I can not remove the base snapshot on the destination, because it is Production now after the migration.

Please help me out!

18 REPLIES 18

Re: How to remove SM relationship after volume migrations

aborzenkov

You need to remove remaining SnapMirror snapshots on destination.

Re: How to remove SM relationship after volume migrations

netappmagic

Right. I know it'd remove the line by removing snapshots. However, as I said, the destination is already in Production now. Would it cause any issues if I removed snapshots on the destination? and should remove all snapshots including the base?

Looking forward to hear you again.

Re: How to remove SM relationship after volume migrations

aborzenkov

You need to remove only SnapMirror snapshots. I am not aware of any issues caused by it- you can delete any snapshot at any time.

Re: How to remove SM relationship after volume migrations

YEKYAWTHARMYINT

Remove the snapmirror base snapshot from destination volume.Use snapmirror status -l command to get the base snapshot information.

Re: How to remove SM relationship after volume migrations

netappmagic

If I remove the snapmirror base snapshot, do I have to rebase it?

HOw do I distinguish SM snapshots, and none-SM snapshots?

Re: How to remove SM relationship after volume migrations

aborzenkov

Snapmirror snapshots have name pattern dest_name(sysid)_name.number. Of course, it may also be created manually, but I have never seen it.

I do not understand second question. What “rebase” means here?

Re: How to remove SM relationship after volume migrations

netappmagic

My 2nd question is , if I remove the base snapshot, Do I then have to run the baseline (initialization) again?

I thought the baseline will create the base snapshot.

Re: How to remove SM relationship after volume migrations

YEKYAWTHARMYINT

snapmirror snapshot is named as destfilerhostname(sysid)_destvolumename.number.

for 2nd question, i am not really sure the purpose of rebase. If the volume is already used as production volume, why do you need to re initialized.

However, the answer is Yes. You need to re initialized the snapmirror if you remove the base snapshot.

Re: How to remove SM relationship after volume migrations

aborzenkov

Not quite. It is always possible to resync as long as some common snapshot exists. SnapMirror snapshots are not special in this respect.

Re: How to remove SM relationship after volume migrations

netappmagic

I can not do re-initializatoin, since the SRC has been or should be abondoned. If I understand correctly, re-initialization would damange the data on SM dest which has been in Production already.

I am still no so clear, if I remove the base snapshot, would that have any impact on the Destination(primary Production now)?

Re: How to remove SM relationship after volume migrations

JGPSHNTAP

This thread is confusing...

A snapmirror destination isn't in production b/c if's read-only.  From what I gather you broke off a relationship and the old snapmirror desitnation is now production.

Are you not snapmirroring the new production volume to another filer for DR?   

If you don't plan on re-using the src, as others has said, you need to remove the snapmirror base snapshot.  

Re: How to remove SM relationship after volume migrations

netappmagic

JGP, I have migrated the volume to another filer (not DR dest), so, I no longer need the original production filer now. The problem is now bt the origianl production filer and the new production filer.

So, I can not resync the src, since it has already been abandoned.

I might be missing sth, in order to get rid of "broken-off" line, as suggested, I need to delete base snapshot on DEST. By removing this destination, would that cause issues on now production volume?

Re: How to remove SM relationship after volume migrations

JGPSHNTAP

You keep saying Destination... That's your new Source production volume. 

As others have said there is NO issue in remove that snapmirror snapshot.   

Why would you think this affects production?

Re: How to remove SM relationship after volume migrations

netappmagic

You are correct, this is now the new SRC. So, I have been asked to remove the base snapshot from the new SRC production, I don't know, but, would that cause any issues? and why?

Re: How to remove SM relationship after volume migrations

JGPSHNTAP

I feel like we are going around in circles...

There are no issues, you are never going back to your old source.  

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public