If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Question about Fault Monitor (db2fm)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-19-04, 21:55
bernhard bernhard is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
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
Reply With Quote
  #2 (permalink)  
Old 01-20-04, 05:05
adam_ac adam_ac is offline
Registered User
 
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


Quote:
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
Reply With Quote
  #3 (permalink)  
Old 01-20-04, 06:42
bernhard bernhard is offline
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On