Author |
Message
|
Gideon |
Posted: Tue Sep 20, 2011 10:24 am Post subject: Number of Channels |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
If I have 1 server with WMQ on it, and have 10 clients connecting to the server, does that mean that I have 10 channels open
How can I determine how many channels are open at one time?
Thanks |
|
Back to top |
|
 |
zpat |
Posted: Tue Sep 20, 2011 10:25 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
MO71 (channel status list) or MQ explorer or runmqsc |
|
Back to top |
|
 |
Gideon |
Posted: Tue Sep 20, 2011 11:07 am Post subject: |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
I am communicating using the SYSTEM.ADMIN.SVRCONN
During a time when I had multiple client connections, I did the following:
Code: |
DISPLAY CHANNEL(SYSTEM.ADMIN.SVRCONN)
4 : DISPLAY CHANNEL(SYSTEM.ADMIN.SVRCONN)
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.ADMIN.SVRCONN) CHLTYPE(SVRCONN)
ALTDATE(2011-08-16) ALTTIME(19.36.43)
COMPHDR(NONE) COMPMSG(NONE)
DESCR( ) HBINT(300)
KAINT(AUTO) MAXINST(999999999)
MAXINSTC(999999999) MAXMSGL(4194304)
MCAUSER(mqm) MONCHL(QMGR)
RCVDATA( ) RCVEXIT( )
SCYDATA( ) SCYEXIT( )
SENDDATA( ) SENDEXIT( )
SHARECNV(10) SSLCAUTH(REQUIRED)
SSLCIPH( ) SSLPEER( )
TRPTYPE(TCP) |
Nor can I see anything of value in the explorer
What am I doing wrong ? |
|
Back to top |
|
 |
zpat |
Posted: Tue Sep 20, 2011 11:17 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Try displaying channel status (not channel definition!). |
|
Back to top |
|
 |
exerk |
Posted: Tue Sep 20, 2011 11:35 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
And remember, if none of the clients are active when you check status you'll see no active status. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Wed Sep 21, 2011 10:12 am Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
|
Back to top |
|
 |
Gideon |
Posted: Wed Sep 21, 2011 10:54 am Post subject: |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
Thanks, I can display all the channels connected to SYSTEM.ADMIN.SVRCONN with the following command
Code: |
DISPLAY CHSTATUS(SYSTEM.ADMIN.SVRCONN) |
So if I have 2 clients connected, and see 2 channel instnaces created, how many channel agents should I have |
|
Back to top |
|
 |
ankurlodhi |
Posted: Wed Sep 21, 2011 11:08 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
how many channel agents you should have?
I think it depends on the number on MQI channels you have connected. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Sep 21, 2011 11:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ankurlodhi wrote: |
I think it depends on the number on MQI channels you have connected. |
Define your terms. That's a very general answer. It's like answering "how hot will the weather be today" with the answer "it depends on the temperature of the air". Accurate, but unhelpful with some context for determining the air temperature.
A boy of 8 once asked me (rather suspiciously) "so what's your name then?". I truthfully and accurately replied "it's the label by which I'm most commonly referred to'.
I still fondly recall his confused expression. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Wed Sep 21, 2011 11:49 am Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
first thing is does MCA work among the MQI channels.
ans is NO. |
|
Back to top |
|
 |
Gideon |
Posted: Wed Sep 21, 2011 12:41 pm Post subject: |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
So, if I get you right, the number of MCI channels has nothing to do with how manyy channel agents. Therefore, there will not be multiple amqzlaa or amqrmppa processing with the Qmgr in the state of having several connection
I tested this with
Code: |
$ ps -ef | grep zlaa
mqm 2949362 4129108 0 18:33:01 - 0:00 amqzlaa0 -mWQM1 -fip0
mqm 3408546 3276944 0 20:37:02 pts/0 0:00 grep zlaa
$
$
$ ps -ef | grep rmppa
mqm 2490972 3015018 270 20:33:37 - 2:53 /usr/mqm/bin/amqrmppa -m WQM1
mqm 2818982 3276944 0 20:37:14 pts/0 0:00 grep rmppa |
during a time when I had 22 connections to the Qmgr. |
|
Back to top |
|
 |
ankurlodhi |
Posted: Wed Sep 21, 2011 12:45 pm Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
in your own post you have mentioned you self there will be a mqzlaa process.
and did you read about Messaged channel agent before taking that thing out here.
ans is NO. |
|
Back to top |
|
 |
exerk |
Posted: Wed Sep 21, 2011 12:52 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
ankurlodhi wrote: |
...and did you read about Messaged channel agent before taking that thing out here... |
Will you please be clearer with your posts because they're starting to descend into gibberish. I appreciate that you may not be writing in your mother tongue, but you're not helping yourself or others with such posts. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
|