Skip to main content
NetApp Knowledge Base

CSNAPC-8104: MySQL instance discovery fails on Linux when multiple instances are configured to run on the same port

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

Issue

  • When multiple MySQL instances running on same port(default 3306),
  • During shallow discovery, SnapCenter (SC) executes the command:

export LANG=C; ss -nltp | grep mysqld
to list the running instances on the plugin host.
  • We then creates a UID for each instance by prefixing the port number with "mysqld_", resulting in "mysqld_3306" for all instances since they all use port 3306. Later in the code, a duplicate UID check is performed, and if a resource with the same UID is found, discovery fails with the error: "Auto Discovery for plug-in [MySQL] failed with error [The plugin returned a duplicate UID: mysqld_3306 .] and exit code [-1]. Exiting."

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.