You can configure the DB2® fault monitor using the DB2 fault monitor controller command db2fmcu or system commands.
Here are some examples of using db2fmcu and system commands to configure the fault monitor:
You can prevent the fault monitor controller (FMC) from being launched by using the DB2 fault monitor controller command. The db2fmcu command must be run as root because it accesses the system's inittab file. To block the FMC from being run, type the following command as root:
db2fmcu -d
To reverse the db2fmcu -d command and reconfigure the inittab to include the FMC, type the following command:
db2fmcu -u -p fullpath
where fullpath is the complete path to the db2fmcd object, for example /opt/IBM/db2/bin/db2fmcd.
You can also enable FMC to automatically start the instance when the system is first booted. To enable this feature for instance DB2INST1, type the following command:
db2iauto -on db2inst1
To turn off the autostart behaviour, type the following command:
db2iauto -off db2inst1
You can also prevent fault monitor processes from being launched for a specific instances on the system by changing a field in the global registry record for the instance. To change the global registry field to disable fault monitors for instance DB2INST1, type the following command as root:
db2greg -updinstrec instancename=db2inst1!startatboot=0
To reverse this command and re-enable fault monitors for instance DB2INST1, type the following command as root:
db2greg -updinstrec instancename=db2inst1!startatboot=1