Updated on 2024-07-30 GMT+08:00

Batch Upgrading Proxy Clients

Prerequisites

  • The disaster recovery gateway of 24.6.0 or later has been installed.
  • Proxy clients have been installed on target production site servers, and the proxy client version is 24.6.0 or later. All production site servers run Linux.

Procedure

In the following example, sdrs_linux_amd64_24.6.0.20240627203949.tar.gz is the proxy client package (24.6.0) used for illustration.

  1. Obtain the proxy client package sdrs_linux_amd64_24.6.0.20240627203949.tar.gz from the gateway server.
  2. Run the following command as user root to upgrade proxy clients in batches:

    /opt/cloud/sdrs/sidecar/script/cmd_tools.sh upgrade --ip=ip_list --package=package_path --timeout=cmd_timeout_in_s

    Command parameters are described as follows:

    --ip: The private IP addresses of the production site servers you want to upgrade proxy clients. Separate multiple IP addresses with commas (,).

    --package: The path of the Linux installation package sdrs_linux_amd64_24.6.0.20240627203949.tar.gz.

    --timeout: The command timeout interval, in seconds. The default value is 300. You are advised to set the timeout interval based on the number of production site servers. The formula is as follows: Number of production site servers x 200 (time required for upgrading a proxy client)

    A complete example command is as follows:

    /opt/cloud/sdrs/sidecar/script/cmd_tools.sh upgrade --ip=192.168.0.6,192.168.0.188,192.168.0.204 --package=sdrs_linux_amd64_24.6.0.20240627203949.tar.gz --timeout=600

  3. Enter y to continue the upgrade if the confirmation information is displayed.
  4. If "upgrade SDRS successfully" is returned in the command output, the proxy client is successfully upgraded on all production site servers.