Skip to main content
NetApp Knowledge Base

SCSQL Log Backup fails with the connection to the primary replica is not active

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

Applies to

  • SnapCenter Plug-In for SQL 4.9 (SCSQL)
  • SQL Availability Group AlwaysOn (AG)

Issue

During the SCSQL backup of the Primary and Secondary Instances of a SQL AG, the log backup of one of the copies fails with the following error in the SmSql log:
System.Data.SqlClient.SqlError: The connection to the primary replica is not active.  The command cannot be processed
ErrorCode (-1), ErrorMessage (System.Data.SqlClient.SqlError: The connection to the primary replica is not active.  The command cannot be processed.)

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.