Replication error where SC 5.0/6.0 is unable to find the source/destination snapshot
Applies to
- SnapCenter Server (SC) 5.x and 6.x
- SnapCenter Plug-in for Microsoft SQL Server (SCSQL) 5.x and 6.x
- SnapCenter Plug-in for Oracle (SCO) 5.x and 6.x
- SnapCenter Plug-in for HANA (SCHANA) 5.x and 6.x
- ONTAP 9.14.1Px
- SnapVault (SV) and SnapMirror (SM)
- RestAPI
Issue
- SnapCenter plugin backups finish with a warning due to replication failing for volume(s) included in the backup
- The error indicates that no SnapMirror relationships were discovered and suggests verifying name resolution is correct and that the secondary storage systems having been added to SnapCenter
SMCore_XXXXX.log:
DEBUG SMCore_XXXXX PID=[10056] TID=[22] Command: Get-NcSnapMirror. Storage System: <SVM>. Version: NetApp Release 9.14.1: Wed Jan 24 02:50:30 UTC 2024. Connection Mode: REST
...
ERROR SMCore_XXXXX PID=[10056] TID=[14] No SnapMirror relationships were found. Resolution: Please make sure that secondary storage systems are registered and host can resolve them correctly
ERROR SMCore_124225 PID=[4968] TID=[106]
Message : Failed to run a command Get-NcSnapshot
Source : SnapDrive.Nsf.Common.PowerShell
StackTrace : at SnapDrive.Nsf.Common.PowerShell.PSHelper.RunCommand[T](Command command, IEnumerable input, Boolean isRetryAllowed)
at SnapDrive.Nsf.Core.Storage.SnapshotManagementServiceProvider.GetSnapshot(GetSnapshotRequest request)
DEBUG SMCore_124225 PID=[4968] TID=[106] Command: Get-NcSnapshot. Storage System: <SVM_IP>. Version: NetApp Release 9.14.1P4: Thu Apr 18 15:59:10 UTC 2024. Connection Mode: REST
DEBUG SMCore_124225 PID=[4968] TID=[106] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: [502]: Server temporarily unavailable. Try again later.
DEBUG SMCore_124225 PID=[4968] TID=[106] No retry condition match found or max retry reached. Throwing error The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: [502]: Server temporarily unavailable. Try again later.
DEBUG SMCore_124226 PID=[4968] TID=[106] Retry to check the snapshot on secondary destinations.
DEBUG SMCore_124226 PID=[4968] TID=[106] Checking for snapshot '<Snapshot_Name>' on the volume(s) <Destination_Volume_Name> of the storage system '<Destination_SVM>'.
DEBUG SMCore_124226 PID=[4968] TID=[106] Exit CheckSnapshotOnSecondary
INFO SMCore_124226 PID=[4968] TID=[106] Snapshot replication summary :
ERROR SMCore_124226 PID=[4968] TID=[106] ErrorCode (-1), ErrorMessage (SnapMirror update failed for the relationship [<Source_SVM>: <Source_Volume_Name> ==> <Destination_SVM> : <Destination_Volume_Name>] with error: Snapshot copy '<Snapshot_Name>' not found on the SnapMirror destination <Destination_SVM> : <Destination_Volume_Name>)
- SnapCenter Primary/SnapVault fails to start with the error seen in the Job Details:
Activity 'Replicating to Secondary' failed with error: Unable to find Snapshot version UUID with error: Error: Snapshot enumeration failed. The operation has timed out. SetSnapshotLabel failed : 102, Failed to attach the label to the specified Snapshot copy.(snapshot_name) Record doesn't exist