ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Monitoring of MQ on Linux using Veritas Cluster

Post new topic  Reply to topic
 Monitoring of MQ on Linux using Veritas Cluster « View previous topic :: View next topic » 
Author Message
alphamale
PostPosted: Fri Mar 10, 2006 8:22 am    Post subject: Monitoring of MQ on Linux using Veritas Cluster Reply with quote

Novice

Joined: 09 Feb 2005
Posts: 12
Location: UK

Anyone out there know a clever way to monitor MQ on a RedHat Linux box using a Veritas Cluster ?

I was going to check for the existence of key processes (e.g. amqzllp0), but on my installation there are multiple instances for each of them (something to do with how Linux does threads ?).

Since I'm not sure if the number of instances of a process is static forever, I don't simply want to just count how many I find.

I also don't want to assume that if one exists, then all is well, just in case one instance could die and leave the rest running (but damage the QM).

I've seen someone just use the 'dspqm' command and check for 'running', but I'm sure that's not foolproof and doesn't cover things like missing listeners etc.

If anyone has come up with a clever, reliable solution I'd love to hear it

Below is a 'ps -ef' so you can see what I get for one MQ process

mqm 6921 1 0 Feb27 ? 00:00:09 amqzxma0 -m GBSCC01D
mqm 6922 6921 0 Feb27 ? 00:00:09 amqzxma0 -m GBSCC01D
mqm 6924 6922 0 Feb27 ? 00:00:06 amqzxma0 -m GBSCC01D
mqm 6926 6922 0 Feb27 ? 00:00:00 amqzxma0 -m GBSCC01D
mqm 6927 6922 0 Feb27 ? 00:00:03 amqzxma0 -m GBSCC01D
mqm 6950 6922 0 Feb27 ? 00:00:01 amqzxma0 -m GBSCC01D
mqm 6951 6922 0 Feb27 ? 00:00:00 amqzxma0 -m GBSCC01D

I've done this before on Solaris where there is just one instance of each process and it detected errors perfectly, but Linux has me stumped.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Mar 10, 2006 8:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

As long as you find at least one instance of a process, do you really care how many there are?

Also, I would review the support packs on MQ and Veritas. I think the only one is for Solaris, but most of it should be applicable.

Also, what you are seeing is not multiple processes, but rather Linux is reporting each thread in an app as a process.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
alphamale
PostPosted: Fri Mar 10, 2006 8:39 am    Post subject: Reply with quote

Novice

Joined: 09 Feb 2005
Posts: 12
Location: UK

I'd be happy to test for just one instance if I could be sure that it meant the MQ component was working.

However, what happens if one thread dies - do the others die too on Linux, or could it leave its siblings behind and leave the MQ component is an error-state ?

I know I'm probably asking for too much, but I need to find as foolproof a solution as I can.

Have checked the support packs, but can't see anything clarifying my issue (and this reporting of threads as processes seems to be a Linux phenomenon).
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Mar 10, 2006 9:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

you could hack a script that used amqsputC to put to SYSTEM.DEFAULT.LOCAL.QUEUE and see if you get that message off.... if that works, you'd get a certain level of comfort.....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Fri Mar 10, 2006 9:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It seems to me that amqsCNXC would be more useful for that...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
markt
PostPosted: Fri Mar 10, 2006 10:08 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

The non-existence of processes will tell you that a qmgr is not running.

But the existence of those processes tells you nothing definitive about the health of a qmgr.

The only way to tell if a qmgr is running is to do some work to it - the HA supportpac scripts use PING QMGR through runmqsc.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Monitoring of MQ on Linux using Veritas Cluster
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.