Created
January 16, 2017 19:26
-
-
Save Geesu/949a9660a3068e9f48b2877ec395da06 to your computer and use it in GitHub Desktop.
Production maxscale configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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