Microsoft Virtualization Discussions

nc-snapmirror -type DP not working as expected

waskew

We are seeing an issue with powershell not following the type specified for snapmirror. The cluster has this option to keep DP available:

 

options replication.create_data_protection_rels.enable on

 

Command: New-NcSnapmirror  -Type DP 

 

However, the type continues defaulting to XDP. Is this expected?

 

 

4 REPLIES 4

hmoubara

Hello,

 

XDP replaces DP as the SnapMirror default
Starting with ONTAP 9.3, SnapMirror extended data protection (XDP) mode replaces SnapMirror data protection (DP) mode as the SnapMirror default.

 

https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.pow-dap%2FGUID-9FF688E3-9A37-49A4-8239-EB55409FA2D0.html

 

Thanks 

waskew

At the bottom of that page it states you can still invoke DP.

 

Explicit invocations of DP continue to default to DP mode if you set the following cluster-wide option:

 

options replication.create_data_protection_rels.enable on

 

This option is ignored if you do not explicitly invoke DP.

hmoubara

Hello,

 

Which data Ontap version you running and Powershell as well?

Did you invoke the options on both source and destination cluster?

 

Thanks 

waskew

They are using the PowerShell Toolkit 9.8 version and ONTAP is 9.7P8. Here is the syntax of the command they are running. 

 

New-NcSnapmirror -Source $dr_svm_src_path -Destination $dr_svm_dest_path -Schedule 4hours -Type dp -Policy "DPDefault"  -PreserveIdentity | Out-Null

 

Both source and destination have the option set.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public