Solution Overview
Scenarios
This solution is developed based on Master High Availability (MHA) and helps you deploy highly available MySQL clusters on Huawei Cloud cloud servers. MHA is a mature and open source MySQL HA program that provides heartbeat detection, primary/standby replication, failover, and alert email sending. It is suitable for enterprises that require high availability, data integrity, and almost uninterrupted maintenance of primary servers.
Architecture
This solution will:
- Create three FlexusX instances, add them to the same FlexusX group, configure an anti-affinity policy, deploy them across AZs, and install the MHA and MySQL software on each FlexusX instance.
- Create a virtual IP address (VIP) for primary/standby switchover of the MySQL databases.
- Assign three EIPs for Internet access and alarm notifications in case of any faults.
- Create a security group to secure the FlexusX instance environment by controlling access to FlexusX instances.
Advantages
- Lower cost
MHA is composed of MHA Manager and MHA Node. MHA Manager is installed on one of the cloud servers where the standby databases are deployed. No additional cloud server is required.
- Easy deployment
Resources can be quickly provisioned and a highly available MySQL cluster can be easily created.
Constraints
- Before deploying this solution, ensure that you have created a Huawei ID with access to the target region and enabled Huawei Cloud services.
- If you select the yearly/monthly billing mode, ensure that your account has sufficient balance. If you do not have sufficient balance, you can go to the Billing Center to manually pay for the order.
- Ensure that you have an email account for sending emails over SMTP.
- Currently, FlexusX instances can be deployed only in the AP-Bangkok region.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot