Database Activation Message

When an autoaction database is activated, SP-AMS or CP-AMS produces a database activation message. After producing this message, SP-AMS begins automating each managed host, and CP-AMS begins automating the managed host.

This database activation message differs from the database activation message that is placed in the log SP-AMS or the host log SP-AMS (see Appendix D) and CP-AMS messages logged through LG keyins. Since this message is generated internally, it is not displayed in any console window.

Matching the Database Activation Message

The database activation message allows you to prepare AMS to automate managed systems. AMS handles this message the same way it handles system messages: It compares the message to the patterns defined in the active automation database. Therefore, you can create a pattern to match this message and specify initialization actions for AMS to execute.

Restrictions

The database activation message is generated when a database is being activated. As a result, if the pattern that matches this message includes an ACTIVATE or DEACTIVATE action, the action is not executed and a warning message is produced. However, if the ACTIVATE or DEACTIVATE action is delayed with a WAIT clause, it is executed after the original activation has completed.

Additional SP-AMS Restrictions

You cannot use the PASSWORD or COMMAND actions in a pattern that matches the database activation message because these actions are specific to a host. In addition, the values of the hostid token and the predefined variable _HOSTID are undefined. Since the database activation message applies to all managed hosts, host-specific information is not included in the message.

Additional CP-AMS Restrictions

You cannot use HOLD, HIGHLIGHT, RELEASE, SUPPRESS, or DISPLAY actions in a pattern intended to match the database activation message because these actions can cause run-time errors. In addition, use caution with the COMMAND, TCOMMAND, EXECUTE, and TEXECUTE actions, because database activation can occur before system connections are established.

Text of the SP-AMS Database Activation Message

The text of the SP-AMS database activation message is as follows:

MI001: SP-AMS database db-name activated by source.

where:

db-name

is the name of the database being activated.

source

identifies what caused the activation of the database. source is one of the following text strings:

Text of the CP-AMS Database Activation Message

A CP-AMS activation message has the message type OTHER and the sender type ANY‑SENDER. The text of this message is:

AMS001: db-name ACTIVATED BY source

where:

db-name

is the newly activated database

source

is one of the following requesting entities:

The sample database spastart.bld supplied with Operations Sentinel contains examples of patterns used to match the database activation message.