ora.cvu is a new resource introduced with Grid Infrastructure 11.2.0.2. The purpose of this resource is to invoke clusterware health checks at regular intervals. It is a singleton resource with cardinality of 1 and invokes the cluster verification utility. It executes the following command in the background.
cluvfy comp health -_formatAttribute '_format' sets the format which is redirected to the log file of the ora.cvu
Logs:
C:\Users\inam>crsctl stat res ora.cvu -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cvu
1 ONLINE ONLINE or-11
-- Stopping cvu
C:\Users\inam>srvctl stop cvu
C:\Users\inam>srvctl status cvu
CVU is enabled but is not running
--Starting cvu
C:\Users\inam>srvctl start cvu
C:\Users\inam>srvctl status cvu
CVU is enabled and running on node or-11
-- enable/disable ora.cvu
C:\Users\inam>srvctl enable cvu
PRKO-2703 : CVU is already enabled
-- On Unix
$ crsctl stat res ora.cvu -p | grep ENABLED
ENABLED=1
C:\Users\inam>srvctl disable cvu
-- change execution frequency of ora.cvu
The frequency of ora.cvu execution can be changed by changing the value of the attribute "CHECK_INTERVAL"
C:\Users\inam>crsctl modify resource ora.cvu -attr CHECK_INTERVAL=21600
C:\Users\inam>crsctl stat res ora.cvu -p
NAME=ora.cvu
TYPE=ora.cvu.type
ACL=owner:nt authority\system:rwx,pgrp::r-x,other::r--
ACTION_FAILURE_TEMPLATE=
ACTION_SCRIPT=%CRS_HOME%\bin\cvures%CRS_SCRIPT_SUFFIX%
ACTIVE_PLACEMENT=1
AGENT_FILENAME=%CRS_HOME%\bin\scriptagent.exe
AUTO_START=restore
CARDINALITY=1
CHECK_INTERVAL=21600
CHECK_RESULTS=
CHECK_TIMEOUT=600
DEFAULT_TEMPLATE=
DEGREE=1
DESCRIPTION=Oracle CVU resource
ENABLED=0
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=
LOAD=1
LOGGING_LEVEL=1
NLS_LANG=
NOT_RESTARTING_TEMPLATE=
OFFLINE_CHECK_INTERVAL=0
PLACEMENT=balanced
PROFILE_CHANGE_TEMPLATE=
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
SERVER_POOLS=*
START_DEPENDENCIES=hard(ora.net1.network)
START_TIMEOUT=0
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=hard(ora.net1.network)
STOP_TIMEOUT=0
TYPE_VERSION=1.1
UPTIME_THRESHOLD=1h
USR_ORA_ENV=
VERSION=11.2.0.2.0
The logs related to ora.cvu are located under /log//cvu/.
There are two directories underneath: one for log file s(cvulog) and one for trace files (cvutrc).
Monitoring/Managing cvu:
-- status of the resource ora.cvu C:\Users\inam>crsctl stat res ora.cvu -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cvu
1 ONLINE ONLINE or-11
-- Stopping cvu
C:\Users\inam>srvctl stop cvu
C:\Users\inam>srvctl status cvu
CVU is enabled but is not running
--Starting cvu
C:\Users\inam>srvctl start cvu
C:\Users\inam>srvctl status cvu
CVU is enabled and running on node or-11
-- enable/disable ora.cvu
C:\Users\inam>srvctl enable cvu
PRKO-2703 : CVU is already enabled
-- On Unix
$ crsctl stat res ora.cvu -p | grep ENABLED
ENABLED=1
C:\Users\inam>srvctl disable cvu
-- change execution frequency of ora.cvu
The frequency of ora.cvu execution can be changed by changing the value of the attribute "CHECK_INTERVAL"
C:\Users\inam>crsctl modify resource ora.cvu -attr CHECK_INTERVAL=21600
C:\Users\inam>crsctl stat res ora.cvu -p
NAME=ora.cvu
TYPE=ora.cvu.type
ACL=owner:nt authority\system:rwx,pgrp::r-x,other::r--
ACTION_FAILURE_TEMPLATE=
ACTION_SCRIPT=%CRS_HOME%\bin\cvures%CRS_SCRIPT_SUFFIX%
ACTIVE_PLACEMENT=1
AGENT_FILENAME=%CRS_HOME%\bin\scriptagent.exe
AUTO_START=restore
CARDINALITY=1
CHECK_INTERVAL=21600
CHECK_RESULTS=
CHECK_TIMEOUT=600
DEFAULT_TEMPLATE=
DEGREE=1
DESCRIPTION=Oracle CVU resource
ENABLED=0
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=
LOAD=1
LOGGING_LEVEL=1
NLS_LANG=
NOT_RESTARTING_TEMPLATE=
OFFLINE_CHECK_INTERVAL=0
PLACEMENT=balanced
PROFILE_CHANGE_TEMPLATE=
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
SERVER_POOLS=*
START_DEPENDENCIES=hard(ora.net1.network)
START_TIMEOUT=0
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=hard(ora.net1.network)
STOP_TIMEOUT=0
TYPE_VERSION=1.1
UPTIME_THRESHOLD=1h
USR_ORA_ENV=
VERSION=11.2.0.2.0
1 comment:
nice information
Post a Comment