Table of Contents
Configurations
Manages the configuration files of your database, ProxySQL, HAProxy, and Garbd nodes. For MySQL database, changes can be persisted to database variables across one node or a group of nodes at once, dynamic variables are changed directly without a restart.
ClusterControl does not store configuration changes history so there is no versioning at the moment. Only one version exists at one time. It imports the latest configuration files every 30 minutes and overwrites them in the CMON database. This limitation will be improved in the upcoming release where ClusterControl shall support configuration versioning with dynamic import interval.
Field | Description |
---|---|
Refresh config |
|
Edit params |
|
Show diff |
|
Save |
|
If you change a global system variable, the value is remembered and used ONLY for new connections.
DB Users
Available for: MySQL/MariaDB ReplicationMySQL/MariaDB Galera ClusterPostgreSQLTimescaleDBMariaDB ServerRedis Cluster
Shows a summary of database users and privileges for the cluster. All of the changes are automatically synced to all database nodes in the cluster.
You can filter the list by Active and Inactive users. Click on Actions → Edit to update the existing user or Actions → Delete to remove the existing user. Click on Create DB User to open the user creation wizard:
Field | Description |
---|---|
Configuration | |
Username |
|
Password |
|
Hostname |
|
Privileges | |
Privileges |
|
Add Privileges |
|
Advanced | |
Max Queries Per Hour |
|
Max Updated Per Hour |
|
Max Connections Per Hour |
|
Max User Connections |
|
Requires SSL |
|
Advisors
Lists of scheduled advisors’ results created in ClusterControl → Manage → Scripts using ClusterControl DSL. You can think of it as a ‘scheduled mini-program’ that executes a script created in Scripts and produces a result containing status, advice, and justification. Each advisor has the following features:
Actions | Description |
---|---|
Results |
|
Edit script |
|
Edit params |
|
Disable/Enable |
|
When clicking on the Results, you will be presented with a table containing the following information:
Field | Description |
---|---|
Advisor |
|
Tags |
|
Status |
|
Instance |
|
Justification |
|
Advice |
|
Scripts
Provides functionality to create Advisors, Auto Tuners, or Mini Programs right within your web browser based on ClusterControl DSL. The DSL syntax is based on JavaScript, with extensions to provide access to ClusterControl’s internal data structures and functions. The DSL allows you to execute SQL statements, run shell commands/programs across all your cluster hosts, and retrieve results to be processed for advisors/alerts or any other actions. Developer Studio is a development environment to quickly create, edit, compile, run, test, debug, and schedule your JavaScript programs.
Advisors in ClusterControl are powerful constructs; they provide specific advice on how to address issues in areas such as performance, security, log management, configuration, storage space, etc. They can be anything from simple configuration advice, warnings on thresholds, or more complex rules for predictions, or even cluster-wide automation tasks based on the state of your servers or databases.
ClusterControl comes with a set of basic advisors that include rules and alerts on security settings, system checks (NUMA, Disk, CPU), queries, InnoDB, connections, Performance_Schema, configuration, NDB memory usage, and so on. The advisors are open source under MIT license, and publicly available at GitHub. Through the Developer Studio, it is easy to import new advisors as a JS bundle or export your own for others to try out.
Field | Description |
---|---|
Compile |
|
Compile and run |
|
Show diff |
|
Save |
|