Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to create a Synchronous SnapMirror or StrictSync SnapMirror use new-snapmirror command?
2023-04-25
04:29 PM
1,842 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to create a Synchronous Snapmirror or StrictSync Snapirror by using new-snapmirror command ?
is any example?
Solved! See The Solution
1 ACCEPTED SOLUTION
AllenChang has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this...assuming the cluster, source and dest SVM and volume name variables are already created:
$smpolicy = @{
"Source" = "$srcCluster://$srcSvmName/$srcVolumeName";
"Destination" = "$dstCluster://$dstSvmName/$dstVolumeName";
"Policy" = "StrictSync";
}
New-NcSnapmirror @smpolicy
Thanks
Tony Ansley
I am a NetApp employee.
Tony Ansley
I am a NetApp employee.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know about the ps new-ncsnapmirror command, but here is the info for creating strict-sync via ontap CLI:
https://docs.netapp.com/us-en/ontap-cli-98//snapmirror-initialize.html#examples:
To create a strict SnapMirror Synchronous relationship between FlexVols vol_log and vol_log_sync_dp , to initialize it and bring it to InSync, type the following command:
vs2.example.com::> snapmirror initialize -destination-path vs2.example.com:vol_log_sync_dp -source-path vs1.example.com:vol_log -policy StrictSync
AllenChang has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this...assuming the cluster, source and dest SVM and volume name variables are already created:
$smpolicy = @{
"Source" = "$srcCluster://$srcSvmName/$srcVolumeName";
"Destination" = "$dstCluster://$dstSvmName/$dstVolumeName";
"Policy" = "StrictSync";
}
New-NcSnapmirror @smpolicy
Thanks
Tony Ansley
I am a NetApp employee.
Tony Ansley
I am a NetApp employee.
