Restarting automatically

You control how automatic restart works by using automatic restart policies.

About this task

When the automatic restart function is active, the default action is to restart the subsystems when they fail. If this default action is not what you want, then you must create a policy that defines the action that you want taken.

Procedure

To create a policy:

Identify the element names of the Db2 and IRLM subsystems.
  • For a non-data-sharing Db2, the element name is 'Db2$' concatenated by the subsystem name (Db2$DB2A, for example). To specify that a Db2 subsystem is not to be restarted after a failure, include RESTART_ATTEMPTS(0) in the policy for that Db2 element.
  • For local mode IRLM, the element name is a concatenation of the IRLM subsystem name and the IRLM ID. For global mode IRLM, the element name is a concatenation of the IRLM data sharing group name, the IRLM subsystem name, and the IRLM ID.