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

Batch Uninstalling Proxy Clients

Prerequisites

  • The disaster recovery gateway has been installed. For Linux clients, the gateway version must be 24.6.0 or later. For Windows clients, the gateway version must be 24.9.0 or later.
  • Proxy clients have been installed on target production site servers. For Linux clients, the client version must be 24.6.0 or later. For Windows clients, the client version must be 24.9.0 or later.

Procedure

In the following example, sdrs_xxxx_24.9.0.xxxx.tar.gz is the proxy client package (24.9.0) used for illustration.

  1. Log in to the gateway server and 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

    Parameter description:

    --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 uninstalling 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. Check the command output. If "uninstall SDRS successfully" is returned, the proxy client is successfully uninstalled from all production site servers.