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 » How to tell when a broker has fully started?

Post new topic  Reply to topic
 How to tell when a broker has fully started? « View previous topic :: View next topic » 
Author Message
ktobin
PostPosted: Tue Oct 05, 2004 10:54 am    Post subject: How to tell when a broker has fully started? Reply with quote

Newbie

Joined: 08 Jul 2001
Posts: 2

I have a situation where I would like to be able to know programmatically when a broker is fully up from a restart operation i.e. when all DataFlowEngines have started BEFORE the start script attempts to start the MQSeries listener.
This is to prevent a potential application message timeout situation that occurs because of the delay in getting all of the dataflowengines going
if I start the listener first

mqsistartbroker returns back from the cmd shell - before all of the the dataflowengines have actually started ( I do not want to write an app that counts dataflowengine processes - nor do I want to change the message flows in anyway ). I know there are broker published events but am not sure if writing an application that checks there event is the way to go?
Has anyone solved this problem before?
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Tue Oct 05, 2004 10:33 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I think the event message will be published when an EG process is started. However, I think, It will not wait for all message flows to come-up before publishing the message.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
contactop
PostPosted: Mon Oct 11, 2004 7:41 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jun 2003
Posts: 50

check out the Event Viewer.
Back to top
View user's profile Send private message
Tibor
PostPosted: Tue Oct 12, 2004 2:23 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

If you want to get info independent by platform, try this:
Code:
mqsilist

then directly:
Code:
mqsilist <brokername>


For example:
Code:
$ mqsilist
BIP8099I: UserNameServer  -  RAPTOR
BIP8099I: RAPTOR  -  RAPTOR
BIP8099I: TEST  -  FSQT
BIP8099I: BKQA  -  BKQA

BIP8071I: Successful command completion.

$ mqsilist RAPTOR
BIP8130I: Execution Group: default  -  47864
BIP8130I: Execution Group: IK  -  29162
BIP8130I: Execution Group: HUB  -  63050

BIP8071I: Successful command completion.


Hope this helps,

Tibor
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Oct 12, 2004 8:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I think the issue here is message flow takes some time (few seconds) after the DFE process is started. So if he starts the lister as soon as the DFE process is started the application will still get some time-outs. I dont know when exactly the event messages are published on the queue, I think it's documented in one of the manual.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to tell when a broker has fully started?
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.