Connection Allowlist
Restrict which IP addresses may join a MariaDB Galera Cluster using the wsrep_allowlist system variable or the mysql.wsrep_allowlist table.
Last updated
Was this helpful?
Restrict which IP addresses may join a MariaDB Galera Cluster using the wsrep_allowlist system variable or the mysql.wsrep_allowlist table.
The wsrep_allowlist system variable is available from MariaDB Enterprise Server 11.4.
MariaDB Enterprise Cluster can restrict which IP addresses are allowed to establish cluster connections. Incoming connections are checked by IP address against an allowlist. When no allowlist is configured, all addresses are allowed.
Allowed addresses can be specified in two ways:
wsrep_allowlist system variable — a comma-separated list of allowed IP addresses, set at server startup. The variable is read-only and global, and defaults to empty.
mysql.wsrep_allowlist table — a persistent allowlist stored in the system schema, consulted once the storage engines are initialized.
When an allowlist is configured, only the listed addresses may join the cluster; all other connection attempts are rejected.
[mariadb]
...
wsrep_allowlist = "10.0.0.11,10.0.0.12"The allowlist is enforced through the wsrep allowlist service, which the Galera library calls to authorize each incoming connection by its IP address.
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?
Was this helpful?

