This section describes the information delivered in the FAN event to a callout program. Table 5-1 lists the FAN event types and Table 5-2 describes name-value pairs for the event parameters. The event type is always the first entry when you receive FAN information through a callout, as in the following example:
SERVICEMEMBER VERSION=1.0 service=test.company.com database=ractest instance=ractest11 host=ractest1_host0343_1 status=up reason=FAILURE timestamp=2012-02-01 22:06:02 timezone=-07:00 db_domain=company.com
Note that the preceding examples displays as one line.
Table 5-1 FAN Event Types
Event Types | Notes |
---|---|
DATABASE, INSTANCE, NODE, SERVICE, SERVICEMEMBER, SRV_PRECONNECT, SERVICEMETRICS |
|
Table 5-2 Event Parameter Name-Value Pairs and Descriptions
Parameter | Description |
---|---|
VERSION |
Version of the event record. Used to identify release changes. |
database |
The unique name of the database supporting the service; matches the initialization parameter value for |
instance |
The name of the instance that supports the service; matches the |
host |
The name of the node that supports the service or the node that has stopped; matches the node name known to Cluster Synchronization Services (CSS). |
service |
The service name; matches the name of the service as listed in SERVICEMEMBER VERSION=1.0 service=swingbench database=orcl instance=orcl_2 host=rwsbj13 status=up reason=USER card=1 timestamp=2012-05-29 17:26:37 timezone=-07:00 db_domain= SERVICEMEMBER VERSION=1.0 service=swingbench.example.com database=orcl instance=orcl1 host=rwsbj09 status=up reason=USER card=2 timestamp=2012-07-03 17:29:28 timezone=-07:00 db_domain=example.com SERVICEMEMBER VERSION=1.0 service=swingbench.example.com database=orcl instance=orcl2 host=rwsbj10 status=up reason=USER card=1 timestamp=2012-07-03 17:29:18 timezone=-07:00 db_domain=example.com |
status |
Values are Notes:
|
reason |
Notes:
|
cardinality |
The number of service members that are currently active; included in all Following is an example of SERVICEMEMBER VERSION=1.0 service=swingbench.example.com database=orcl instance=orcl_2 host=mjkbj09 status=up reason=USER card=1 timestamp=2012-07-12 14:46:46 timezone=-07:00 db_domain=example.com |
incarnation |
For Following is an example of a NODE VERSION=1.0 host=stru09 incarn=175615351 status=down reason=member_leave timestamp=27-Jul-2010 14:49:32 timezone=-07:00 |
timestamp |
The time according to Oracle Clusterware that an event occurs. |
timezone |
The time zone of Oracle Clusterware where the event occurred, given as GMT +/-hh:mm. |
Some of the FAN event record parameters have values that correspond to values returned by the SYS_CONTEXT
function using the default namespace USERENV
, as shown in Table 5-3.
Table 5-3 FAN Parameters and Matching Session Information
FAN Parameter | Matching Session Information |
---|---|
|
|
|
|
|
|
|
|