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 » IBM MQ Installation/Configuration Support » client cxion and runmqlsr: MCA process or thread started?

Post new topic  Reply to topic
 client cxion and runmqlsr: MCA process or thread started? « View previous topic :: View next topic » 
Author Message
KAKOZ
PostPosted: Sun Apr 18, 2004 11:44 pm    Post subject: client cxion and runmqlsr: MCA process or thread started? Reply with quote

Voyager

Joined: 26 Jan 2004
Posts: 90
Location: FRANCE

Hi,

I would like to clarify this point - UNIX environnement - :

- Ibm recommends to use runmqlsr instead of inetd
- it is said that each time a client appli connects to the server the listener runmqlsr starts a MCA program which is in fact a thread of runmqslr

so questions:
1) is it possible to identify this MCA program with for instance the ps -ef command? to get the pid

2) how to identify the different threads of runmqlsr on the system and how to associate each of them to each client connection?

the idea is to be able to delete a MCA program (SVRCONN) corresponding to a special client connection without disturbing the others connections!

is that possible?

thanks for help and ideas!
Jack
Back to top
View user's profile Send private message
mqonnet
PostPosted: Mon Apr 19, 2004 7:53 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

I dont think there is "any" way you could associate the two. Not just unix, but on any platform.

There is no key/identifying field that would help us associate a channel with a particular instance of the MCA.

I can understand why you need this info, but i am pretty much sure there is no way of getting such info. Unless of course there is a supportpak that does give you this info.

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PeterPotkay
PostPosted: Mon Apr 19, 2004 1:26 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Do a status on the SVRCONN channel. Returned to you will be each instance of the channel running, along with an IP address, so you can figure out which is which. But alas, you cannot actually stop them inividually. Its all or nothing.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
leongor
PostPosted: Tue Apr 20, 2004 1:25 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

With MQ 5.3 you can stop SVRCONN channel by IP address.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
KAKOZ
PostPosted: Tue Apr 20, 2004 1:40 am    Post subject: Reply with quote

Voyager

Joined: 26 Jan 2004
Posts: 90
Location: FRANCE

Hi Leonid,

- the STOP CHANNEL command gives the possibility to specify the CONNAME (ex: hostname(1415)) - but doing that we delete all the client connections which have been made throught this conname (on the same connname several different clients can connect to the server) ,

- i dont understand if each client cxion make runmqlsr start a separate SVRCONN thread ou if one SVRCONN thread of runmqlsr is able to handle several client cxions at a time?

Jack
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Apr 20, 2004 4:37 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

You cannot stop a channel instance by IP address. You have to stop the main SVRCONN channel, which stops all instances from all IP addresses.
Or you can put an individual instance specified by IP address into INACTIVE. But not STOPPED.


From the MQSC Manual:

Quote:

If you specify either QMNAME or CONNAME, STATUS must either be INACTIVE
or not specified. Do not specify a QMNAME or CONNAME and
STATUS(STOPPED). It is not possible to have a channel stopped for one partner
but not for others. This sort of function can be provided by a channel security exit.
For more information about channel exits, see the WebSphere MQ
Intercommunication manual


My testing confirms this.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
KAKOZ
PostPosted: Tue Apr 20, 2004 6:00 am    Post subject: Reply with quote

Voyager

Joined: 26 Jan 2004
Posts: 90
Location: FRANCE

Hi Peter,

- but what do you think about this pb with runmqlsr of not beeing able to handle juste one client connection (like with inetd listener + amqcrsta) ?

* with runmqlsr if you stop or put inactive a conname for a SVRCONN,all the clients connected on that conname are reached

* instead when using inetd + amqcrsta you can act on one connection only
??
Jack
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Apr 20, 2004 6:08 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I guess it is what it is. If you use runmqlsr, you take the good with the bad. And at the current version, you cannot pick and choose what individual threads from a SVRCONN to kill. Maybe in the future?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
KAKOZ
PostPosted: Tue Apr 20, 2004 6:13 am    Post subject: Reply with quote

Voyager

Joined: 26 Jan 2004
Posts: 90
Location: FRANCE

thanks Peter - now that's more clear for me
Jack
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 » IBM MQ Installation/Configuration Support » client cxion and runmqlsr: MCA process or thread started?
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.