Modifications to galera monitor to control whether selection of master is wanted.
This commit is contained in:
@ -440,6 +440,7 @@ backend_write_timeout=2
|
|||||||
# galeramon specific options
|
# galeramon specific options
|
||||||
disable_master_failback=0
|
disable_master_failback=0
|
||||||
available_when_donor=0
|
available_when_donor=0
|
||||||
|
disable_master_role_setting=0
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `module`
|
#### `module`
|
||||||
@ -510,6 +511,13 @@ This option if set to 1 will allow Galera monitor to keep a node in `Donor` stat
|
|||||||
|
|
||||||
As xtrabackup is a non-locking SST method, a node in `Donor` status can still be considered in sync. This option is not enabled by default and should be used as the administrator's discretion.
|
As xtrabackup is a non-locking SST method, a node in `Donor` status can still be considered in sync. This option is not enabled by default and should be used as the administrator's discretion.
|
||||||
|
|
||||||
|
#### `disable_master_role_setting`
|
||||||
|
|
||||||
|
This option if set to 1 will stop the Galera monitor from setting the status of
|
||||||
|
backend servers to master or slave. It is applicable when the Galera router is
|
||||||
|
being used to spread writes across multiple nodes, so that no server is to be
|
||||||
|
nominated as the master.
|
||||||
|
|
||||||
#### `backend_connect_timeout`
|
#### `backend_connect_timeout`
|
||||||
|
|
||||||
This option, with default value of `3` sets the monitor connect timeout to backends.
|
This option, with default value of `3` sets the monitor connect timeout to backends.
|
||||||
@ -1367,11 +1375,11 @@ Example:
|
|||||||
```
|
```
|
||||||
[Galera Listener]
|
[Galera Listener]
|
||||||
type=listener
|
type=listener
|
||||||
address=192.1681.3.33
|
address=192.168.3.33
|
||||||
port=4408
|
port=4408
|
||||||
socket=/servers/maxscale/galera.sock
|
socket=/servers/maxscale/galera.sock
|
||||||
```
|
```
|
||||||
|
|
||||||
TCP/IP Traffic must be permitted to 192.1681.3.33 port 4408
|
TCP/IP Traffic must be permitted to 192.168.3.33 port 4408
|
||||||
|
|
||||||
For Unix socket, the socket file path (example: `/servers/maxscale/galera.sock`) must be writable by the Unix user MaxScale runs as.
|
For Unix socket, the socket file path (example: `/servers/maxscale/galera.sock`) must be writable by the Unix user MaxScale runs as.
|
||||||
|
|||||||
Reference in New Issue
Block a user