Updated on 2024-10-29 GMT+08:00

Upgrading a Disaster Recovery Gateway

Scenarios

When a new version of the cloud disaster recovery gateway is released, you need to upgrade the existing disaster recovery gateway deployed.

Procedure

In the following example, sdrs_xxxx_24.9.0.xxxx.tar.gz is the package (24.9.0) used to upgrade the gateway.

  1. Obtain the disaster recovery gateway package and upload it to a directory on the target ECS.

    • IDC-to-cloud: Click the link on the console to download the package and upload it to the ECS where you deployed the gateway.

    • Cross-region and Cross-AZ: Copy the command provided on the console, log in to the ECS where you deployed the gateway, go to the desired directory, and paste and run the command to obtain the package.

  2. In the directory containing the package, run the following command as user root to decompress the package:

    tar -zxvf sdrs_xxxx_24.9.0.xxxx.tar.gz

  3. Go to the directory containing the upgrade script.

    cd sdrs_xxxx_24.9.0.xxxx.tar.gz

  4. Upgrade the gateway.

    sh upgrade.sh

    If the command output contains the following information, the gateway has been upgraded:
    ...
    Upgrade SDRS successfully.