Which command will set full debugging for the communications and resource management components; of the CRS module on nodes host01 and host03?

Which command will set full debugging for the communications and resource management
components; of the CRS module on nodes host01 and host03?

Which command will set full debugging for the communications and resource management
components; of the CRS module on nodes host01 and host03?

A.
srvctl set log -m CRS -C CRSCTI 5, CRSCOMM 5 -n host0l,host03

B.
ocrconfig set log CRS “CRSRTI,CRSCOMM:5 ” -nodelist host01,host03

C.
crsctl set log CRS “CRSRTI:5,CRSCOMM:5” -nodelist host0l,host03

D.
crsctl lsmodules crs set log CRSRTI:5,CRSCOMM:5 -nodelist host0l, host03

Explanation:
crsctl set log
Use the crsctl set log command to set log levels for Oracle Clusterware.
You can enable debugging for Oracle Clusterware modules and their components, and for
resources, by setting environment variables or by running crsctl set log commands, using the
following syntax:
Syntax
crsctl set {log | trace} module_name “component:debugging_level
[,component:debugging_level][,…]”
Usage Notes
You can set log levels for various components of the three modules, CRS, CSS, and EVM. If you
choose the all option, then you can set log levels for all components of one module with one
command. Use the crsctl lsmodules command to obtain a list of components for each module.
Enter a comma-delimited list of component name-log level pairs enclosed in double quotation
marks (“”).
The log_level is a number from 1 to 5 that sets the log level for the component or resource, where
1 is the least amount of log output and 5 provides the most detailed log output. The default log
level is 2.
To set log levels for resources, specify the name of a particular resource, or a comma-delimited
list of resource name-log level pairs enclosed in double quotation marks (“”).
To set debugging levels on specific cluster nodes, include the -nodelist keyword and the names of

the nodes, as follows:
crsctl set log crs “CRSRTI:1,CRSCOMM:2” -nodelist node1,node2
Oracle Clusterware Administration and Deployment Guide



Leave a Reply 1

Your email address will not be published. Required fields are marked *


L. Zhu

L. Zhu

A is wrong. syntax error crsctl set log, not srvctl
B is wrong. not ocrconfig
C is right. crsctl set log crs
D is wrong. syntax error

So C is correct