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

Remote Copy - VV export on both arrays
https://3parug.com/viewtopic.php?f=18&t=790
Page 1 of 1

Author:  inferno234 [ Tue Jun 24, 2014 8:40 am ]
Post subject:  Remote Copy - VV export on both arrays

I am trying to use Remote copy solution to replicate VMware Templates. The perfect solution would be to use 3par Remote Copy. I am not able to find in the documentaiton if this is safe to export LUN pair (Remote Copy) on both arrays to different hosts. In remote copy I see that one LUN has assigned attribute in Remote Copy "Writabel LUN" but I am not sure if this is safe to export the backup LUN to a host. Has anyone tried this ?

Author:  hdtvguy [ Tue Jun 24, 2014 9:01 am ]
Post subject:  Re: Remote Copy - VV export on both arrays

I do not think the array will let you export a target of RC as writable, it will export, but will be read only. You can write a script that refreshes a snap of that target volume and presents that as writable.

Author:  Davidkn [ Tue Jun 24, 2014 2:14 pm ]
Post subject:  Re: Remote Copy - VV export on both arrays

If there's a writable snapshot on the target array then you can present his no problem, if it's only a read only copy, just create a writeable one and present it.

I am assuming you want to do this just the once and not keep it synced and viewable on the second site form vmware.

Author:  inferno234 [ Wed Jun 25, 2014 2:01 am ]
Post subject:  Re: Remote Copy - VV export on both arrays

Thank you for all you replies.

I can tolerate that LUN is writable only on one side. So can you confirm that exporting LUN pair (RC) to different hosts and have primary LUN writable and secondary LUN read-only doable ? This would solve my problem.

As far as snapshots are concerned I am concerned how VMFS will react to snapshot refresh.

Author:  Davidkn [ Wed Jun 25, 2014 3:56 pm ]
Post subject:  Re: Remote Copy - VV export on both arrays

I haven't got an array to test this to know for sure so I'm going by memory.

But I don't think you can present a read only lun.

When you try and present the lun from the target, you're going to be creating a writable snapshot and presenting that I think.

So it will work to give you the templates for that moment, but when remote copy updates you won't see the updates, you would need to remove that presented snapshot and create another snapshot of the newly replicated data and present that.

So it would be manual each time.

That's how I understand it without have a play. Hopefully someone should be able to confirm whether I'm right or not.

Author:  Schmoog [ Wed Jun 25, 2014 6:50 pm ]
Post subject:  Re: Remote Copy - VV export on both arrays

Davidkn wrote:
I haven't got an array to test this to know for sure so I'm going by memory.

But I don't think you can present a read only lun.

When you try and present the lun from the target, you're going to be creating a writable snapshot and presenting that I think.

So it will work to give you the templates for that moment, but when remote copy updates you won't see the updates, you would need to remove that presented snapshot and create another snapshot of the newly replicated data and present that.

So it would be manual each time.

That's how I understand it without have a play. Hopefully someone should be able to confirm whether I'm right or not.


You can present a read only lun. I've experimented with this before.

The problem is that without an operating system that understands that what it's seeing is a read only copy that will only become active on a failover, signaturing and mounting the lun won't work.

Presenting read only luns is really something you'll only do if you're stretching clusters using clx

The best way would be to create a virtual copy, and script the virtual copy being torn down and rebuilt from the ro lun periodically if you need to keep them in sync

Author:  Davidkn [ Thu Jun 26, 2014 3:01 pm ]
Post subject:  Re: Remote Copy - VV export on both arrays

Ah ok, so yes, some scripting may be required, although in reality how often will a template change, might aswell just do a manual presentation the odd time it happens?

Author:  Schmoog [ Thu Jun 26, 2014 4:49 pm ]
Post subject:  Re: Remote Copy - VV export on both arrays

Davidkn wrote:
Ah ok, so yes, some scripting may be required, although in reality how often will a template change, might aswell just do a manual presentation the odd time it happens?


Depends on your use case.

If the template wont change much, and you're ok with blowing out the snap and re creating it every time then go for it

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