Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
[maxscale]
threads=auto
admin_host=0.0.0.0
log_info=1
log_debug=1

[MaxAdmin]
type=service
router=cli

[MaxAdminUnixListener]
type=listener
service=MaxAdmin
protocol=maxscaled
socket=default

#Master
[server1]
type=server
address=10.0.128.5
port=3306
protocol=MariaDBBackend

#Slave
[server2]
type=server
address=10.0.128.6
port=3306
protocol=MariaDBBackend

[Replication-Monitor]
type=monitor
module=mariadbmon
servers=server1, server2
user=maxscale_admin
password=password
monitor_interval=3000ms

[Read-Write-Service]
type=service
router=readwritesplit
servers=server1, server2
user=dbamaxscale_admin
password=password

[Read-Write-Listener]
type=listener
service=Read-Write-Service
protocol=MariaDBClient
port=4006

...