A method, device and system for active/standby switching
A technology of active-standby switching and active server, applied in the field of devices and systems, and active-standby switching methods, to achieve the effect of reducing system costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] see figure 2 , figure 2 It is a flow chart of an active / standby switchover method provided by Embodiment 1 of the present invention. Such as figure 2 As shown, the method may include:
[0028] 201: Monitor whether the primary server is abnormal;
[0029] For example, monitoring whether the active server is abnormal may include but not limited to the following methods:
[0030] A1. Monitoring whether the message sent by the active server for indicating that the active server is abnormal is received, so as to determine whether the active server is abnormal.
[0031] B1. Monitoring whether the heartbeat status data of the active server is received within a predetermined time, so as to determine whether the active server is abnormal.
[0032] 202: When an exception occurs on the active server, load the policy data used by the active server to process business to the standby server;
[0033] For example, loading the policy data used by the active server for business...
Embodiment 2
[0045] see image 3 , image 3 It is a flow chart of an active / standby switchover method provided by Embodiment 2 of the present invention. Such as image 3 As shown, the method may include:
[0046] 301: Monitor whether the active server is abnormal, if yes, execute 302; if not, execute 305;
[0047] For example, monitoring whether the active server is abnormal can include:
[0048] Monitor whether the message sent by the active server to indicate that the active server is abnormal;
[0049] Alternatively, it is monitored whether the heartbeat status data of the active server is received within a predetermined time, so as to determine whether the active server is abnormal.
[0050] For example, the active server can send its own exception message after receiving the switching message triggered by manual mode; or, the active server can detect that a certain resource of its own has hanged abnormally and cannot recover , the active service can send a message indicating its...
Embodiment 3
[0063] see Figure 4 , Figure 4 It is a flow chart of an active / standby switchover method provided by Embodiment 3 of the present invention. Such as Figure 4 As shown, the method may include:
[0064] 401: Monitor whether the primary server is abnormal, if yes, execute 402; if not, execute 404;
[0065] For example, when the primary server hangs due to a sudden power failure, the primary server will stop all work and release its own floating IP address. At this time, it can be determined that the active server is abnormal by judging that the heartbeat status data of the active server has not been received within a predetermined time.
[0066] 402: instructing the standby server to obtain and load the policy data of the abnormal primary server used to process business from the business management server;
[0067] For example, the policy data used by the active server for processing services may include but not limited to QoS policy data and routing policy data of the act...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 