You can change the vSwitch to which an ApsaraDB MyBase for SQL Server instance is connected to another vSwitch based on your business requirements.

Impacts

  • When you change the vSwitch to which your ApsaraDB MyBase for SQL Server is connected, a transient connection that lasts approximately 30 seconds occurs. Make sure that your application is configured to automatically reconnect to your ApsaraDB MyBase for SQL Server instance.
  • After the vSwitch is changed, the virtual IP address (VIP) of the instance is changed. We recommend that you connect your application to your ApsaraDB MyBase for SQL Server instance by using an endpoint. For more information, see View the private and public endpoints and the port numbers of an ApsaraDB MyBase for SQL Server instance.
  • The VIP change operation interrupts the connection between your ApsaraDB MyBase for SQL Server instance and Data Management (DMS), and the connection between your ApsaraDB MyBase for SQL Server instance and Data Transmission Service (DTS) for a short period of time. After your instance is connected to the new vSwitch and the VIP of the instance is changed, the connections are automatically resumed.
  • After your instance is connected to the new vSwitch, you can only read data from the instance. You cannot write data to the instance due to the data that is cached on your database client. In this case, we recommend that you immediately clear the cache on your database client.

Procedure

  1. Log on to the ApsaraDB MyBase console.
  2. In the upper-left corner of the page, select a region.
  3. In the left-side navigation pane, choose Instances > SQL Server.
  4. Find the instance that you want to manage and click Details in the Actions column.
  5. In the left-side navigation pane, click Database Connection.
  6. In the Database Connection section, click Switch VSwitch.
  7. In the dialog box that appears, select a vSwitch and click OK.
    Select a vSwitch
  8. In the message that appears, click OK.