Skip to main content
NetApp Knowledge Base

Unable to add ONTAP cluster belonging to a MetroCluster due to duplicate entry

Views:
7
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

  • SnapCenter Server (SC)
  • MetroCluster (MC)

Issue

Unable to add ONTAP cluster in SC due to a duplicate entry error:

DEBUG SMCore_79840 PID=[4420] TID=[28] invoking command - Invoke-NcSystemApi - cluster application record
DEBUG SMCore_79840 PID=[4420] TID=[28] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: A cluster
application-record entry of this name already exists.
DEBUG SMCore_79840 PID=[4420] TID=[28] 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: A cluster application-record entry of this name already exists.
DEBUG SnapManagerWeb_79840 PID=[8260] TID=[55] Storage system [cluster_name_FQDN], type = DataOntapCluster, IsManagedIndependently = True, IsMetroClusterSystem = True
INFO  SnapManagerWeb_79840 PID=[8260] TID=[55] Register local cluster [cluster_name] to peer cluster [peer_cluster_name] map.
ERROR SnapManagerWeb_79840 PID=[8260] TID=[55] System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.
Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Devart.Data.MySql.MySqlException: Duplicate entry '<SVM_name>' for key 'uc_svm_name'

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.