Resfault trigger fails to execute gives error "VCS INFO V-16-6-15015"

book

Article ID: 100053545

calendar_today

Updated On:

Description

Error Message

VCS INFO V-16-6-15015 (server101) hatrigger:/opt/VRTSvcs/bin/triggers/oraIP/resfault is not a trigger scripts directory or can not be executed

Cause

If TriggerPath is not defined at resource level, VCS takes Group level triggerpath as TriggerPath/resource_name

It adds the resource name in the specified TriggerPath and it throws above error where it added oraIP resource name 

Resolution

We need to define the TriggerPath attribute at each resource level along with at SG level.

for example

group orasg (
        SystemList = { server101 = 0, server102 = 1 }
        AutoStartList = { server101, server102 }
        TriggerPath = "bin/triggers/oraIP/"                   >>custom trigger path
        TriggersEnabled = { RESFAULT }
        ProPCV = 1
        )

 

        IP oraIP (
                TriggerPath = "bin/triggers/oraIP/"                 >>custom trigger path
                Critical = 0
                Device = ens33
                NetMask = "xxx.xxx.xxx.0"
                Address = "xxx.xxx.xx.xxx"
                )