Question & Answer
The fault monitor daemon constantly monitors if the DB2 UDB instance is properly running. If the daemon detects that DB2 has been brought down unexpectedly, it will automatically try to restart DB2. This document details how to disable this behavior.
The steps to disable the fmcd (fault monitor daemon) are as follows:
For the entire server, as user root/superuser run:
- db2fmcu -d
For a specific instance:
- db2fm -i [instance] -a off
db2fm -i [instance] -f off
where [instance] is the name of the instance
As of RHEL 6, the /etc/inittab file has been deprecated. Issuing the "db2fmcu -d" command deletes the db2fmcd.conf file under the /etc/init directory.
As of Solaris 10, the /etc/inittab file has been deprecated. Issuing the "db2fmcu -d" command disables the SMF service named 'db2fm'.
Note: Check the ./sqllib/fm.[machinename].reg for each instance to verify that the
FM_ON and FM_ACTIVE variables are set to NO where [machinename] is the name of the host.
16 June 2018