IBM Support

How to disable the fault monitor daemon (db2fmcd) process

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
If you check the process list there should be no more db2fmcd processes running and /etc/inittab should not have any more fmc entries.

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.

[{"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"High Availability - Fault Monitor","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"9.7;10.1;10.5;11.1","Edition":"Advanced Enterprise Server;Advanced Workgroup Server;Enterprise Server;Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018