Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

Commit

Permalink
change upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-ssd committed Mar 20, 2020
1 parent fe65014 commit e223bd6
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions maxscale.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ auth_read_timeout=10

[ReadWriteSplit-Service]
localhost_match_wildcard_host=1
passwd=$SERVICE_PWD
password=$SERVICE_PWD
router=readwritesplit
servers=db1,db2,db3
type=service
Expand All @@ -22,7 +22,7 @@ type=listener

[MasterOnly-Service]
localhost_match_wildcard_host=1
passwd=$SERVICE_PWD
password=$SERVICE_PWD
router_options=master
router=readconnroute
servers=db1,db2,db3
Expand All @@ -38,7 +38,7 @@ type=listener

[Galera-Monitor]
module=galeramon
passwd=$MONITOR_PWD
password=$MONITOR_PWD
servers=db1,db2,db3
type=monitor
use_priority=true
Expand All @@ -49,24 +49,14 @@ disable_master_failback=false
type=service
router=maxinfo
user=monitor
passwd=$SERVICE_PWD
password=$SERVICE_PWD

[MaxInfo-JSON-Listener]
type=listener
service=MaxInfo
protocol=HTTPD
port=8003

[CLI]
type=service
router=cli

[CLI-Listener]
type=listener
service=CLI
protocol=maxscaled
socket=default

[db1]
type=server
address=$DB1_ADDRESS
Expand All @@ -87,3 +77,15 @@ address=$DB3_ADDRESS
port=$DB3_PORT
protocol=MariaDBBackend
priority=$DB3_PRIO

# MaxAdmin Service
[MaxAdmin Service]
type=service
router=cli

# MaxAdmin listener
[MaxAdmin Listener]
type=listener
service=MaxAdmin Service
protocol=maxscaled
socket=default

0 comments on commit e223bd6

Please sign in to comment.