12c Cloud Control: OS Command Notification Script is Being Executed Only on One of the OMS Nodes in a Multi-OMS setup (Doc ID 1514173.1)

Last updated on AUGUST 06, 2014

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.
Checked for relevance on 06-Aug-2014

Symptoms

Using a 2-OMS setup:
Server OMSA is the primary OMS where Adminserver is configured as well.
Server OMSB is the additional OMS.

'OS Command' notification method has been configured to execute a script named 12c_oem_notify.ksh and an incident rule has been configured to invoke this notification method when certain events are generated. The script is physically present on both the OMS machines in the same location: /home/oracle/scripts directory and it echos the event's environment variables to a log file on the OMS machine itself. So, when the 12c_oem_notify.ksh script is executed, a time-based log file is created on the OMS machine.

It was noticed that when the OMSA is shutdown, the script is not executed i.e there are no time-based logs created on the OMSB machine.
Also, the <EM_INSTANCE_BASE>/sysman/log/emctl.msg file shows: 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms