關於 rac vip fail back
今天在測試rac 11g時發現vip不能自己飄過來,於是查了下些資料,做如下整理:
10.2.0.1 / 10.2.0.2: There is not permanent network monitoring, so it is not possible knowing when the public interface is back again, therefore we need to do a manual fail back
More in detail, it was the instance ( every 10 minutes ) the one who tries to move the VIP back to the preferred node (original node) doing this:
Stop the VIP
Start up the VIP on the original node
So in case the network wasn't fully available this operation will fail causing a new fail-over
During this time there's no service and one instance should exists at least in the node to perform the check
You may have noticed this new resource:
This resource monitors the network constantly, so its not the instance anymore
In case the network fails, there's a new feature called "offline resource monitoring", so it keeps pinging every 60 seconds ( default ) the network to check if its back again
10.2.0.1 / 10.2.0.2: There is not permanent network monitoring, so it is not possible knowing when the public interface is back again, therefore we need to do a manual fail back
crs_relocate10.2.0.3: The VIP automatically fails back when the network is up again, however the implementation wasn't totally fine and there are some side-effects introduced.
More in detail, it was the instance ( every 10 minutes ) the one who tries to move the VIP back to the preferred node (original node) doing this:
Stop the VIP
Start up the VIP on the original node
So in case the network wasn't fully available this operation will fail causing a new fail-over
During this time there's no service and one instance should exists at least in the node to perform the check
10.2.0.4: There's no VIP automatic fail back anymore, however it is possible to emulate the 10.2.0.3 behavior uncommenting the line
ORA_RACG_VIP_FAILBACK=1 && export ORA_RACG_VIP_FAILBACK Location: racgwrap script @ ORACLE_HOME11gR2 Starting with 11.2, the failover is made trough the monitoring of a newly introduced network resource.
You may have noticed this new resource:
crsctl status resource -t
ora.net1.network ONLINE ONLINE rac1 ONLINE ONLINE rac2
This resource monitors the network constantly, so its not the instance anymore
In case the network fails, there's a new feature called "offline resource monitoring", so it keeps pinging every 60 seconds ( default ) the network to check if its back again
crsctl stat type ora.network.type -p ATTRIBUTE=OFFLINE_CHECK_INTERVAL DEFAULT_VALUE=60Finally, it is also possible to disable this feature by setting the OFFLINE_CHECK_INTERVAL in the network resource to zero by doing this
crsctl modify type ora.network.type -attr "ATTRIBUTE=OFFLINE_CHECK_INTERVAL ,TYPE='int',DEFAULT_VALUE=0"Please note that is not supported to edit the ora.* resources
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22969361/viewspace-1126726/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- rac vip failback issueAI
- 【RAC】Oracle rac 如何修改公網及vipOracle
- Oracle RAC修改public, VIP, SCAN IPOracle
- RAC的VIP切換測試
- rac 新增第二public ip 和 vip
- 關於RAC的remote_listenerREM
- Oracle 12. 2 RAC public IP與vip 互換方法Oracle
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- 關於現代瀏覽器的 back-and-forward 快取機制瀏覽器Forward快取
- 【rac故障】root.sh報錯Unable to get VIP info for new node
- fail-fast和fail-safeAIAST
- 11g RAC 修改PUBLIC-IP、VIP、PRIV-IP、SCAN-IP
- 關於 Angular 應用對瀏覽器 Back 按鈕支援問題的討論Angular瀏覽器
- 關於 Safari back 按鈕在 iOS 16 不能按照期望工作的問題分析iOS
- 基於原始碼去理解Iterator迭代器的Fail-Fast與Fail-Safe機制原始碼AIAST
- history.back()
- Mergesort Strikes Back
- 回溯(Back Tracking)
- HAC叢集部署vip及相關操作
- Fail-Fast in JavaAIASTJava
- Fail - Fast機制AIAST
- 深入理解Java中的fail-fast和fail-safeJavaAIAST
- 【RAC】RAC搭建步驟Linux7.2+11G(基於Vmware+Openfile)Linux
- provider for back&restore app datyaIDERESTAPP
- Deep Learn I'm back.
- Oracle RAC DRM介紹和關閉DRMOracle
- VIP影片解析
- 020 透過連結串列學Rust之push_back和pop_back等Rust
- 020 通過連結串列學Rust之push_back和pop_back等Rust
- 談談fail-fast與fail-safe是什麼以及工作機制AIAST
- parameter hj8828vip installed Oracle h518vip onOracleH5
- Fail-fast 機制分析AIAST
- [Java基礎]Fail-FastJavaAIAST
- CppCon 2019 | Back to Basics: RAII and The Rule of ZeroAI
- keepalived(二)vip漂移
- 【ASK_ORACLE】Oracle 12.2 Bug導致網路卡出現故障後RAC庫未向TCP註冊本地VIP監聽OracleTCP
- 關於IT,關於技術
- python中fail函式如何使用PythonAI函式
- fail2ban 防止暴力破AI