|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Amqcrsta vs. runmqlsr |
« View previous topic :: View next topic » |
Author |
Message
|
keke |
Posted: Mon Nov 22, 2004 10:36 pm Post subject: Amqcrsta vs. runmqlsr |
|
|
 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 |
|
 |
dgolding |
Posted: Tue Nov 23, 2004 12:44 am Post subject: |
|
|
 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 |
|
 |
bower5932 |
Posted: Tue Nov 23, 2004 8:18 am Post subject: |
|
|
 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 |
|
 |
jsware |
Posted: Tue Nov 23, 2004 1:52 pm Post subject: |
|
|
 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 |
|
 |
bbburson |
Posted: Tue Nov 23, 2004 1:55 pm Post subject: Re: Amqcrsta vs. runmqlsr |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|