- Introduction & Download
- Server Monitoring
- Cloning DualShield
- Setting up Replication
- Configuring Alerts
- Handling Replication Errors
As a prerequisite you need to make sure that DualShield assistant has access to to the MySQL database on every node you wish to replicate.
To check this launch DualShield Assistant on the node(s) you wish to replicate. Go into the Replication menu and click on Monitoring Settings:
Under the 'MySQL Monitoring Account' section Enter the username and password that you can use to log in to your MySQL database:
Click on Test Connection. If successful, click on Save.
The Cluster Management section is used to create/modify a MySQL replication cluster. It can be accessed by selecting the replication menu option and clicking on Management.
Opening the Replication Management page will present you with an overview of the current detected cluster. Note. The local MySQL service needs to be running for the cluster to be detected correctly.
To create or modify a replication cluster, start by clicking the Add Server button. You will be presented with a dialog to input the new server's IP address and connect to the DualShield Assistant instance on that server. Once connected, you will see a confirmation message and can then add the server into the management list.
The server will be added to the list of servers only temporarily. Next you need to click the Modify Cluster button. This will bring up a new dialog window where you can start the replication cluster modification process and monitor the status of the operation. Click the Execute Changes button to start the cluster setup operation.
Once started, the servers will first be checked to make sure if DualShield is not running and MySQL is. If not, you will be alerted.
If the server check is successful, the replication operation will continue on and you can monitor the current progress in the Replication Cluster Setup dialog. MySQL needs to be restarted a few times during the procedure and the entire process can take anywhere from 1-5 minutes depending on the performance of the servers.
If any errors are encountered during the procedure, the process will halt and not continue. In this situation, the error and which server it occurred on will be displayed on the Replication Cluster Setup dialog. Additional Information can be found in the DualShield Assistant Log.txt file located in the root of the install directory (default: Program Files\Deepnet Security\DualShield Assistant). If successful, you will see the message "Cluster Setup Successful!".
If you head back to the monitoring home page, you will see the cluster monitoring diagram change to reflect the new configuration.
It is recommend you start each DualShield server on at time, waiting for full start up to finish in between servers.