Microsoft Virtualization Discussions

nc-snapmirror -type DP not working as expected

waskew
1,641 Views

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
1,602 Views

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
1,590 Views

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
1,566 Views

Hello,

 

Which data Ontap version you running and Powershell as well?

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

 

Thanks 

waskew
1,532 Views

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.

Public