Updated on 2024-11-20 GMT+08:00

Introduction to MAS

Multi-Site High Availability Service (MAS) is part of Huawei's consumer solution for high availability of multi-active applications. It provides E2E service failover and disaster recovery (DR) drill capabilities from the traffic input and data to the application layer, for faster service recovery and better continuity.

Prerequisites

  1. You have signed up for a HUAWEI ID and enabled Huawei Cloud services.
  2. Your account has permission to use MAS. For details, see Creating a User and Assigning Permissions.

Procedure

MAS usage process

  1. Buy a module.

    On the MAS console, enable a function module on the Overview page by selecting an edition and features.

  2. Create a namespace.

    Create a namespace on the Namespace page of MAS to isolate resources for security.

  3. Buy a MAS instance.

    On the MAS console, buy MAS instances with different specifications to suit your needs. For example, you can select the Platinum edition if all of your services are deployed on Huawei Cloud.

  4. Check monitors for multi-active areas.

    Check the multi-active area statuses on the Basic Info page of the MAS instance.

  5. Create an application.

    Create one or multiple applications for the instance, and associate all instance resources with these applications.

  6. Create a monitor.
    If your MAS instance is deployed in an intra-city multi-active namespace, you can create monitors for it.
    • Create a MySQL/Oracle/PostgreSQL monitor.

      Go to an instance details page to create a monitor to monitor the service databases and switch traffic between data centers.

    • Create a Redis monitor.

      Go to an instance details page to create a monitor to monitor the service databases and switch traffic between data centers.

    • Create a MongoDB monitor.

      Go to an instance details page to create a monitor to monitor the service databases and switch traffic between data centers.

    • Create an Elasticsearch monitor.

      Go to an instance details page to create a monitor to monitor the service databases and switch traffic between data centers.

    • Create an API monitor.

      Go to an instance details page to create a monitor to monitor the API gateways of your services and handle gateway exceptions if any.

  7. Create a data source.

    On the Data Management > Data Sources page, create a data source and associate it with a namespace.

  8. Create a sync link.

    On the Data Management > Synchronization page, create a sync link and associate it with a namespace. The link is used to synchronize data between data sources of the same type.