MySQL InnoDB Cluster and InnoDB ClusterSet provide a high-availability and disaster recovery solution for MySQL deployments. Monitoring these clusters is essential to ensure continuous availability, replication consistency, and optimal performance across primary and replica clusters.With Applications Manager’s MySQL InnoDB ClusterSet & Cluster monitoring, you can gain deep visibility into cluster health, node status, replication behavior, and resource utilization.
Prerequisites for monitoring MySQL InnoDB ClusterSet & Cluster metrics: Click here
Using the REST API to add a new MySQL InnoDB ClusterSet & Cluster monitor: Click here
To create a MySQL InnoDB ClusterSet & Cluster monitor, follow the steps given below:
When you have successfully added a MySQL InnoDB ClusterSet & Cluster monitor, Applications Manager collects a set of key performance, availability, and replication metrics across the ClusterSet, individual Clusters, and MySQL nodes. These metrics help you assess the health of cluster components, node roles, replication status, query activity, and resource utilization.
Applications Manager displays the monitor in the Monitors tab, where you can view data in the Availability, Performance, and List View tabs:
Click on the individual monitors listed to view the following information. The following are the metrics monitored as part of MySQL InnoDB ClusterSet & Cluster monitoring:
| Parameters | Description |
|---|---|
| CLUSTERSET MONITOR GROUP | |
| Domain Name | The name of the MySQL InnoDB ClusterSet. |
| Global Primary Instance | The primary instance of the PRIMARY cluster within the ClusterSet. This information is retrieved only when connected to the PRIMARY cluster. |
| Primary Cluster | The name of the primary cluster in the InnoDB ClusterSet. |
| Status | Indicates the health status of the primary cluster based on member availability. The cluster is considered HEALTHY when a majority of members are online; otherwise, it is marked as NOT TOLERANT. |
| Parameters | Description |
|---|---|
| CLUSTER MONITOR GROUP | |
| Cluster Name | The name of the MySQL InnoDB cluster. |
| Cluster Role | The role of the cluster within the ClusterSet. Possible values are PRIMARY or REPLICA. |
| Group Name | The name of the group to which the MySQL server member belongs. |
| Channel Name | The name of the Group Replication channel. |
| Replication Mode | The replication mode used by the group. Possible values are single-primary and multi-primary. |
| Primary Host | The host name of the primary member in the group. |
| Primary Port | The port number of the primary member in the group. |
| Replication Lag | If the cluster is a replica, this indicates the replication lag from the primary cluster to the replica cluster. |
| Availability | The availability status of the cluster monitor group. |
| Health | The overall health status of the cluster monitor group. |
| Parameters | Description |
|---|---|
| MYSQL NODES | |
| Node Name | The host name of the MySQL node participating in the cluster. |
| Target Address | The IP address of the MySQL node. |
| Port | The port on which the MySQL node is running. |
| Member Role | The role of the node within the cluster, either Primary or Secondary. |
| Cluster Name | The name of the cluster to which the node belongs. |
| Cluster Role | The role of the cluster to which the node belongs. Possible values are PRIMARY or REPLICA. |
| Count Conflicts Detected | The number of transactions that failed the conflict detection check. |
| Lag from Original Source (Seconds) | The time delay between the commit on the primary source and its application on the replica. |
| Lag from Immediate Source (Seconds) | The time delay between the commit on the immediate upstream source and its application on the replica. |
| Last Error | The most recent error message triggered on the MySQL node. |
| Last Error Timestamp | The timestamp at which the last error occurred. |
| Availability | The availability status of the MySQL node. |
| Health | The overall health status of the MySQL node. |
Thank you for your feedback!