Slide 26
Slide 26 text
Define the Galera Hostgroups
In this example, we define the following:
writer_hostgroup = 2 reader_hostgroup = 3
offline_hostgroup = 1 backup_writer_hostgroup = 4
max_writers = 1 writer_is_also_reader = 0
active = 1 max_transactions_behind = 100
ProxySQL Admin> INSERT INTO mysql_galera_hostgroups (writer_hostgroup,
backup_writer_hostgroup, reader_hostgroup, offline_hostgroup, active,
max_writers, writer_is_also_reader, max_transactions_behind)
VALUES (2, 4, 3, 1, 1, 1, 0, 100);