From bc65ceeac60ffda20cd920b98056cbb80b571491 Mon Sep 17 00:00:00 2001 From: Valentin Rakush Date: Mon, 17 Feb 2020 09:55:26 +0000 Subject: [PATCH] added configuration data from web interface plugin testing --- Makefile | 2 +- src/proxysql.cfg | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9a485a79f..2a7ec040a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ EXTRALINK=#-pg ALL_DEBUG=-ggdb -DDEBUG NO_DEBUG= DEBUG=${ALL_DEBUG} -#export DEBUG +export DEBUG #export OPTZ #export EXTRALINK export MAKE diff --git a/src/proxysql.cfg b/src/proxysql.cfg index d210cc56e..d947189bd 100644 --- a/src/proxysql.cfg +++ b/src/proxysql.cfg @@ -94,6 +94,51 @@ mysql_replication_hostgroups= } ) +mysql_galera_hostgroups= +( + { + writer_hostgroup=10 + backup_writer_hostgroup=20 + reader_hostgroup=30 + offline_hostgroup=40 + active=0 + max_writers=3 + writer_is_also_readder=0 + max_transactions_behind=10 + comment="comment aws 1" + }, + { + writer_hostgroup=110 + backup_writer_hostgroup=120 + reader_hostgroup=130 + offline_hostgroup=140 + active=0 + max_writers=3 + writer_is_also_readder=0 + max_transactions_behind=10 + comment="comment aws 2" + } +) + +mysql_aws_aurora_hostgroups= +( + { + writer_hostgroup=10 + reader_hostgroup=20 + active=0 + aurora_port=3306 + domain_name=".aws1.com" + max_lag_ms=30000 + check_interval_ms=6000 + check_timeout_ms=700 + writer_is_also_readder=0 + new_reader_weight=100 + add_lag_ms=100 + min_lag_ms=200 + lag_num_checks=10 + comment="comment aws 1" + } +) mysql_group_replication_hostgroups= (