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 IBM MQ Support » How To Start The Listner and Command Server Automatically

Post new topic  Reply to topic
 How To Start The Listner and Command Server Automatically « View previous topic :: View next topic » 
Author Message
PankajS
PostPosted: Wed Feb 02, 2005 12:04 am    Post subject: How To Start The Listner and Command Server Automatically Reply with quote

Voyager

Joined: 27 Dec 2004
Posts: 82

Hi All,

I am using MQV5.3 CSD05 on the AIX O/S.

I have Distributed Architecture in the project.

It is known fact that the Listener and command server do not come in running status as we restart or reboot the AIX machine.
We need to start the Listener in this case.

I want to start the Listener and Command server automatically at the time of reboot/restart

Queries :
1) Is there any tested and proved way to do this if i want to use MQ
Listeners ?

2) Is this problem discussed in any IBM manuals?

3) What are the performance issues related of Using the TCP/IP listeners
(inetd.conf file) ? I am expecting at the max 200 active channels at
any point of time

Waiting for Reply
Thanks in advance !!!!
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Feb 02, 2005 3:27 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

1. Start your qmgr in a script. After strmqm returns, run strmqcsv. Note that you do not need to have a qmgr running to have the listener running, and the listener does not need to be stopped when the qmgr does. So, you can start the listener independently of starting the qmgr.
2. What problem? It is a fact, not a problem. The listener is not started automatically because there is a choice on UNIX, either the WMQ listener or the UNIX listener inetd. The command server is not started automatically because it is a potential security exposure to have the command server running with unsecured channels.
3. The performance impact is that each RCVR or SVRCONN channel runs as a process, amqcrsta, instead of a thread in amqrmppa.
Back to top
View user's profile Send private message
PankajS
PostPosted: Wed Feb 02, 2005 10:07 pm    Post subject: Reply with quote

Voyager

Joined: 27 Dec 2004
Posts: 82

Thanks Nigelg,
I am pretty naive for the AIX system .Can you please point out the location, where I can put the scripts to make them run at the time of reboot.
Back to top
View user's profile Send private message
clindsey
PostPosted: Thu Feb 03, 2005 5:22 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Read this link. It will get you started.
http://www.mqseries.net/phpBB2/viewtopic.php?t=19570

It is the same for AIX, although I think the rc_status doesn't work on AIX so remove it.

Charlie
Back to top
View user's profile Send private message
malammik
PostPosted: Thu Feb 03, 2005 5:57 am    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

For the listener, you could also define a inetd service which will start automatically when the inetd daemon is started.
Back to top
View user's profile Send private message Visit poster's website AIM Address
JT
PostPosted: Thu Feb 03, 2005 7:26 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
you could also define a inetd service.......

But, be aware that since the arrival of v5.3, this is not the recommended method. See the following link for details:
http://www.developer.ibm.com/tech/faq/individual?oid=2:81789
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 IBM MQ Support » How To Start The Listner and Command Server Automatically
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.