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 » IBM MQ Installation/Configuration Support » MQ High Availablity testing

Post new topic  Reply to topic
 MQ High Availablity testing « View previous topic :: View next topic » 
Author Message
etc181
PostPosted: Sun Apr 09, 2006 11:50 pm    Post subject: MQ High Availablity testing Reply with quote

Newbie

Joined: 06 Feb 2006
Posts: 5

Hi,

We are planning some testing where we get contact admin with MQ (Killing processes) on Linux. Unfortunately with the way linux reports under ps, we see all the threads as well as the processes (~177). This is making it very difficult to work out what PID's we should target to kill.

I have been unable to locate a log for MQ that might contain the PID's either. Can anyone point me to the documentation which details the processes MQ uses (and ideally what for)?

Any pointers would be greatly appreciated
Back to top
View user's profile Send private message
Tibor
PostPosted: Mon Apr 10, 2006 5:07 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

This is a snippet from IBM's HA stop script:
Code:
    srchstr="( |-m)$QM[         ]*.*$"
    for process in amqpcsea amqhasmx amqharmx amqzllp0 \
         amqzlaa0 runmqchi amqrrmfa amqzxma0 amqrmppa
    do
      ps -ef | grep $process | grep -v grep | \
         egrep "$srchstr" | awk '{print $2}'| \
            xargs kill -9
    done

but it will work on Linux without any problem, IMHO. You don't have to think about which process entry is a real process or just a thread.

You can find a detailed process list here http://www.mqseries.net/phpBB2/viewtopic.php?t=9326

Tibor
Back to top
View user's profile Send private message
sandiksk
PostPosted: Mon Apr 10, 2006 5:08 am    Post subject: Reply with quote

Centurion

Joined: 08 Jun 2005
Posts: 133

oe thing you could do is try "ps -u mqm f" . This command list mq process in a forest view which should make your work easier.

http://www-1.ibm.com/support/docview.wss?fdoc=aimwmq&rs=171&uid=swg21137286
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 » IBM MQ Installation/Configuration Support » MQ High Availablity testing
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.