You can configure back-to-origin settings to enable the origin redundancy feature for a port forwarding rule. This feature improves the disaster recovery (DR) capabilities of back-to-origin links for Anti-DDoS Pro and Anti-DDoS Premium.

Prerequisites

A port forwarding rule is created. For more information, see Manage forwarding rules.

Background information

Origin redundancy allows you to configure the IP addresses of both the primary and secondary origin servers. You can specify whether to forward back-to-origin requests to the primary origin server or secondary origin server at any time. This way, your Anti-DDoS Pro or Anti-DDoS Premium instance forwards service traffic to the origin server that you specified. If a back-to-origin link fails, you can quickly switch service traffic to the backup link to ensure normal service access.

Enable origin redundancy

  1. Log on to the Anti-DDoS Pro console.
  2. In the top navigation bar, select the region where your instance resides.
    • Anti-DDoS Pro: If your instance is an Anti-DDoS Pro instance, select Chinese Mainland.
    • Anti-DDoS Premium: If your instance is an Anti-DDoS Premium instance, select Outside Chinese Mainland.
    You can switch the region to configure and manage Anti-DDoS Pro or Anti-DDoS Premium instances. Make sure that you select the required region when you use Anti-DDoS Pro or Anti-DDoS Premium.
  3. In the left-side navigation pane, choose Provisioning > Port Config.
  4. On the page that appears, select the instance that you want to manage.
  5. Find the forwarding rule for which you want to enable origin redundancy and click Back to the origin settings in the Actions column. Back to the origin settings
  6. In the Back to the origin settings dialog box, turn on Redundant Mode to the Origin. Back to the origin settings
    1. In the Note message, click OK.
      When you enable origin redundancy, the current origin IP address of the forwarding rule is automatically used as the IP address of the primary origin server, and service traffic is forwarded to the primary origin server.
    2. Configure the IP addresses for the primary and secondary origin servers and select the origin server that you want to enable.
      You can configure a maximum of 20 IP addresses for each origin server. Separate multiple IP addresses with commas (,).
    3. Click OK.
    After you enable origin redundancy, the value of Origin Server IP that you specified for the forwarding rule is changed to the IP address of the origin server that you enabled. When the origin IP address of the forwarding rule is changed to the IP address of the origin server that you enabled, you can no longer modify the forwarding rule to change the origin IP address. Origin IP address

    If you want to switch between the origin servers, you need only to modify the back-to-origin settings of the forwarding rule to select the origin server that you want to enable.

Disable origin redundancy

If you no longer need origin redundancy, you can turn off Redundant Mode to the Origin in the Back to the origin settings dialog box. For more information, see Enable origin redundancy.
Note After you disable origin redundancy, the IP address of the origin server that you enabled is automatically used as the origin IP address of the forwarding rule. For example, if the secondary origin server is enabled and you disable origin redundancy, the IP address of the secondary origin server is automatically used as the origin IP address of the forwarding rule to forward service traffic.

After you disable origin redundancy, you can modify the forwarding rule to change the origin IP address of the forwarding rule. For more information, see Manage forwarding rules.