Patent ID: 9634889
Date: 2017-04-25
CPC Classifications: H04L

Claim:
1. A method for migrating a service of an active data center, comprising: in response to a message notifying that the active data center is faulty, a tunnel processing device disabling a locally-saved tunnel entry of a server in the active data center, wherein the tunnel entry of the server in the active data center comprises an IP address of a tunnel processing module deployed on the server in the active data center; receiving, by the tunnel processing device, a service access request packet from a customer edge router, wherein the service access request packet carries a destination IP address, and the destination IP address is an IP address of a first virtual machine deployed in the active data center; acquiring, by the tunnel processing device according to the IP address of the first virtual machine, an IP address of a tunnel processing module deployed on a server in a standby data center; encapsulating, by the tunnel processing device, the service access request packet, wherein an outer destination IP address of the encapsulated service access request packet is the IP address of the tunnel processing module of the server in the standby data center, and a second virtual machine corresponding to the IP address of the first virtual machine is deployed on the server in the standby data center; and sending, by the tunnel processing device, the encapsulated service access request packet to the customer edge router, so that the customer edge router sends the encapsulated service access request packet to the tunnel processing module of the server in the standby data center according to the outer destination IP address of the encapsulated service access request packet, to implement the migration of the service from the active data center to the standby data center.