Help Center/ Direct Connect/ User Guide/ Appendixes/ Dual-Connection Switchover Test
Updated on 2024-10-11 GMT+08:00

Dual-Connection Switchover Test

Function

Dual-connection access ensures high SLA. To achieve this, dual-connection automatic switchover needs to be supported. Before O&M of dual-connection access, you can perform switchover tests on the console to verify connectivity and simplify the delivery process.

Application Scenarios

Perform the dual-connection switchover test before the connections are used for network connectivity.

Prerequisites

There are two connections, with each having a virtual interface associated.

Procedure

  1. Log in to the management console.
  2. On the console homepage, click in the upper left corner and select the desired region and project.
  3. Click to display Service List and choose Networking > Direct Connect.
  4. In the navigation pane on the left, choose Direct Connect > Virtual Interfaces.
  5. Enable the switchover test for the virtual interface associated with one connection, for example, connection 1 and check the connectivity between an ECS and the on-premises data center.
    1. On the Virtual Interfaces page, click the name of the target virtual interface.
    2. On the Switchover Test page of the virtual interface, click Switchover Test.
    3. In the Perform Switchover Test dialog box, enable the switchover test and click OK
      Figure 1 Enabling switchover test
    4. Refresh the page. On the Basic Information page of the virtual interface, ensure that its status is Disabled manually.
    5. Run the ping command on an ECS to verify the connectivity between the ECS and the on-premises data center. If a response packet is received, the switchover test is successful.
  6. Disable the switchover test for the virtual interface associated with connection 1 to restore access over dual connections.
    1. On the Switchover Test page of the virtual interface, click Switchover Test.
    2. In the Perform Switchover Test dialog box, disable the switchover test and click OK
      Figure 2 Disabling switchover test
    3. Refresh the page. On the Basic Information page of the virtual interface, ensure that its status is Normal.
    4. Run the ping command on the ECS to verify the connectivity between the ECS and the on-premises data center. If a response packet is received, the switchover test is successful.
  7. Repeat 5 and 6 to perform a switchover test on the virtual interface associated with connection 2.

In the switchover test record, if the operation type is displayed as Enable, the shutdown command is executed, and the virtual interface is disabled. If the operation type is displayed as Disable, the undo shutdown command is executed, and the virtual interface is enabled.