ONTAP Discussions

Snapmirror relationship type - XDP vs DP

BenBrazil
13,072 Views

Hi,

 

I am have just created a new Snapmirror between to clusters - version 9.5 P6.

The Relationship Type is XDP and it is an Asynchronous Version-Flexible Mirror. This all appears to be normal.

 

I also have many other Snapmirrors that were created years ago. They were most likely created on Ontap version 8.3 (or perhaps earlier). These Snapmirrors have a Relationship Type of DP and are just simple Mirrors.

 

I am in the process of migrating all of our Volumes to a new SVM onto new storage and will be recreating the Snapmirrors the cluster where I have just created the XDP Snapmirror, again on a new SVM.

 

What differences are there between the XDP and DP Snapmirrors and the Asynchronous Version-Flexible Mirror compared to the Mirror type. I assume that I wouldn't want to downgrade the mirror from XDP to DP if this is even possible?

 

Thanks,

 

Ben

1 ACCEPTED SOLUTION

Ontapforrum
13,032 Views

Hi,

 

For XDP vs DP, I think this TR (Page:17) will do a better job then me explaining it.

 

SnapMirror Configuration and Best Practices Guide for ONTAP 9
https://www.netapp.com/us/media/tr-4015.pdf

 


For the specific question, which is a very good question, I will try to explain:

Traditionally, there has been a fundamental difference between DP & XDP(vault):

 

"DP" are block-based and uses BRE (Block Replication Engine)

 "All the rest of it", (file-based) i.e XDP, SnapVault and version independent SnapMirror uses LRE (Logical Replication Engine)

 

  • BRE (suited for disaster type of scenario) = Tracks each "block" and is unaware of file-system structure.

 

  • LRE (suited for archival type of scenario) = Tracks the data "logically" and is based on the file-system structure. So when the resync is attempted, BRE cannot find any snapshots that hold block based references to the data so it reports that there are no common snapshots since the block based engine cannot understand the logical tracking. If you attempt to convert a relationship, which was originally an XDP relationship to a DP relationship, and then attempt to update it, the snapmirror will report 'un-supported error'.  However, an ORIGINAL DP relationship which is later converted to an XDP relationship = Can be converted back to a DP relationship, provided the source and destination volumes still have Snapshots with the same instance and version UUIDs.  This answers your query "I assume that I wouldn't want to downgrade the mirror from XDP to DP if this is even possible?", possible but  XDP advantages outweighs DP.

 

"DP" mode is no longer applicable starting ONTAP 9.3 = With improvements in performance, and significant benefits of version-flexible SnapMirror outweighs the slight advantage in replication throughput obtained with version-dependent mode. For this reason, starting with ONTAP 9.3, "XDP" mode has been made the new default!

 

Further, starting with ONTAP 9.5, "MirrorAndVault" (Unified) is the new default policy when no data protection mode is specified or when XDP mode is specified as the relationship type. The table below shows the behaviour you can expect.
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.pow-dap%2FGUID-9FF688E3-9A37-49A4-8239-EB55409FA2D0.html

 

For conversion from DP->XDP, following steps are handy:
Converting an existing DP-type relationship to XDP
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.pow-dap%2FGUID-898A828D-B69E-4951-98AD-C8BF7D6DB7BA.html&lang=en


Thanks!

View solution in original post

3 REPLIES 3

Ontapforrum
13,033 Views

Hi,

 

For XDP vs DP, I think this TR (Page:17) will do a better job then me explaining it.

 

SnapMirror Configuration and Best Practices Guide for ONTAP 9
https://www.netapp.com/us/media/tr-4015.pdf

 


For the specific question, which is a very good question, I will try to explain:

Traditionally, there has been a fundamental difference between DP & XDP(vault):

 

"DP" are block-based and uses BRE (Block Replication Engine)

 "All the rest of it", (file-based) i.e XDP, SnapVault and version independent SnapMirror uses LRE (Logical Replication Engine)

 

  • BRE (suited for disaster type of scenario) = Tracks each "block" and is unaware of file-system structure.

 

  • LRE (suited for archival type of scenario) = Tracks the data "logically" and is based on the file-system structure. So when the resync is attempted, BRE cannot find any snapshots that hold block based references to the data so it reports that there are no common snapshots since the block based engine cannot understand the logical tracking. If you attempt to convert a relationship, which was originally an XDP relationship to a DP relationship, and then attempt to update it, the snapmirror will report 'un-supported error'.  However, an ORIGINAL DP relationship which is later converted to an XDP relationship = Can be converted back to a DP relationship, provided the source and destination volumes still have Snapshots with the same instance and version UUIDs.  This answers your query "I assume that I wouldn't want to downgrade the mirror from XDP to DP if this is even possible?", possible but  XDP advantages outweighs DP.

 

"DP" mode is no longer applicable starting ONTAP 9.3 = With improvements in performance, and significant benefits of version-flexible SnapMirror outweighs the slight advantage in replication throughput obtained with version-dependent mode. For this reason, starting with ONTAP 9.3, "XDP" mode has been made the new default!

 

Further, starting with ONTAP 9.5, "MirrorAndVault" (Unified) is the new default policy when no data protection mode is specified or when XDP mode is specified as the relationship type. The table below shows the behaviour you can expect.
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.pow-dap%2FGUID-9FF688E3-9A37-49A4-8239-EB55409FA2D0.html

 

For conversion from DP->XDP, following steps are handy:
Converting an existing DP-type relationship to XDP
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.pow-dap%2FGUID-898A828D-B69E-4951-98AD-C8BF7D6DB7BA.html&lang=en


Thanks!

BenBrazil
13,014 Views

Hi Ontapforum,

 

thanks for taking the time to explain the differences and for the detailed post. It is much appreciated.

 

Thanks,

 

Ben

 

 

JERONIMO123
11,409 Views

Yeah that is indeed very much appreciated.

However there is one thing that strikes me, at the bottom of one of the pages you provided they write:

"SVM data protection relationships continue to default to DP mode in ONTAP 9.3 and earlier."

Does that mean XDR is the default only in 9.4, and not 9.3?

As a matter of fact we have a upgraded to 9.3 recently 😉 an a new protection relationship we created using "snapmirror protect" shows as "DP" when looking at it using "snapmirror show".

So I have to set up snapmirror XDP manually if I like to use XDP instead of DP as "snapmirror protect" also does not provide any option to that end?

Thanks

Public