UNSOLVED

Mabro1

updated

11 years ago

M

Mabro1

2 Intern

•

666 Posts

6

36659

August 30th, 2012 03:00

Ask The Expert: VNX Replication

Replication considerations  on the VNX system with rupal

 

 

Welcome to the EMC Support Community Ask the Expert conversation. This is an opportunity to learn about Replication considerations on the Clariion VNX system.

 

This discussion begins on Monday, September 10th. Get ready by bookmarking this page or signing up for email notifications.

 

http://community.emc.com/profile-image-display.jspa?imageID=6331&size=350

Rupal Rajwar has been  working in the IT industry since Nov'2007 and started working with EMC Products namely 3C's(CLARiiON, Centera and Celerra) from Jan'2008 being a Partner to EMC. This started with Centera in 2008 and by mid 2009 Rupal started working on the Mid range Enterprise of EMC, that is CLARiiON. Initially she worked on the legacy products AX Series, and CX300-700.

 

In early 2010 Rupal joined EMC. Since then she has been working in the eServices Customer Support division delivering support for  CX4  and the VNX Series. Rupal has a wealth of experience supporting   issues like Storage Pool and LUN creation, LUN to host assignments, LUN expansion and migration, File system creation, Fibre Channel, iSCSI and NFS protocols, VNX data compression, VNX FAST and FAST Cache concepts, PowerPath/VE and VSI management plug-in Management

Rupal is certified by EMC on CLARiiON (IE & SA), VNX(IE) and USPEED.

Rupal is also a contributor having created a good number of Knowledgebase Solutions and Support Forum articles for consumption by the Support Community.

 

From the 10th until the 28th of September Rupal took questions and engaged with the community in a discussion on VNX replication considerations.

 

Rupal also created a summary document of the high points of this discussion.

  • RRR

    6 Operator

    •

    5739 Posts

    2499

    0

    Posted August 30th, 2012 04:00

    I already have questions. Can't wait until then!

  • Mabro1

    2 Intern

    •

    666 Posts

    2500

    0

    Posted September 10th, 2012 01:00

    This discussion is now open for questions and conversation with our expert, Rupal. We look forward to a lively, collaborative, technical and fun discussion.

    Regards,

    Mark

  • RRR

    6 Operator

    •

    5739 Posts

    2498

    0

    Posted September 10th, 2012 03:00

    Hello Rupal,

    I have a question for you:

    Since MirrorView/A uses the snapview technique, you mention the use of the RLP, but what about the new VNX/Snapshot technology? I would expect that the old RLP is no longer used, right? Or is this only in the latest Flare 32?

  • rupal1

    433 Posts

    2500

    3

    Posted September 10th, 2012 03:00

    Hello Everyone,

    Thanks Mark for introducing me here. I take this great opportunity to discuss this Topic, Replication in VNX.


    VNX is a large Scale Mid-Segment Unified Product (Comes in the Flavors of only Block and Only File too) Launched by EMC. As more customers are becoming aware of the value of their business data, securing that data is being seen as paramount to running a successful business. Keeping copies of the data at a physically separate location is a common approach to safeguarding data from natural disasters or fire. To safeguard data and ensuring its high availability throughout the business, Replication is one of the recommended method which enables customers to transfers the data across multiple disaster recovery sites without any Discrepancy for further use.

    What is Replication? How is it used to transfer data to one or more destinations?

    The process of creating and managing duplicate versions of a data / database. Replication not only copies a data / database but also synchronizes a set of replicas so that changes made to one replica are reflected in all the others. The beauty of replication is that it enables many users to work with their own local copy of a database but have the database updated as if they were working on a single, centralized database. For database applications where users are geographically widely distributed, replication is often the most efficient method of database access.

    EMC offers  its Customers for Replication to be processed. I am sure i will not be able to enlighten every branch of Replication as it’s too vast and would not be able to fit in the same space. I would be welcoming all the issues related to Replication on the VNX for Unified Concepts on Replication distributed on the topics for Mirrorview/A, Mirrorview/S, SnapView Snapshots, Snapsure, VNX SnapView Clones, and all related topics.


    So let’s throw some light on How Replication work in accordance to the above aspects.


    Let me start with the new feature that has come up with the VNX in the Snapshot arena called as “VNX Snapshot”. As it introduces the ROW(redirect on write), it is something that  happens on both source lun and snapshot, It redirects the new writes destined for the Primary lun to a new location in the storage pool. It differs with the COFW used in snap view, wherein the write to the Primary lun (Assume a new data is about  to be written to the primary lun say A’ ) so the original Data A will be immediately copied to the Reserved lun space as soon as this write is happening to the lun. But now this VNX Snapshot Technology writes the new data to the new area within the pool, without the need to Read/Write to the old data block. When writes comes in for source and snapshot, it will rediect the data to the new space within the same pool looking for a new block. This improves the whole performance. Also the same thing will happen while a read operation takes place. The Data now will no more be constructed from two places/blocks.  We will discuss this in detail with the upcoming Questions.

    Also let me introduce the basics of the Mirror, Clone and SanCopy.

    Mirrorview is categorized as Asynchronous and synchronous. In MV/A there are no distance limitations quoted. The updates are periodic but very much configurable like Update periods, recovery policy (automatic vs manual) and update type. Both the arrays should have a designated RLP to store the Data that is being transferred. Reserved LUNs on the secondary array must be sized with the rate of data change on the primary LUNs in mind as well as for potential long interruptions of the mirrorview link. Reserved LUNs should be spread out among multiple raid groups to prevent I/O contention. In async only one secondary image is supported. The Tracking and Transfer maps helps in Data protection mechanism in the mirrorview process.

    Whereas MirrorView/S is a real time replication between local and remote storage. Offers a zero data loss option (RPO is zero) generally designed for mostly disaster recoveries. Here Data is continuously being replicated as it changes on the primary image. Data is transferred to the secondary before the write to the production (Primary) volume is acknowledged to the host. In conflict with the async here the distance is also a limitation. Host can have I/O timeouts if the latency is too great. Distance can be extended using FC/IP converters, long wave optical transmission devices (Requires additional equipment). Mirror will fracture in 10 seconds if write to the secondary is not acknowledged. The link must have a high enough bandwidth to handle peak workloads. In a  case where two  sites have production servers using their local arrays bidirectional mirroring can be established between the two as  disaster recovery sites for each other.. Each primary is allowed to have two secondary images but each must be in a different array(1:2). Each array can have a mirror connection to four other arrays (1:4).

    San Copy is a storage system based application (layered software) that enables the movement of data, at a block level on a per logical unit (LUN) basis. San Copy can take place in the same CLARiiON, between two CLARiiON and other supported vendors’ storage systems, CLARiiON and Symmetrix*, CLARiiON and supported other vendors’. 

    I would be glad to handle all the issues related to the above topics.


    Thanks

  • RRR

    6 Operator

    •

    5739 Posts

    2497

    0

    Posted September 10th, 2012 03:00

    If you have a 1 to 2 replication set up, is it possible to have the first synchronous and the other one Asynchronous?

    And if both are MV/S, is it true that the host will get the final write acklowledgement after BOTH secondary arrays have acknowledged the write to the primary array?

  • rupal1

    433 Posts

    2496

    0

    Posted September 10th, 2012 04:00

    Hi Rob,

    In VNX, 1-2 Replication set up cannot be done directly from the source lun making the first one as synchronous and other as async. Yes you can do this by making a full clone of the source lun and then you can implement Mirrorview/A or MV/S on this clone depending that what you have implemented on the source. The concept that you are trying to refer is known as Concurrent SRDF used in Symmetrix. Concurrent SRDF permits the maintenance of two data copies. Usually one copy is running SRDF/S is maintained at a nearby location and offers zero data loss if the primary site fails. The second copy operating in SRDF/A mode offers an out of region recovery site with an RPO of seconds to minutes, But I would like to stick to VNX here in which this  type Replication is not supported.

    The new VNX/Snapshot technology does not have the concept of RLP so next Q comes how to re-collect the old(stale) space for original blocks in this new technology that is ROW? To my understanding the new data is redirected to preserve old data. Original blocks are thereafter part of the point in time. Only when all snaps are destroyed would the old data on the original LUN be superseded by the new data that got redirected. The destroy operation will copy the data to the original LUN LBA space, effectively bringing it up to date and to normal operation. That should take some time to complete and would be a lengthy process.

  • RRR

    6 Operator

    •

    5739 Posts

    2497

    0

    Posted September 10th, 2012 11:00

    So using the new snapshot technology both the original data as well as the new data are in the same pool. And when the snapshot session end data will be copied back to the location where the LUN's data should be? Or will the set of pointers simply free the locations where the old data was? This last option would make it even faster since nothing has to be copied. Right?

    If the new data will be copied, is this because of the chunk size of the pooled LUN compared to the much smaller piece of newer data ?

    I'm not sure if you understand what I'm trying to say. I hope you can follow my troubled mind ;)

  • rupal1

    433 Posts

    2497

    0

    Posted September 11th, 2012 03:00

    Hi Rob,

    Let me address these concerns one by one :

    1. So using the new snapshot technology both the original data as well as the new data are in the same pool.

    Yes, Both the source and the snapshot will share the same pool space. In ROW , when writes comes in for source and snapshot, it will rediect the data to the new space in the pool and the Original blocks are thereafter part of the point in time

    2. And when the snapshot session ends, data will be copied back to the location where the LUN's data should be? Or will the set of pointers simply free the locations where the old data was?
    There is no movement of data would happen only the pointer would point to the old LBA. And the pointers would free up the space.

    3. This last option would make it even faster since nothing has to be copied. Right?

    Yes there is no Data Movement would be fast and less complex compared to the previous technology COFW.

    4. If the new data will be copied, is this because of the chunk size of the pooled LUN compared to the much smaller piece of newer data?
    Yes see the below example to understand it better.

    I broke my answer into pieces and tried to revert to you in the same manner in your own wordings to make it simpler for us.

    Lets see how it works

    Consider the following : A lun is snapped with a few LBA’s of Data. So a new snapshot points at those block just like the primary LUN.clip_image002.jpg

    After sometime the Primary lun may receive an I/O that overwrites block A. The 1st snapshot continues pointing to the original set of the blocks A, B, C and D. So assume one more snapshot is taken Snap 2 when a new write to the Block A happens, it points A’, B, C, D. The next one comes to block D and it becomes  A’, B, C, D’. So now the VNX Snapshots points at the Unchanged blocks and the Primary Lun is still using the new lun

    clip_image001.jpg

    Hope this helps

  • 1694

    0

    Posted September 11th, 2012 05:00

    If you're using Compression, or Deuplication on the LUN or File you want to replicate; do you need to ReHydrate the file before replication? Or does it save the space, and replicate without Hydration?

    Depending on the level of compression, does it effect replication speed?

    Thanks

    Roger Lund

  • rupal1

    433 Posts

    740

    0

    Posted September 11th, 2012 06:00

    Hi Roger,

    Roger Lund Wrote :

    If you are using Compression, or De-duplication on the LUN or File you want to replicate; do you need to Re-Hydrate the file before replication?

    No . You do not need to uncompress the file or release it from the De-dup mode for replicating the same. The replication will carry out smooth without any issues even on a compressed or a de-dup file. Before enabling de-duplication on a file system created on a VNX system that uses version 7.1 and later, wait until all VNX systems connected by file system replication relationships are running version 7.1. If you enable de-duplication on a file system that you create under VNX version 7.1 and later, and then replicate that file system to a VNX system running version 7.0 and earlier, the VNX version 7.0 and earlier system cannot read the files de-duplicated and compressed by the VNX version 7.1 system.

    Roger Lund Wrote :

    Depending on the level of compression, does it effect replication speed?

    No, there will be no effect on the Replication speed if a compressed file is being replicated. As compression will be in effect again on the destination after the replication is over. So this taks would be carried out quite normally based on the link speed.