This document gives an overview of configuration files of DM (Data Migration).
inventory.ini: The configuration file of deploying DM using DM-Ansible. You need to edit it based on your machine topology. For details, see Edit the
inventory.inifile to orchestrate the DM cluster.
dm-master.toml: The configuration file of running the DM-master process, including the topology information of the DM cluster and the corresponding relationship between the MySQL instance and DM-worker (must be one-to-one relationship). When you use DM-Ansible to deploy DM,
dm-master.tomlis generated automatically.
dm-worker.toml: The configuration file of running the DM-worker process, including the configuration information of upstream MySQL instance. When you use DM-Ansible to deploy DM,
dm-worker.tomlis generated automatically.
When you use DM-Ansible to deploy DM, you can find the following task configuration file template in
task.yaml.exmaple: The standard configuration file of the data synchronization task (a specific task corresponds to a
task.yaml). For the introduction of the configuration file, see Task Configuration File.
You can perform the following steps to create a data synchronization task based on
This section shows description of some important concepts.
||Specifies a MySQL/MariaDB instance (if you deploy DM using DM-ansible,
|DM-worker ID||Specifies a DM-worker (from the
Note: You must keep
mysql-instanceand DM-worker at a one-to-one relationship.
What’s on this page