|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to tell when a broker has fully started? |
« View previous topic :: View next topic » |
Author |
Message
|
ktobin |
Posted: Tue Oct 05, 2004 10:54 am Post subject: How to tell when a broker has fully started? |
|
|
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 |
|
 |
kirani |
Posted: Tue Oct 05, 2004 10:33 pm Post subject: |
|
|
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 |
|
 |
contactop |
Posted: Mon Oct 11, 2004 7:41 am Post subject: |
|
|
Acolyte
Joined: 26 Jun 2003 Posts: 50
|
check out the Event Viewer. |
|
Back to top |
|
 |
Tibor |
Posted: Tue Oct 12, 2004 2:23 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
If you want to get info independent by platform, try this:
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 |
|
 |
kirani |
Posted: Tue Oct 12, 2004 8:48 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|