db2fmcu - Db2 fault monitor controller command
Db2 Fault
Monitor is the Db2 database facility that automatically starts an instance after a crash.
It
can also auto restart an instance on machine reboot. You can configure the Db2 fault
monitor on Linux® and UNIX operating systems using the Db2 fault
monitor controller command. The command must be run as
root
because it accesses the
system's inittab file.Authorization
Root user authority
Required connection
None
Command syntax
Command parameters
- -u -p db2fmcd_path
- This option re-configures the inittab file to include the fault monitor controller (FMC) at system startup, where db2fmcd_path is the complete path to the FMC daemon (db2fmcd) object, for example /opt/IBM/db2/bin/db2fmcd.
- -d
- This option changes the inittab file configuration to prevent the FMC from being run at system startup.
- -f inittab
- This option specifies a path to the inittab file.
Examples
To
start the fault monitor controller at system startup by re-configuring
the inittab file, run the following command:
db2fmcu -u -p /opt/IBM/db2/bin/db2fmcd
To
prevent the fault monitor controller from being launched at system
startup, run the following command:
db2fmcu -d
Usage notes
- If you changed /etc/inittab manually, you need to send SIGHUP to process 1 to ask it to re-scan /etc/inittab right away. Otherwise, it can take some time before the next re-scan happens. If you updated /etc/inittab via db2fmcu, you do not need to send the signal as it is already done by the db2fmcu command.