cd ./docker-compose/replicator_testing/bin
-
./run_all
-
./init_hbase_namespaces
-
./attach_to_replicator
-
cd /replicator
-
./00_setup
-
./01_seed_mysql
-
./02_run_016
-
-
monitor in browser at http://localhost/dashboard/
mysql is provided with custom my.cnf, so binlogs have been activated:
volume => "./my.cnf:/etc/mysql/conf.d/my.cnf:ro"
databases in mysql have been precreated by the mysql-init-dbs.sh script:
volume => ./my.cnf:/etc/mysql/conf.d/my.cnf:ro
replicator.conf:
=> available at /replicator/replicator-conf-v016.yaml
log4j.properties:
=> available at /replicator/log4j.properties
mysql-client and perl are available
mysql container is visible under the hostname 'mysql':
mysql --host=mysql --user=root --password=mysqlPass
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| sys |
| test |
| test_active_schema |
+--------------------+
6 rows in set (0.00 sec)
Access dashboard from host at http://localhost/dashboard/
Should just be there and work.