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

Re: nc-snapmirror -type DP not working as expected

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 

Re: nc-snapmirror -type DP not working as expected

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.

Re: nc-snapmirror -type DP not working as expected

hmoubara

Hello,

 

Which data Ontap version you running and Powershell as well?

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

 

Thanks 

Re: nc-snapmirror -type DP not working as expected

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.

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public