Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
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?
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.
Thanks
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.
Hello,
Which data Ontap version you running and Powershell as well?
Did you invoke the options on both source and destination cluster?
Thanks
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.