All Products
Search
Document Center

Data Management:Create a high-availability cluster for multiple Database Gateway agents

Last Updated:Jan 05, 2024

This topic describes how to create a high-availability cluster for multiple Database Gateway agents.

Background information

Database Gateway allows you to deploy multiple Database Gateway agents on different servers in an environment that is not provided by Alibaba Cloud to form a high-availability cluster. This can improve link reliability. When a Database Gateway agent becomes unavailable, the Database Gateway server automatically switches the links from the faulty agent to another available agent, ensuring high availability.

image

Prerequisites

The Database Gateway service is activated and at least one Database Gateway agent is started. For more information, see Create a database gateway.

Procedure

  1. Log on to the DMS console V5.0.
  2. In the top navigation bar, click Solution. In the left-side navigation pane, click Database gateway.

    Note

    If you use the DMS console in simple mode, move the pointer over the 2022-10-21_15-25-22.png icon in the upper-left corner of the DMS console and choose All functions > Solution > Database gateway.

  3. On the Gateway List page, find the database gateway for which you want to add a Database Gateway agent to ensure high availability. (A Database Gateway agent is also known as a gateway node.) Then, click Detail in the Operation column.

  4. On the Gateway details page, click Add gateway node.

  5. Add a Database Gateway agent. Select an installation method based on your operating system. If you use a Windows operating system, click Download gateway. If you use other operating systems, copy and paste the command to the machine on which you want to add the Database Gateway agent, and press Enter to run the command.

    Note

    Each deployment command can start only one agent. If you need to start multiple agents, you can click refresh to update the deployment link.

  6. On the Gateway details page, view the information about the added Database Gateway agent.