subject part
stay Oracle in , How to disable HAIP?
Answer section
Use root The user executes the following command .
1、 Stop all nodes from CRS
1crsctl stop crs
2、 Execute the following commands in each node in turn ( node 1 After the execution is completed, the node 2 perform )
1crsctl start crs -excl -nocrs 2crsctl stop res ora.asm -init 3crsctl modify res ora.cluster_interconnect.haip -attr "ENABLED=0" -init 4crsctl 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 5crsctl stop crs
explain ,ora.cluster_interconnect.haip Of ENABLED The original value of the property is 1:
1ENABLED=1
ora.asm Resources START_DEPENDENCIES and STOP_DEPENDENCIES The original value of is :
1START_DEPENDENCIES=hard(ora.cssd,ora.ctssd)pullup(ora.cssd,ora.ctssd)weak(ora.cluster_interconnect.haip,ora.drivers.acfs) 2STOP_DEPENDENCIES=hard(intermediate:ora.cssd,shutdown:ora.cluster_interconnect.haip)
3、 Start at each node in turn CRS
1crsctl start crs
4、 Check HAIP Whether to disable
1crsctl stat res -t -init
if ora.cluster_interconnect.haip by offline Is disabled . Then execute the following command :
1ifconfig -a or ip a |grep 169.254
See if there’s any more 169.254 The address at the beginning , If not , Then it indicates that it has been disabled successfully .
Here’s the command to view the property values of a resource :
1[root@rac2 ~]# crsctl stat res ora.cluster_interconnect.haip -p -init | grep ENABLED 2ENABLED=0 3[root@rac2 ~]# crsctl stat res ora.asm -p -init | grep START_DEPENDENCIES 4START_DEPENDENCIES=hard(ora.cssd,ora.ctssd)pullup(ora.cssd,ora.ctssd)weak(ora.drivers.acfs) 5[root@rac2 ~]# 6[root@rac2 ~]# crsctl stat res ora.asm -p -init | grep STOP_DEPENDENCIES 7STOP_DEPENDENCIES=hard(intermediate:ora.cssd)
If enabled HAIP, The process is the same as the disabled process , The main modification commands are as follows :
1crsctl modify res ora.cluster_interconnect.haip -attr "ENABLED=1" -init 2crsctl modify res ora.asm -attr "START_DEPENDENCIES='hard(ora.cssd,ora.ctssd)pullup(ora.cssd,ora.ctssd)weak(ora.cluster_interconnect.haip,ora.drivers.acfs)',STOP_DEPENDENCIES='hard(intermediate:ora.cssd,shutdown:ora.cluster_interconnect.haip)'" -init