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 Telemetry / Low Latency Messaging / Everyplace » automated WMQe start and stop issue on Unix

Post new topic  Reply to topic
 automated WMQe start and stop issue on Unix « View previous topic :: View next topic » 
Author Message
bh
PostPosted: Tue Jan 25, 2005 4:23 am    Post subject: automated WMQe start and stop issue on Unix Reply with quote

Acolyte

Joined: 25 Jun 2001
Posts: 61

Hi all,
I'm in the situation where WMQe tasks (start and stop) need to be automated in a production world - on a Solaris box -.
Unfortunaltly I didn't find anything that can help me to start and stop WMQe server (except the kill command) ?

Does anybody have some experience or feedback on such issue ?

WMQe on the Solaris box provides the gateway between PDA and an other Sun box running WMQ qm. And I'm looking for a automated and industrialised solution .. I have seen the support pack which is providing WMQe as a service but it's on Windows environment only.

Any help appreciated.

Thanks in advance.
Back to top
View user's profile Send private message
lillo
PostPosted: Mon Jan 31, 2005 3:57 am    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

We had a similar problem in the client side and solved running the mqe inside a jboss. We start/stop the qmgr with a MBean and the programs can always get the qmgr instance running in the JVM.

I hope this help you.

Regards,
Lillo
_________________
Lillo
IBM Certified Specialist - WebSphere MQ
Back to top
View user's profile Send private message
YATAWAL
PostPosted: Tue Feb 01, 2005 5:40 am    Post subject: Reply with quote

Apprentice

Joined: 26 Feb 2004
Posts: 25

You can use a MQe queue rule to achieve this as well.

Create a queue rule so that the PutMessage method has the following line.

MQeQueueManager.getDefaultQueueManager().closeQuiesce(5000) ;

On the server define a queue and set this rule as a property.

To close the queue manager, remotely send an asynchrnous message to this server queue. Additional checks can be performed inside the rule to authenticate and audit log the close message if required. The queue manager should shutdown cleanly.
Back to top
View user's profile Send private message
lillo
PostPosted: Tue Feb 01, 2005 7:46 am    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

and what about to start the queue manager?
_________________
Lillo
IBM Certified Specialist - WebSphere MQ
Back to top
View user's profile Send private message
YATAWAL
PostPosted: Sun Feb 06, 2005 8:04 am    Post subject: Reply with quote

Apprentice

Joined: 26 Feb 2004
Posts: 25

There is a queue manager start example in the product.

MQe server (no MQ bridge):
java examples.queuemanager.MQeServer <ini_file>

MQe gateway (server + MQ bridge):
java examples.mqbridge.queuemanager.MQBridgeServer <ini_file>
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 Telemetry / Low Latency Messaging / Everyplace » automated WMQe start and stop issue on Unix
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.