|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Queries regarding Listeners on HP Ux and Sun Solaris |
« View previous topic :: View next topic » |
Author |
Message
|
mitul |
Posted: Fri Jul 09, 2004 1:01 am Post subject: Queries regarding Listeners on HP Ux and Sun Solaris |
|
|
Apprentice
Joined: 13 Jun 2002 Posts: 33
|
I have few questions regarding Listeners on HP Ux and Sun Solaris: -
1. Does the Listener start automatically when the QMGr starts?
2. Also if i want to use a port other that 1414 say for example 2222, then just adding the following stanza in qm.ini of the resp Qmgr is ok?
TCP:
PORT=2222
or something else is also required?
3. Does the listener always run in the backgroud as a Daemon process once started?
4. How do I make sure that the listener is running or not and if running then listening on which port?
Thanks in Advance
Mitul |
|
Back to top |
|
 |
JT |
Posted: Fri Jul 09, 2004 7:45 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
Does the Listener start automatically when the QMGr starts? |
No, not on Solaris (I believe on Windows you can configure the listener to start automatically)
Quote: |
Also if i want to use a port other that 1414 say for example 2222, then just adding the following stanza in qm.ini of the resp Qmgr is ok? |
Seems right
Quote: |
Does the listener always run in the backgroud as a Daemon process once started? |
No, it has to be configured to run as a background process (add an ampersand at the end of the runmqlsr command)
Quote: |
How do I make sure that the listener is running or not and if running then listening on which port? |
The command ps -ef|grep runmqlsr wil display any listener processes, which will include the port number. Additionally issuing the netstat command will display all connections to the port. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Jul 09, 2004 7:52 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Quote: |
Quote:
Also if i want to use a port other that 1414 say for example 2222, then just adding the following stanza in qm.ini of the resp Qmgr is ok?
Seems right
|
No, this parameter does not effect the Listener as far as I know. You need to specify the -p option on the runmqlsr command when you start the listener to pick a port other than 1414 to listen on.
That entry in the ini file I believe is what gets appended to the end of the value you have in your connection parameter in all your SNDR type channels if you don't put something specifically there (like xxx.xx.xx.xx(1415)). If you want all your sender channels to go to 1415 without you typing it in the conname, then put 1415 in the port parameter in the qm.ini file. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mitul |
Posted: Sun Jul 11, 2004 1:12 am Post subject: |
|
|
Apprentice
Joined: 13 Jun 2002 Posts: 33
|
|
Back to top |
|
 |
Leafar |
Posted: Mon Jul 12, 2004 9:01 am Post subject: |
|
|
 Acolyte
Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires
|
Quote: |
Does the Listener start automatically when the QMGr starts?
Does the listener always run in the backgroud as a Daemon process once started? |
In most Unix you can start the listener as a inetd service and then will run as daemon
Quote: |
How do I make sure that the listener is running or not and if running then listening on which port? |
If you are running the listener as a inetd service, you can't see the process with ps command.
Use netstat instead |
|
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
|
|
|
|