Graphical enable mirroring

Notes!
It must be done on the premise that the database deployment is completed and the mirror is not enabled.

1 Enable the mirror portal

Log in to the UI and open the Cluster Management page. Click the "Operation" button in the upper right corner of the page, select "Enable Mirroring" to enter the homepage of Enable Mirroring. 01

Notes!
The Start Mirror button does not display when the cluster already has a mirror instance.

2 Perform Enable Mirroring

2.1 Home

After carefully reading the text instructions, confirming that you want to continue to enable mirroring, click "I know", then click the "Enable Mirror" button to start entering the mirroring process. 02

2.2 Information Collection Page

Displays the topological information of the current physical machine cluster, including blank machines. A blank machine refers to a machine added when installing and deploying a database, but does not allocate a data node instance. After confirming that, click "Next". 03

2.3 Distribution preview page

Shows the mirror node topology graph of the default schedule distribution. 04

2.4 Distribution Preview Page-Custom Mirror Distribution

Click "Advanced Operations" to select the "Custom Mirror" distribution to display the mirror node configuration file of the current default distribution. 05 The configuration file is in CSV format, with a total of four columns, namely the Content ID, host name, port number and data directory of the mirror node. 06 Modify the configuration, click the "OK" button, regenerate the plan, and preview the mirror distribution topology map of the custom configuration. 07 08

2.5 Execution Plan Page

After adjusting the image distribution, click the "Execute" button to start executing the currently added image plan. 09 10 Execution of the plan may take a long time, and you can leave the Add Mirror page to use other functions. During departure, an execution progress banner appears at the top of the page. Click "Details" to return to the Add Mirror Execution page. 11 12 After the addition image is successfully executed, click the "Finish" button to end adding the image. 13

3 View the mirroring results

Open the "Cluster Management" page and select "Instance View" to see the newly added mirror node topology map in the cluster topology. 14

If you need to use the mxaddmirrors tool to start the mirror, you can refer to [Tool Guide] (/doc/latest/tools/mxaddmirrors) for operation.