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 » WebSphere Message Broker (ACE) Support » z/OS Message Broker V5 Hang During Shutdown - Pls help

Post new topic  Reply to topic
 z/OS Message Broker V5 Hang During Shutdown - Pls help « View previous topic :: View next topic » 
Author Message
bay hoe san
PostPosted: Tue Nov 28, 2006 10:19 pm    Post subject: z/OS Message Broker V5 Hang During Shutdown - Pls help Reply with quote

Centurion

Joined: 27 Nov 2006
Posts: 117

Hi,

I am unable to gracefully shutdown my message broker v5.0 in z/OS V1.4. Assuming my message broker started task is MQS3BRK. Before I issued the command /p mqs3brk, I log-off all LTs and shutdown the queue mgr attached to it.
However, my message broker started task is not able to shutdown with the following error messages in the JESMSGLG of MQS3BRK:
BPXP011I THREAD 1E815B0000000008, IN PROCESS 355, WAS 902
TERMINATED DUE TO A PTHREAD QUIESCE OF TYPE 2.

BIP2804E MQS3BRK 2 THE BROKER HAS DETECTED THAT EXECUTION GROUP DNFFIN 035
RA, PROCESS ID 50332006, HAS NOT SHUTDOWN. : ImbAdminStore(624)

BIP2804E MQS3BRK 2 THE BROKER HAS DETECTED THAT EXECUTION GROUP DNIOPE 036
RA, PROCESS ID 50332006, HAS NOT SHUTDOWN. : ImbAdminStore(624)

In the end, I use /c mqs3brk, it manages to stop 1 of the 3 started task of mqs3brk. Reason being in V5.0 Message Broker, there are 3 identical started task MQS3BRK when u issue /s mqs3brk, however, with different procstep name like mqs3brk, dniope and dnffin.
Managed to kill mqs3brk with procstep mqs3brk but not the others 2 procsteps.
I tried to issue /p mqs3brk but encountered "not active task".
In the end, I ask operators to issue kill from console and finally managed to shutdown all the 3 started tasks of mqs3brk.

I seek your expertise to advise me how to
1. gracefully shutdown the message broker,
2. shutdown the execution group
3. kill the thread

Pls help.
Thank you for your guidance.

.Hoe San.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 29, 2006 2:52 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Don't shut down the queue manager until after the broker is shut down.

ON distributed, a graceful shutdown with a hung execution group can be performed in the following manner.
1) issue mqsistop for the broker - it will not complete, leave it trying to complete
2) in a new shell, kill the hung DataFlow engine process.
3) now mqsisstop will complete.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Nov 29, 2006 5:20 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

on z/OS it is a little bit different.

how do you shutdown your broker? /p broker ? thats wrong.

you should use

/f broker,pc which will stopp all executiongroups

if an executiongroup does not stop you can use /f broker, pc i=yes, but only if you used the pc command before.

this should end the brokers executiongroups

after that, the broker can be shut down using /p broker (this is used in any case, no matter if the i=yes was required or not)

we had a lot of issues on the broker shutdown on z/os, with csd09 there will be an additional broker message during shutdown telling you, when an executiongroup did not shut down. this can be taken as an indicator to issue the pc i=yes command.

till then, its just a timer in our system automation that counts between pc and pc i=yes

in addition, the broker is based on the queuemanager. you should not shut down the queuemanager before the broker.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
bay hoe san
PostPosted: Wed Dec 20, 2006 1:05 am    Post subject: Reply with quote

Centurion

Joined: 27 Nov 2006
Posts: 117

Thanks for your expert advice. Yes, it works.

May I know where can I found all commands that can be issued to the broker running on z/OS? I seemed not able to locate e.g. /f mqsbrk,pc.

May I know how to check broker connection to MQ and DB2? Commands to issue?

Thank you for all your advice.
Back to top
View user's profile Send private message
bay hoe san
PostPosted: Sun Feb 04, 2007 2:05 am    Post subject: Reply with quote

Centurion

Joined: 27 Nov 2006
Posts: 117

May I know how to check broker connection to MQ and DB2? Commands to issue?

Hello experts,

( 1) May I know is there any command whereby I can issue to check Broker connection to MQ and DB2?
( 2) Thanks.

.Hoe San. -
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Feb 04, 2007 6:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

bay hoe san wrote:
May I know how to check broker connection to MQ and DB2? Commands to issue?

Hello experts,

( 1) May I know is there any command whereby I can issue to check Broker connection to MQ and DB2?
( 2) Thanks.

.Hoe San. -
Best bets: check the manuals for the relevant platforms.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Sun Feb 04, 2007 10:47 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

for MQ you can check if the SYSTEM.BROKER* queues are opened for input. if so, you know the broker is running (check the queuestatus and the application that have the queue open).

for DB2, you can display threads. dont know the command syntax, check the manuals (or the utilities you have available)
_________________
Regards, Butcher
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 » WebSphere Message Broker (ACE) Support » z/OS Message Broker V5 Hang During Shutdown - Pls help
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.