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 » General Discussion » Amqcrsta vs. runmqlsr

Post new topic  Reply to topic
 Amqcrsta vs. runmqlsr « View previous topic :: View next topic » 
Author Message
keke
PostPosted: Mon Nov 22, 2004 10:36 pm    Post subject: Amqcrsta vs. runmqlsr Reply with quote

Newbie

Joined: 22 Nov 2004
Posts: 4
Location: Bucharest

Who can help me to configure runmqlsr ? In this moment i use amqcrsta but i want to use runmqlsr. Platform is Solaris 7 and MQSeries version is 5.2. Please help me.

Keke
Back to top
View user's profile Send private message Yahoo Messenger
dgolding
PostPosted: Tue Nov 23, 2004 12:44 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

In your startup script for your queue manager, add the line (it doesn't matter where):

runmqlsr -t tcp -p <port number> -m <queue manager name> &

You can start the listener independent of the queue manager. Also, when you shut the queue manager down, it doesn't shut down the listener, you need "endmqlsr" to do that...

At 5.3 the recommendation is to use runmqlsr as it uses multi-threaded channels, but at 5.2 I'm not too sure...also, this release won't be supported for ever, you should be looking at upgrading....

HTH
Back to top
View user's profile Send private message Visit poster's website
bower5932
PostPosted: Tue Nov 23, 2004 8:18 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

dgolding wrote:
also, this release won't be supported for ever, you should be looking at upgrading....


Actually, it isn't supported now.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
jsware
PostPosted: Tue Nov 23, 2004 1:52 pm    Post subject: Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

You can also start it using the START LISTENER runmqsc command as in:

echo "START LISTENER"|runmqsc $qmgr

This has the advantage that you can logoff where you cannot if you call your startup script manually after logging on (say to determine why the startup script failed to start MQ). You can also use the nohup command to allow you to logoff, but then you might have a nohup.out file to deal with.

Using START LISTENER will start runmqlsr using the port number defined in the qm.ini file. Note that if you set the port number in this file, it becomes the default port MQ uses when starting channels, unless the conname has a port number specified.

We basically set the port number on all our qmgrs and don't use the default port number at all anymore.
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
bbburson
PostPosted: Tue Nov 23, 2004 1:55 pm    Post subject: Re: Amqcrsta vs. runmqlsr Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

keke wrote:
In this moment i use amqcrsta but i want to use runmqlsr.


You also have to remove the amqcrsta line from /etc/inetd.conf and bounce the inetd daemon. If you don't do this, the mq listener will not be able to bind to the port.
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 » General Discussion » Amqcrsta vs. runmqlsr
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.