|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Configuring a listener service on Linux |
« View previous topic :: View next topic » |
Author |
Message
|
romudd |
Posted: Mon Oct 13, 2003 2:43 pm Post subject: Configuring a listener service on Linux |
|
|
Apprentice
Joined: 12 Aug 2003 Posts: 31 Location: Sao Paulo - Brazil
|
Hi,
I'm changing my mqseries environmento from WindowsNT to Linux, and I have a question on configuring a Listener. On Windows NT we have the MQSeries Explorer, in which the service Listener is created and controlled. But in Linux such visual interface is not available, we have two ways to do that:
- via a Shell command (runmqlsr)
- in the runmqsc prompt, using the command START LISTENER
My question is on this second method: How can I configure the properties of the service? I have a clue that it's done in the qm.ini file, but can't find in the documentation how to do it. By the way, what are the advantages and disadvantages of each method?
thanks!
Rodrigo |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Oct 14, 2003 5:17 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Personally, I prefer to stay away from the runmqsc interface to start the listener. I go with the runmqlsr and I use command line parameters:
runmqlsr -t tcp -p 1414 -m my.qmgr |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Oct 14, 2003 5:30 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
There is a third alternative, you can setup inetd to automaticly start
the listener.
edit the following files
/etc/inetd.conf
QMGR_NAME stream tcp nowait mqm /opt/mqm/bin/amqcrsta amqcrsta -m QMGR_NAME
/etc/services
QMGR_NAME 1414/tcp
After that you need to restart inetd and your off and running _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert 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
|
|
|
|