Start pre-installed Mysql, ZooKeeper, manager.
1 in the manager interface, add the Node? , As shown below:
Machine Management - "Node management
figure, click the Add button to add content refer to the following chart:
?
? After the addition is completed, added according to the node number, the figure below, 192.168.85.10 corresponding number is 1, then enters machine 10 under the directory node performs echo 1> conf / nid, then start node.
?
2 Add Zookeeper:
? Machine Management - "Zookeeper Management
?
As shown, clicking the Add button to add the content with reference to the following diagram:
?
3 Data source configuration:
Configuration Management - "data source configuration, click the Add button
? Data source configuration information to fill two databases need to be synchronized?
? Add the content as shown below after the addition was complete, the data source connection click Verify
Table 4 Configuration Data:
Configuration Management - "Data table configuration, click the Add button.
? Data table configuration information table to be synchronized?
Add the name of the database, the name of the data table and data source name, and click Verify Connection Table
?
If you need to synchronize the entire database, the database table to. "*" Instead.
?
5 canal configuration:
? Configuration Management - "canal configuration, click the Add button.
?
canal need to add two, one for each database information from the configuration database, pull bin-log information.
?
6 Synchronization Manager:
1) Adding channel
?
Click the Add button
?
2) need to configure the pipeline under the channel, click the channel's name, you can add pipeline
? 3) is added after the completion of pipeline, click on the name of the pipeline, adding mapping relationship mapping between configuration synchronization of original and destination tables.
? 4) After configuration, start channel.
Note that, if a dual-channel configuration, that is, double room double write, you need to click Use document - "database initialization page.
? While performing initialization in SQL database (need to synchronize data in the database, rather than its own database manager) double room.
?
5) After starting, double room respective tables respectively inserted, updated, or other operations to verify the synchronization results bis room ~