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

Batch Uninstalling 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. Run the following command as user root to uninstall proxy clients in batches:

    /opt/cloud/sdrs/sidecar/script/cmd_tools.sh uninstall --ip=ip_list --timeout=cmd_timeout_in_s

    Command parameters are described as follows:

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

    --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 uninstall --ip=192.168.0.6,192.168.0.188,192.168.0.204 --timeout=600

  2. Enter y to continue the uninstallation if the confirmation information is displayed.
  3. If "uninstall SDRS successfully" is returned in the command output, the proxy client is successfully uninstalled from all production site servers.