<?xml version="1.0" encoding="UTF-8"?>
<config>
    <node>
        <!-- master设置为1，slave设置为2 -->
        <serverId>2</serverId>
        <redoPath>redo_dir</redoPath>
        <redoKeepSegments>1024</redoKeepSegments>
        <vip>mdd_vip</vip>
        <enableStat>true</enableStat>
    </node>
    <!-- master服务配置 -->
    <master>
        <bindPort>9090</bindPort>
<!-- 同步slave节点ID -->
  <!--   <synSlavesID>2</synSlavesID>  -->
        <masterReplication>false</masterReplication>
        <enableWriteDisk>true</enableWriteDisk>
    </master>
    <!-- slave服务配置 -->
    <slave>
        <slaveReplication>true</slaveReplication>
        <host>host_ip</host>
        <port>9090</port>
        <backupPath>backup_dir</backupPath>
    </slave>
</config>

