Help Center/ Storage Disaster Recovery Service/ User Guide/ Appendixes/ Configuring Production Site Servers
Updated on 2024-12-19 GMT+08:00

Configuring Production Site Servers

Scenarios

Configure production site servers before you reprotect the protected instances on the console.

This operation is only required in 24.6.0 and an earlier version. In 24.9.0 and later versions, the disaster recovery gateway can be automatically configured.

Procedure

  1. Log in to a production site server.
  2. Run the following commands in sequence to configure the gateway for the proxy client on the production site server:

    1. Linux server:

      su - service -c "/opt/cloud/sdrs/hostagent/bin/agent_config.sh --drm-ip=drm ip --ha-ip=HostAgentIp"

    2. Windows server:

      Open the cmd window and run the following command:

      C:\cloud\sdrs\hostagent\bin\agent_config.bat --drm-ip=drm ip --ha-ip=HostAgentIp

      • drm ip: IP address of the primary NIC of the cloud disaster recovery gateway
      • HostAgentIp: IP address of the primary NIC of the current server
      • Ensure that the gateway configured for production site servers is the same as that of the protected instances.