MaxScale Administration Tutorial
Master common administrative tasks in MaxScale. Learn to start/stop services, rotate logs, manage servers with MaxCtrl, and put nodes into maintenance mode.
Administration audit file
maxctrl alter maxscale
admin_audit_file=/var/log/maxscale/admin_audit.march.csv.Starting and Stopping MariaDB MaxScale
Additional Options for MaxScale
Checking The Status Of The MariaDB MaxScale Services
$ maxctrl list services
┌────────────────────────┬────────────────┬─────────────┬───────────────────┬────────────────────────────────────┐
│ Service │ Router │ Connections │ Total Connections │ Servers │
├────────────────────────┼────────────────┼─────────────┼───────────────────┼────────────────────────────────────┤
│ CLI │ cli │ 1 │ 1 │ │
├────────────────────────┼────────────────┼─────────────┼───────────────────┼────────────────────────────────────┤
│ RW-Split-Router │ readwritesplit │ 1 │ 1 │ server1, server2, server3, server4 │
├────────────────────────┼────────────────┼─────────────┼───────────────────┼────────────────────────────────────┤
│ RW-Split-Hint-Router │ readwritesplit │ 1 │ 1 │ server1, server2, server3, server4 │
├────────────────────────┼────────────────┼─────────────┼───────────────────┼────────────────────────────────────┤
│ SchemaRouter-Router │ schemarouter │ 1 │ 1 │ server1, server2, server3, server4 │
├────────────────────────┼────────────────┼─────────────┼───────────────────┼────────────────────────────────────┤
│ Read-Connection-Router │ readconnroute │ 1 │ 1 │ server1 │
└────────────────────────┴────────────────┴─────────────┴───────────────────┴────────────────────────────────────┘What Clients Are Connected To MariaDB MaxScale
Rotating Log Files
Taking Objects Temporarily Out of Use
Putting Servers into Maintenance
Stopping and Starting Services
Stopping and Starting Monitors
Runtime Configuration Modification
Core Parameter Configuration
Managing Servers
Managing Monitors
Managing Services
Managing Filters
Managing Listeners
Managing MaxCtrl and REST API Users
Create a New MaxCtrl User
Change the Password of an Existing User
Remove a User
Last updated
Was this helpful?

