Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Posts
    2

    Unanswered: Question about Fault Monitor (db2fm)

    We're using DB2 UDB V8.1 FP3 on AIX 5.2L.
    It looks like the fault monitor coordinator isn't working correctly.
    We start monitoring the instance with the following commands:
    1) db2fm -i db2inst1
    2) db2fm -f on
    3) db2fm -U

    If we kill a db2inst1 process the fault monitor will restart te the instance as expected.
    But if we kill the db2fmd process, i.e. the fault monitor watching the instance db2inst1, the fault monitor coordinator will not restart it as stated in the manuals:

    >>>>>>>>>>>>>>>>>>>>>>>
    The Fault Monitor Coordinator (FMC) is the process of the Fault Monitor
    Facility that is started at the UNIX boot sequence. The init daemon starts
    the FMC and will restart it if it terminates abnormally. The FMC starts one
    fault monitor for each DB2 instance. Each fault monitor runs as a daemon
    process and has the same user privileges as the DB2 instance. Once a fault
    monitor is started, it will be monitored to make sure it does not exit
    prematurely. If a fault monitor fails, it will be restarted by the FMC.
    Each fault monitor will, in turn, be responsible for monitoring one DB2
    instance. If the DB2 instance exits prematurely, the fault monitor will
    restart it.
    <<<<<<<<<<<<<<<<<<<<<<<<

    So what are we doing wrong?

    Bernhard

  2. #2
    Join Date
    Nov 2003
    Location
    Jakarta, Indonesia
    Posts
    32

    Re: Question about Fault Monitor (db2fm)

    Check your inittab file on /etc
    on my system its set to respawn

    Regards,
    Adam AC


    Originally posted by bernhard
    We're using DB2 UDB V8.1 FP3 on AIX 5.2L.
    It looks like the fault monitor coordinator isn't working correctly.
    We start monitoring the instance with the following commands:
    1) db2fm -i db2inst1
    2) db2fm -f on
    3) db2fm -U

    If we kill a db2inst1 process the fault monitor will restart te the instance as expected.
    But if we kill the db2fmd process, i.e. the fault monitor watching the instance db2inst1, the fault monitor coordinator will not restart it as stated in the manuals:

    >>>>>>>>>>>>>>>>>>>>>>>
    The Fault Monitor Coordinator (FMC) is the process of the Fault Monitor
    Facility that is started at the UNIX boot sequence. The init daemon starts
    the FMC and will restart it if it terminates abnormally. The FMC starts one
    fault monitor for each DB2 instance. Each fault monitor runs as a daemon
    process and has the same user privileges as the DB2 instance. Once a fault
    monitor is started, it will be monitored to make sure it does not exit
    prematurely. If a fault monitor fails, it will be restarted by the FMC.
    Each fault monitor will, in turn, be responsible for monitoring one DB2
    instance. If the DB2 instance exits prematurely, the fault monitor will
    restart it.
    <<<<<<<<<<<<<<<<<<<<<<<<

    So what are we doing wrong?

    Bernhard

  3. #3
    Join Date
    Jan 2004
    Posts
    2
    Adam thanks for your reply.

    I will check that, but i don't think that is the problem.
    We don't shoot this proces (the coordinator) but his child, the fault monitor which actually is doing the monitoring on the instance.
    Problem is that the coordinator doesn't see the his child is gone and his job is as i believe to restart the fault monitor on the instance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •