Skip to content

Instantly share code, notes, and snippets.

@Geesu
Created January 16, 2017 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Geesu/949a9660a3068e9f48b2877ec395da06 to your computer and use it in GitHub Desktop.
Save Geesu/949a9660a3068e9f48b2877ec395da06 to your computer and use it in GitHub Desktop.
Production maxscale configuration
[maxscale]
threads=1
[server1]
type=server
address=ip.address
port=3306
protocol=MySQLBackend
[MySQL Monitor]
type=monitor
module=mysqlmon
servers=server1
user=maxscale
passwd=password
monitor_interval=10000
[MaxAdmin Service]
type=service
router=cli
[MaxAdmin Listener]
type=listener
service=MaxAdmin Service
protocol=maxscaled
socket=default
[replication-service]
type=service
router=binlogrouter
user=maxscale
passwd=password
router_options=server-id=1000,
binlogdir=/var/lib/maxscale/,
mariadb10-compatibility=1,
[avro-service]
type=service
router=avrorouter
source=replication-service
router_options=avrodir=/var/lib/maxscale/avro/,filestem=mysqld-bin
user=cdc_user
password=password
[replication-listener]
type=listener
service=replication-service
protocol=MySQLClient
port=3306
[avro-listener]
type=listener
service=avro-service
protocol=CDC
port=4001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment