- What's New
- Function Overview
- Service Overview
- Billing
- Getting Started
-
User Guide
- Getting Started with MAS
- Modules
- Namespace
- Multi-Active Instances
- Application Management
- Monitor Management
- Credential Management
- Event Monitoring
- Audit Logs
- Permissions Management
-
FAQs
-
MAS FAQs
- Is MAS a Product or Solution?
- Does MAS Synchronize Data in Addition to Controlling Access from Applications to Databases?
- Is MAS Like a Management Channel for Which I Need to Configure Automatic Switchover Policies?
- What Is the Automatic Switchover Mechanism? How Does MAS Implement Switchovers in Seconds?
-
Multi-Active DR Solution FAQs
- In the Single- or Dual-Instance Data Layer Architecture (Same Region, Multi-AZ, Traffic Distribution with API Gateway), Which Components Are Provided by MAS and Which Ones Should I Prepare?
- Can I Implement the Active-Active Solution on Any Other Services in Addition to Self-Built Cloud Services?
- How Do I Implement Database Dual-Write?
- Does the Multi-Active Architecture Have Any Requirements on My Services?
- What Are the RPO and RTO of the Multi-Active DR Solution?
- Does the Multi-Active DR Solution Have Any Network Requirements? Will Incorrect Switchover Occur If the Network is Unstable or Jitters?
- How Do I Configure Monitoring for Multi-AZ Deployment in the Same Region?
- Will MAS and API Gateway Be Deployed on Both Huawei Cloud and Our Cloud?
- MAS Usage FAQs
-
MAS FAQs
- General Reference
Copied.
Data Source
Introduction
You can create data sources and sync links to synchronize data. The data source type can be MySQL, PostgreSQL, Redis, or openGauss.
Creating a Data Source
- Log in to the MAS console and go to the Data Sources page.
- Select a target namespace in the upper left corner.
- Click Create Data Source in the upper right corner.
- Configure the data source and click OK.
Figure 1 Creating a data source
Table 1 Data source parameters Parameter
Description
Deployment Mode
The active/standby area to which the data source belongs
Data Source Type
The type can be MySQL, PostgreSQL, Redis, or openGauss. If a target data source is unavailable, enable the corresponding feature by modifying the namespace. For details, see Modifying a Namespace.
Data Source
Keep the default name or customize one.
Description
Enter a description for the data source.
Mode
The connection mode
Connection Address
The address and port number for accessing the database. This is required if Mode is set to Custom.
Database Name
The name of the database. This is required if Mode is set to Custom.
Credential
The default credential set for the current multi-active area is used. This is displayed if Mode is not set to Custom.
Project
The default project set for the current multi-active area is used. This is displayed if Mode is not set to Custom.
Instances
Select an existing database instance. This is displayed if Mode is not set to Custom.
Username
The username for logging in to the database
Password
The password for logging in to the database
Confirm Password
Enter the password again.
NOTE:
If you need to create sync links for MySQL or PostgreSQL data sources, ensure that at least one of your data sources is using RDS, that is, its Mode is set to RDS.
Deleting a Data Source
- Log in to the MAS console, go to the Data Sources page, and click Delete in the row that contains a target data source.
- Click OK to delete the data source.
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