Posted: Thu May 29, 2014 4:37 am Post subject: Failover statistics
Knight
Joined: 25 Aug 2006 Posts: 589
We have been using MI Qmgr V701 on Opensuse for more than 2 years. Because of MI, any failover is transparent to users and sometime even transparent to Administrator unless they check the logs regularly. I was wondering if there is any easy way to get failover statistics. For example I want to know quickly the number of times MQ has failover in the last 3 months and when did it happen ?
You could browse the relevant amqerr files in this directory :
/var/mqm/qmgrs/<queueManagerName>/errors
Normally the MQgr exceptions are logged here ...
I would like also an event enable, to write the messages
on the system.admin.qmgr.events ,in this case mainly the start or stop
status marks of the qmanager itself .
You could also generate an alert on failover by defining a MQ service which starts with the QMGR start. This service would then start a script which emails someone (and it might record the date/time in a log file).
Failovers should be rare. I can't remember the last time we had one in anger (HA/CMP that is) - probably several years ago. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum