MXS-2314 Add 'cluster' parameter to service

Using the cluster parameter, the servers of a service can be
defined using a monitor.

This change basically only introduces the parameter.
This commit is contained in:
Johan Wikman
2019-02-06 13:43:29 +02:00
parent 1073bc1832
commit f271c5cea1
6 changed files with 103 additions and 13 deletions

View File

@ -1030,6 +1030,20 @@ in the name section of a block with a type parameter of server (see below).
servers=server1,server2,server3
```
*NOTE* The `servers` parameter is mutually exclusive with the `cluster` parameter.
#### `cluster`
The servers the service uses are defined by the monitor specified as value
of this configuration parameter.
```
cluster=TheMonitor
```
*NOTE* The `clusters` parameter is mutually exclusive with the `servers` parameter.
#### `user`
The user parameter, along with the password parameter are used to define the