fleet/tools/mysql-replica-testing
Lucas Manuel Rodriguez b7aac2cfab
Fix bundle_identifier for common software in osquery-perf (#19023)
bundle_identifier should be unique for the common software (should not
have hostname name in it).
2024-05-24 09:26:42 -03:00
..
docker-compose.yml Fix bundle_identifier for common software in osquery-perf (#19023) 2024-05-24 09:26:42 -03:00
README.md Add read replica testing helpers and fix non-sso login bug (#4908) 2022-04-04 16:52:05 -07:00

MySQL Replica Testing

This directory contains scripts to run/test a local Fleet instance with a MySQL Read Replica.

Run MySQL Main and Read Replica Docker Images

Run all commands from fleet's root repository directory.

docker-compose -f ./tools/mysql-replica-testing/docker-compose.yml up

Configure MySQL Main and Read Replica

# Configure the main and read replica for replication.
make db-replica-setup

# Reset the main database.
make db-replica-reset

Run Fleet with Read Replica

make db-replica-run