How to configure event notification whenever SnapMirror fails regardless of the cause
Applies to
- ONTAP 9
- SnapMirror
Description
- The related EMS events generated by ONTAP vary depending on the cause.
Example 1: The following errors are detected when SnapMirror is paused or broken from the System Manager on the SnapMirror destination side.
- When paused:
cluster2::> event log show -message-name *snap*
Time Node Severity Event
------------------- ---------------- ------------- ---------------------------
11/8/2024 13:40:03 cluster2-01 ERROR smc.snapmir.update.fail: Snapmirror update from source volume 'cluster1_svm1:cluster1_svm1_inventory' to destination volume 'cluster2_svm1:cluster1_svm1_inventory_dest' failed with error 'Transfer did not start. The relationship is quiesced, or Vserver peering between source and destination Vservers has been suspended or removed.'. Relationship UUID 'c579a9d2-9d9e-11ef-a659-0050569cb19e'.
- When broken:
cluster2::> event log show -message-name *snapmi*
Time Node Severity Event
------------------- ---------------- ------------- ---------------------------
11/8/2024 13:50:03 cluster2-01 ERROR smc.snapmir.update.fail: Snapmirror update from source volume 'cluster1_svm1:cluster1_svm1_inventory' to destination volume 'cluster2_svm1:cluster1_svm1_inventory_dest' failed with error 'Destination cluster2_svm1:cluster1_svm1_inventory_dest must be a data-protection volume.'. Relationship UUID 'c579a9d2-9d9e-11ef-a659-0050569cb19e'.
Example 2: When the Interconnect LIF on the SnapMirror source side is manually brought down, the following error is detected after some time:
cluster1::> network interface modify -vserver cluster1 -lif lif_Default_18 -status-admin down
Warning: Disabling LIF "lif_Default_18" on system Vserver "cluster1" could interrupt services required for proper cluster operation. Are you sure you want to continue? {y|n}: y
cluster2::> event log show -message-name *snapmi*
Time Node Severity Event
------------------- ---------------- ------------- ---------------------------
11/8/2024 14:25:02 cluster2-01 ERROR smc.snapmir.schd.trans.overrun: Scheduled transfer from source volume 'cluster1_svm1:cluster1_svm1_inventory' to destination volume 'cluster2_svm1:cluster1_svm1_inventory_dest' is taking longer than the schedule window. Relationship UUID 'c579a9d2-9d9e-11ef-a659-0050569cb19e'.
- This article explains how to configure event notifications for SnapMirror failures, regardless of the cause.