Move server creation into a mini-tutorial

Combined the redundant documentation into a single document.
This commit is contained in:
Markus Mäkelä
2018-03-13 21:37:55 +02:00
parent 36c960a141
commit bbe57a58cb
5 changed files with 46 additions and 56 deletions

View File

@ -2,33 +2,9 @@
This document describes how to configure a Galera cluster monitor. This document describes how to configure a Galera cluster monitor.
## Configuring the Servers
The first step is to define the servers that make up the cluster. These servers will be used by the services and are monitored by the monitor.
```
[dbserv1]
type=server
address=192.168.2.1
port=3306
protocol=MariaDBBackend
[dbserv2]
type=server
address=192.168.2.2
port=3306
protocol=MariaDBBackend
[dbserv3]
type=server
address=192.168.2.3
port=3306
protocol=MariaDBBackend
```
## Configuring the Monitor ## Configuring the Monitor
The next step is to define the monitor that monitors the servers. Define the monitor that monitors the servers.
``` ```
[Galera-Monitor] [Galera-Monitor]

View File

@ -1,34 +1,11 @@
# Configuring the MariaDB Monitor # Configuring the MariaDB Monitor
This document describes how to configure a MariaDB master-slave cluster monitor to be used with MaxScale. This document describes how to configure a MariaDB master-slave cluster monitor
to be used with MaxScale.
## Configuring the Servers
The first step is to define the servers that make up the cluster. These servers will be used by the services and are monitored by the monitor.
```
[dbserv1]
type=server
address=192.168.2.1
port=3306
protocol=MariaDBBackend
[dbserv2]
type=server
address=192.168.2.2
port=3306
protocol=MariaDBBackend
[dbserv3]
type=server
address=192.168.2.3
port=3306
protocol=MariaDBBackend
```
## Configuring the Monitor ## Configuring the Monitor
The next step is to define the monitor that monitors the servers. Define the monitor that monitors the servers.
``` ```
[Replication-Monitor] [Replication-Monitor]

View File

@ -0,0 +1,27 @@
# Configuring Servers
The first step is to define the servers that make up the cluster. These servers
will be used by the services and are monitored by the monitor.
```
[dbserv1]
type=server
address=192.168.2.1
port=3306
protocol=MariaDBBackend
[dbserv2]
type=server
address=192.168.2.2
port=3306
protocol=MariaDBBackend
[dbserv3]
type=server
address=192.168.2.3
port=3306
protocol=MariaDBBackend
```
The `address` and `port` parameters tell where the server is located. The
`protocol` should always be set to `MariaDBBackend`.

View File

@ -107,10 +107,15 @@ to bind to a particular network interface when the host machine has multiple
network interfaces. The default behavior is to listen on all network interfaces network interfaces. The default behavior is to listen on all network interfaces
(the IPv6 address `::`). (the IPv6 address `::`).
## Configuring Servers
Read the [Configuring Servers](Configuring-Servers.md) mini-tutorial to see how
the servers are configured.
## Configuring the Monitor and Servers ## Configuring the Monitor and Servers
The next step is the configuration of the monitor and the servers that the The next step is the configuration of the monitor. This depends on the type of
service uses. This depends on the type of cluster you use with MaxScale. cluster you use with MaxScale.
For master-slave clusters read the For master-slave clusters read the
[Configuring MariaDB Monitor](Configuring-MariaDB-Monitor.md) [Configuring MariaDB Monitor](Configuring-MariaDB-Monitor.md)

View File

@ -81,10 +81,15 @@ to bind to a particular network interface when the host machine has multiple
network interfaces. The default behavior is to listen on all network interfaces network interfaces. The default behavior is to listen on all network interfaces
(the IPv6 address `::`). (the IPv6 address `::`).
## Configuring the Monitor and Servers ## Configuring Servers
The next step is the configuration of the monitor and the servers that the Read the [Configuring Servers](Configuring-Servers.md) mini-tutorial to see how
service uses. This depends on the type of cluster you use with MaxScale. the servers are configured.
## Configuring the Monitor
The next step is the configuration of the monitor. This depends on the type of
cluster you use with MaxScale.
For master-slave clusters read the For master-slave clusters read the
[Configuring MariaDB Monitor](Configuring-MariaDB-Monitor.md) [Configuring MariaDB Monitor](Configuring-MariaDB-Monitor.md)