Which two commands will stop the Oracle High Availability Services (OHAS) and prevent it from starting automatically at system boot om the local node? (Choose two.)
A.
crsctl stop crs
B.
crsctl stop cluster
C.
crsctl disable crs
D.
crsctl config crs
crsctl stop crs will stop clusterware stack
crsctl stop cluster will stop OHAS
crsctl config will show configuration
Correct: A,C
Correct B,C
Source:
D81246GC10 Oracle Database 12c: Clusterware Administration 7-8
Correct A,C
Same source…
Correct: A,C.
crsctl stop cluster
Use the crsctl stop crs command to stop Oracle High Availability Services on the local server.
crsctl stop cluster
Use the crsctl stop cluster command on any node in the cluster to stop the Oracle Clusterware stack on all servers in the cluster or specific servers.
(For option B to be right, the command should be “crsctl stop cluster -n local-hostname”)
crsctl disable crs
Use the crsctl disable crs command to prevent the automatic startup of Oracle High Availability Services when the server boots.
crsctl config crs
Use the crsctl config crs command to display Oracle High Availability Services automatic startup configuration.
Reference:
https://docs.oracle.com/database/121/CWADD/crsref.htm#CWADD92238
A and B, C is not correct because the question is asking for a command that will stop and prevent it from starting up, and disable doesnt stop it.
I read it again, I would say A and C, true
AC
B wrong
crsctl stop cluster -won’t stop OHASD
D wrong
crsctl config crs -shows only config
A right
crsctl stop cluster
…
CRS-1433: Oracle High Availability Services has been stoped