A high-availability method for long-distance active-active network of oracle database
A database and long-distance technology, applied in transmission systems, electrical components, etc., can solve problems such as the inability to accurately detect link changes, and achieve the effects of providing reliability, ensuring continuity, and improving economic benefits
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] Such as Figure 1-3 As shown, a method for high availability of an Oracle database long-distance active-active network includes the following steps:
[0028] S1) periodically detect all links, if the time is reached, then start, otherwise continue to wait;
[0029] S2) enter the process of detection, and all detect the slaves in the two links; if all slaves have been detected, then enter step S6) operation, if there is no slave detection, then enter step S3);
[0030] S3) single link is detected; if current slave is the state of Down, then enter into step S4), if current slave is the state of Up, then enter into step S5);
[0031] S4) judge whether this link possesses the condition that switches from Down state to Up state; If receive arp message in 1 interval, then explain this link is normal, then can switch to Up state, or interval If no arp message has been received, but has entered the failed mode, the link status can also be switched to Up; otherwise, the link r...
Embodiment 2
[0040] A method for high availability of an Oracle database long-distance active-active network, comprising the following steps:
[0041]S1) periodically detect all links, if the time is reached, then start, otherwise continue to wait;
[0042] S2) enter the process of detection, and all detect the slaves in the two links; all slaves have been detected, and then enter step S6) operation;
[0043] S6) judge whether two links have received arp messages in 2 intervals; if yes, it means that both links have problems, and then enter step S7), if not, it means that there is at least one link is normal, then enter step S8);
[0044] S7) The current two links have problems, increase the failure count, and enter the failure mode when the failure count exceeds the predefined threshold 6 times. Step S7) After entering the failure mode, select one of the two links as the active link, and repeat step S4) or step S5).
[0045] S8) When any link is normal, exit the failure mode.
[0046]...
Embodiment 3
[0049] A method for high availability of an Oracle database long-distance active-active network, comprising the following steps:
[0050] S1) periodically detect all links, if the time is reached, then start, otherwise continue to wait;
[0051] S2) enter the detection process, and detect the slaves in the two links; there is no slave detection, and enter step S3);
[0052] S3) detects a single link; the current slave is in a Down state, and enters step S4);
[0053] S4) judge whether this link possesses the condition that switches from Down state to Up state; If receive arp message in 1 interval, then explain this link is normal, then can switch to Up state, or interval If no arp message has been received, but has entered the failed mode, the link status can also be switched to Up; otherwise, the link remains in the Down state;
[0054] S6) judge whether two links have received arp messages in 2 intervals; if yes, it means that both links have problems, and then enter step ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


