From 96cb45f5245d1029689a9e69ebcea9795544249f Mon Sep 17 00:00:00 2001 From: counterpoint Date: Fri, 24 Apr 2015 15:35:10 +0100 Subject: [PATCH] Modifications to galera monitor to control whether selection of master is wanted. --- Getting-Started/Configuration-Guide.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Getting-Started/Configuration-Guide.md b/Getting-Started/Configuration-Guide.md index 8b3fdc301..9bf75aa2f 100644 --- a/Getting-Started/Configuration-Guide.md +++ b/Getting-Started/Configuration-Guide.md @@ -440,6 +440,7 @@ backend_write_timeout=2 # galeramon specific options disable_master_failback=0 available_when_donor=0 +disable_master_role_setting=0 ``` #### `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. +#### `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` This option, with default value of `3` sets the monitor connect timeout to backends. @@ -1367,11 +1375,11 @@ Example: ``` [Galera Listener] type=listener -address=192.1681.3.33 +address=192.168.3.33 port=4408 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.