Move server creation into a mini-tutorial
Combined the redundant documentation into a single document.
This commit is contained in:
parent
36c960a141
commit
bbe57a58cb
@ -2,33 +2,9 @@
|
||||
|
||||
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
|
||||
|
||||
The next step is to define the monitor that monitors the servers.
|
||||
Define the monitor that monitors the servers.
|
||||
|
||||
```
|
||||
[Galera-Monitor]
|
||||
|
@ -1,34 +1,11 @@
|
||||
# Configuring the MariaDB Monitor
|
||||
|
||||
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
|
||||
```
|
||||
This document describes how to configure a MariaDB master-slave cluster monitor
|
||||
to be used with MaxScale.
|
||||
|
||||
## Configuring the Monitor
|
||||
|
||||
The next step is to define the monitor that monitors the servers.
|
||||
Define the monitor that monitors the servers.
|
||||
|
||||
```
|
||||
[Replication-Monitor]
|
||||
|
27
Documentation/Tutorials/Configuring-Servers.md
Normal file
27
Documentation/Tutorials/Configuring-Servers.md
Normal 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`.
|
@ -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
|
||||
(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
|
||||
|
||||
The next step is the configuration of the monitor and the servers that the
|
||||
service uses. This depends on the type of cluster you use with MaxScale.
|
||||
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
|
||||
[Configuring MariaDB Monitor](Configuring-MariaDB-Monitor.md)
|
||||
|
@ -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
|
||||
(the IPv6 address `::`).
|
||||
|
||||
## Configuring the Monitor and Servers
|
||||
## Configuring Servers
|
||||
|
||||
The next step is the configuration of the monitor and the servers that the
|
||||
service uses. This depends on the type of cluster you use with MaxScale.
|
||||
Read the [Configuring Servers](Configuring-Servers.md) mini-tutorial to see how
|
||||
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
|
||||
[Configuring MariaDB Monitor](Configuring-MariaDB-Monitor.md)
|
||||
|
Loading…
x
Reference in New Issue
Block a user