You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/proxysql/README.md
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,11 @@ All other statuses are considered unhealthy and therefore are ignored by freno,
14
14
1.`OFFLINE_HARD` - a server that is completely offline
15
15
16
16
## Requirements
17
-
1. The ProxySQL `--no-monitor` flag is not set
17
+
1. The ProxySQL admin port is reachable to Freno
18
+
1. The ProxySQL global variable [admin-stats_credentials](https://github.com/sysown/proxysql/wiki/Global-variables#admin-stats_credentials) is defined
19
+
-`ProxySQLUser` in `MySQLConfigurationSettings` (global) or `User` in `ProxySQLConfigurationSettings` (per-cluster) must be equal to `admin-stats_credentials`
20
+
-`ProxySQLPassword` in `MySQLConfigurationSettings` (global) or `Password` in `ProxySQLConfigurationSettings` (per-cluster) must be equal to `admin-stats_credentials`
18
21
1. The [ProxySQL monitor module](https://github.com/sysown/proxysql/wiki/Monitor-Module) is enabled, eg: [`mysql-monitor_enabled`](https://github.com/sysown/proxysql/wiki/Global-variables#mysql-monitor_enabled) is `true`
22
+
- The ProxySQL `--no-monitor` daemon flag cannot be set
19
23
1. The `max_replication_lag` column is defined for backend servers in [the `mysql_servers` admin table](https://github.com/sysown/proxysql/wiki/Main-(runtime)#mysql_servers)
20
-
- This ensures servers with lag do not receive reads but are still probed by freno
21
-
24
+
- This ensures reads do not receive stale data but lagging nodes are still probed
0 commit comments