Batch Upgrading 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.
- Before upgrading the proxy client on a Linux server, run getenforce to check the SELinux mode. If the mode is Enforcing, change it to Disabled or Permissive. After the upgrade is complete, restore the SELinux setting.
Notes and constraints
Batch upgrading proxy clients on both Windows and Linux servers using one command is currently not supported.
Procedure
In the following example, sdrs_xxxx_24.9.0.xxxx.tar.gz is the proxy client package (24.9.0) used for illustration.
- Obtain the proxy client package sdrs_xxxx_24.9.0.xxxx.tar.gz from the gateway server.
- 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
Parameter description:
--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_xxxx_24.9.0.xxxx.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 (The time required for upgrading a proxy client. Use 300 for the client on a Windows server.)
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_xxxx_24.9.0.xxxx.tar.gz --timeout=600
- Enter y to continue the upgrade if the confirmation information is displayed.
- Check the command output. If "upgrade SDRS successfully" is returned, the proxy client is successfully upgraded on all production site servers.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot