|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
  |
|
Port Number ? |
View previous topic :: View next topic |
Author |
Message
|
Narayan Kumar PR |
Posted: Wed Jan 23, 2002 3:38 am Post subject: |
|
|
Newbie
Joined: 22 Jan 2002 Posts: 6 Location: chennai, India
|
hi all,
When we create the Queue Manager in Windows NT through explorer we have the option of giving the port number. when we start the Queue manager the Listener is automatically started unless we set it as manual.
Now My Questions are
1. How will you specify the port number when we create the Queue Manager through command mode.
2. How will your start the listener for that queue manager?
3. Is there any way by which we can set listener to be automatic to the corresponding queue manager?
Compare the same scenario for the Unix system also
Thanks & Regards
_________________ Thanks & Regards
Narayan Kumar PR |
|
Back to top |
|
 |
EddieA |
Posted: Wed Jan 23, 2002 12:56 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Hi,
Remember that even if you create a Queue Manager manually, it will still appear in the MQSeries Services GUI after creation.
1) The port number is not specified when you create a Queue Manager. So, there is nothing to do here.
2) It depends on how you start the listener. If you start it as a command, then you add the -p {port} parameter on the runmqlsr command.
If you start it 'automagically' through MQSeries Services, then you set it on the Property page for the Listener.
3) On the Property page for the listener, set it to Automatic.
Cheers,
_________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Narayan Kumar PR |
Posted: Wed Jan 23, 2002 10:27 pm Post subject: |
|
|
Newbie
Joined: 22 Jan 2002 Posts: 6 Location: chennai, India
|
Hi Eddie
Let me Thank you for the response.
When we work with window’s things are very easy. As you mentioned though we create the queue manager from command mode we have the sophistication of GUI in windows to change parameters.
When we use “runmqlsr” do we need to specify the port every time when we run this command or we have to give only the very first time when we start the queue manager. I understand that in Unix environment there is a services file. Will “runmqlsr” make an entry when in that file. Can you elaborate more on this.
Narayan kumar
_________________ Thanks & Regards
Narayan Kumar PR |
|
Back to top |
|
 |
EddieA |
Posted: Thu Jan 24, 2002 11:58 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Hi,
The port number must be specified every time you start the listener using runmqlsr, unless it is the default (1414).
In Unix environments you have the choice to run the listerner either as a stand alone process or as a 'service' of inetd.
To run it stand alone, just use runmqlsr.
To run from inetd you need to add entries to the services and inetd.conf files.
For etc/services:
MQSeries 1414/tcp # MQSeries channel listener
And for etc/inetd.conf:
MQSeries stream tcp nowait mqm /opt/mqm/bin/amqcrsta amqcrsta
Don't forget, if you are using a port other than 1414, then you need to change that in the above examples.
Plus, if you have multiple Queue Managers, then you will need multiple entries in both services and inetd.conf with unique ports for each Queue Manager. You will also have to specify the Queue Manager on each line in inetd.conf.
Cheers,
_________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Narayan Kumar PR |
Posted: Thu Jan 24, 2002 10:00 pm Post subject: |
|
|
Newbie
Joined: 22 Jan 2002 Posts: 6 Location: chennai, India
|
Hi Eddie
very nice explanation. That solved my problem.
Thank u once again.
_________________ Thanks & Regards
Narayan Kumar PR |
|
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
|
|
|
|