VCS WARNING V-16-1-50034 while upgrading Oracle clusterware (referred to as CRS — formerly Cluster Ready Services)

book

Article ID: 100024627

calendar_today

Updated On:

Description

Error Message

VCS WARNING V-16-1-50034 No Resource dependencies are configured
 

Cause

CRS (cssd) is configured as single resource in its own service group (usually, cssd will be configured under cvm service group).

group sg_CSSD (
        SystemList = { dbp01p = 0, dbp02p = 1 }
        Frozen = 1
        AutoFailOver = 0
        Parallel = 1
        AutoStartList = { dbp01p, dbp02p }
        OnlineRetryLimit = 3
        )

        Application cssd (
                Critical = 0
                StartProgram = "/opt/VRTSvcs/rac/bin/cssd-online"
                StopProgram = "/opt/VRTSvcs/rac/bin/cssd-offline"
                CleanProgram = "/opt/VRTSvcs/rac/bin/cssd-clean"
                MonitorProgram = "/opt/VRTSvcs/rac/bin/cssd-monitor"
                OnlineRetryLimit = 20
                )

        requires group cvm online local firm
 

Resolution

 

 

-This WARNING message appears because of the way CRS (cssd) is configured. It’s in its own service group which has only 1 resource. Therefore there is no resource level dependency. However, our cssd application monitor script uses 'hares -dep' command assuming cssd will be configured under cvm service group and is dependent on cvm resources. The monitor script runs 'hares -dep' to check the status of the dependent resources. 

 

#hares -dep cssd
VCS WARNING V-16-1-50034 No Resource dependencies are configured.
 
Prior to re-installation of Oracle CRS, the CRS resource cssd was offlined.  However VCS still monitor the Offline resource once every 5 minutes.
 
OfflineMonitorInterval   
Duration (in seconds) between two consecutive monitor calls for an OFFLINE resource. If set to 0, OFFLINE resources are not monitored.
■ Type and dimension: integer-scalar
■ Default: 300 seconds
 
# cd /opt/VRTSvcs/rac/bin
# grep hares clsinfo (clsinfo is run by the monitor script which  check for dependency)
##  2. Groups on which CSSD's group directly depends is checked for
##     online, but indirect dependencies are not checked
##  3. Only "online local firm" group dependencies are checked.
        child_list=`$HAGRP -dep $group | $AWK '$1~/'$group'/ && $3~/online/ && $4~/local/ && $5~/firm/ { print $2}'`
        child_list=`$HARES -dep $res | $AWK '$2~/'$res'/ { print $3}'`

-Our script is not designed to have cssd resoruce alone in its own Service Group.
-Nothing wrong here because there are no parent or child resources so the WARNING message can be ignored.
 

 

Issue/Introduction

Customer was getting the "No Resource dependencies are configured" error while re-installing/upgrading CRS even after offlining the CRS (cssd) resource. # ./root102.sh
Creating pre-patch directory for saving pre-patch clusterware files
Completed patching clusterware files to /opt/crs
Relinking some shared libraries.
ar: writing /opt/crs/lib/libn10.a
ar: writing /opt/crs/lib32/libn10.a
ar: writing /opt/crs/lib/libn10.a
Relinking of patched files is complete.
Preparing to recopy patched init and RC scripts.
Recopying init and RC scripts.
Startup will be queued to init within 30 seconds.
VCS WARNING V-16-1-50034 No Resource dependencies are configured
Starting up the CRS daemons.
Waiting for the patched CRS daemons to start.
etc ...