oracle 12c rac如何禁用/恢复haip
环境:
OS:Centos 7
DB:18.0.0.0
----------------------------------------------------------------------禁用-------------------------------------------------------------------------------------------------------
1.停掉每个节点的crs
Run "crsctl stop crs" on all nodes to stop CRS stack.
2.关闭HAIP
On one node, run the following commands:
在一个节点上执行如下操作
$CRS_HOME/bin/crsctl start crs -excl -nocrs
$CRS_HOME/bin/crsctl stop res ora.asm -init
$CRS_HOME/bin/crsctl modify res ora.cluster_interconnect.haip -attr "ENABLED=0" -init
$CRS_HOME/bin/crsctl modify res ora.asm -attr "START_DEPENDENCIES='hard(ora.cssd,ora.ctssd)pullup(ora.cssd,ora.ctssd)weak(ora.drivers.acfs)',STOP_DEPENDENCIES='hard(intermediate:ora.cssd)'" -init
$CRS_HOME/bin/crsctl stop crs
3.重复步骤2 在其他的节点上进行操作
Repeat Step(2) on other nodes.
4.在每个机器上启动crs
Run "crsctl start crs" on all nodes to restart CRS stack
./crsctl status res ora.cluster_interconnect.haip
5.查看状态
[root@host01 bin]# ./crsctl status res -t -init
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
1 ONLINE ONLINE host01 STABLE
ora.cluster_interconnect.haip
1 ONLINE OFFLINE STABLE
ora.crf
1 ONLINE ONLINE host01 STABLE
ora.crsd
1 ONLINE ONLINE host01 STABLE
ora.cssd
1 ONLINE ONLINE host01 STABLE
ora.cssdmonitor
1 ONLINE ONLINE host01 STABLE
ora.ctssd
1 ONLINE ONLINE host01 OBSERVER,STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE host01 STABLE
ora.gipcd
1 ONLINE ONLINE host01 STABLE
ora.gpnpd
1 ONLINE ONLINE host01 STABLE
ora.mdnsd
1 ONLINE ONLINE host01 STABLE
ora.storage
1 ONLINE ONLINE host01 STABLE
--------------------------------------------------------------------------------
[root@host02 bin]# ./crsctl status res -t -init
--------------------------------------------------------------------------------
Name Target State Server State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
1 ONLINE ONLINE host02 Started,STABLE
ora.cluster_interconnect.haip
1 OFFLINE OFFLINE STABLE
ora.crf
1 ONLINE ONLINE host02 STABLE
ora.crsd
1 ONLINE ONLINE host02 STABLE
ora.cssd
1 ONLINE ONLINE host02 STABLE
ora.cssdmonitor
1 ONLINE ONLINE host02 STABLE
ora.ctssd
1 ONLINE ONLINE host02 OBSERVER,STABLE
ora.diskmon
1 OFFLINE OFFLINE STABLE
ora.evmd
1 ONLINE ONLINE host02 STABLE
ora.gipcd
1 ONLINE ONLINE host02 STABLE
ora.gpnpd
1 ONLINE ONLINE host02 STABLE
ora.mdnsd
1 ONLINE ONLINE host02 STABLE
ora.storage
1 ONLINE ONLINE host02 STABLE
--------------------------------------------------------------------------------
------------------------------------------------------恢复haip------------------------------------------------------------------
1.查看当前节点的设置状态
[root@host01 bin]# ./crsctl stat res ora.cluster_interconnect.haip -p -init | grep ENABLED
ENABLED=0
[root@host02 bin]# ./crsctl stat res ora.cluster_interconnect.haip -p -init | grep ENABLED
ENABLED=0
2.分别在两个节点上操作
[root@host02 bin]#cd /u01/app/grid/product/12.2.0/bin
[root@host02 bin]#./crsctl modify res ora.cluster_interconnect.haip -attr "ENABLED=1" -init
3.重启动crs
分别在两个节点上进行操心
./crsctl stop crs
./crsctl start crs
-- The End --
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?