공부 이야기/ORACLE

[Oracle] RAC Failover 처리 과정

mind: 2024. 5. 3. 18:54

1. RAC 노드들은 public IP, private IP (Real IP, Virtual IP)를 가짐

2. Virtual IP를 가지는 이유는 Failover에 빠르게 대응하기 위함

3. Real IP를 이용하면 TCP Timeout 시간 동안 Failover를 진행할 수 없음(참고자료 확인)

- 이는 TCP/IP 설계와도 관련이 있고 네트워크의 ARP 프로토콜에서 기존에 처리하는 방식이기 때문임

- VIP는 네트워크 카드, OS에서 관리하는 것이 아닌 Grid Infrastructure > Oracle Notification Service에서 관리한다. 

4. Virtual IP를 이용해서 즉시 Failover를 진행함

5. 네트워크가 단절된 node의 Virtual IP를 살아있는 node의 Virtual IP에 추가로 등록을 해줌

6. 이에 따라 RAC는 단절된 노드의 Virtual IP로 통신하면 살아있는(IP가 이동된) node와 통신을 함

 

https://forums.oracle.com/ords/apexds/post/tcp-ip-timeout-problem-in-virtual-ip-2457

 

TCP/IP timeout problem in Virtual IP

Hi,Using virtual IP we can save our TCP/IP timeout problem because Oracle notification service (ONS) maintains communication between each nodes and listeners. Once ONS found any listener down or node ...

forums.oracle.com

 

https://www.peasland.net/2016/06/07/oracle-rac-vip-and-arp-primer/

 

Oracle RAC VIP and ARP Primer

I’ve been running across a number of questions about Virtual IP (VIP) addresses for Oracle RAC lately. I hope this blog post can help shed some light on what a VIP is, how they work, and why Oracle RAC leverages them. Before I go further, I should explai

www.peasland.net