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 » amqmdain reg <QMName> -c add -s CHANNELS -v MaxChannel

Post new topic  Reply to topic
 amqmdain reg <QMName> -c add -s CHANNELS -v MaxChannel « View previous topic :: View next topic » 
Author Message
jlamond
PostPosted: Fri Jun 01, 2007 4:17 am    Post subject: amqmdain reg <QMName> -c add -s CHANNELS -v MaxChannel Reply with quote

Voyager

Joined: 28 May 2002
Posts: 94
Location: Paris

Hello everyone,

I'm currently facing a problem with amqmdain on Microsoft Windows and MQSeries V6.0.2.1. (French). It seem that the amqmdain reg function for a specific Queue Manager does not support the "CHANNELS" stanza keyword. It only work if I don't specify a Queue Manager.

Working example :
amqmdain reg * -c add -s CHANNELS -v MaxChannels=256

Not working case:
amqmdain reg TEST -c add -s CHANNELS -v MaxChannels=256

Any ideas ?

Best regards,

Jean-Marc
_________________
Jean-Marc
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri Jun 01, 2007 4:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You probably want MaxActiveChannels, since MaxChannels isn't used on anything other than zOS.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jlamond
PostPosted: Fri Jun 01, 2007 4:30 am    Post subject: Reply with quote

Voyager

Joined: 28 May 2002
Posts: 94
Location: Paris

According to the MQSeries Admin guide for the distribute platform V6. The MaxChannels as well as the MaxActiveChannels is a valid stanza argument.

Following is from the documentation:
Channels
Use the Channels queue manager properties page from the WebSphere MQ Explorer, or the CHANNELS stanza in the qm.ini file, to specify information about channels.

MaxChannels=100|number The maximum number of channels allowed. The default is 100.

MaxActiveChannels=MaxChannels_value The maximum number of channels allowed to be active at any time. The default is the value specified on the MaxChannels attribute.

MaxInitiators=3|number The maximum number of initiators.
_________________
Jean-Marc
Back to top
View user's profile Send private message Send e-mail
jlamond
PostPosted: Fri Jun 01, 2007 4:50 am    Post subject: QM.INI / MQS.INI Reply with quote

Voyager

Joined: 28 May 2002
Posts: 94
Location: Paris

More over,

The command amqmdain reg * -c add -s CHANNELS work when it should not since CHANNELS is normaly a qm.ini keyword and do not belong to mqs.ini.

In Microsoft Windows term : registry specific to a QManager and not to all Queue Manager.

I also notify that the Explorer (eclipse base tool), is working fine i.e. I can specify CHANNELS properties under a specific Queue Manager and not at MQSeries level....
_________________
Jean-Marc
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri Jun 01, 2007 5:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jlamond wrote:
According to the MQSeries Admin guide for the distribute platform V6. The MaxChannels as well as the MaxActiveChannels is a valid stanza argument.


That doesn't mean that it's USED.

I admit, the documentation is unclear on this. The only place it's really spelled out is in the iSeries guide. I've filed feedback to get this corrected - maybe it will be someday.

But believe me. MaxChannels is not used on any platform other than zOS. You can set it all you want.

And yes, it's possible that amqmdain has some bugs.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jlamond
PostPosted: Fri Jun 01, 2007 6:21 am    Post subject: MaxChannels Reply with quote

Voyager

Joined: 28 May 2002
Posts: 94
Location: Paris

This is weard and perhap your right. I alway set both MaxChannel and MaxActiveChannels on windows and Unix. The documentation state that when MaxActiveChannels is not specify the default value is equal to the value specify for MaxChannels.

Since the limit on the distributed is 100 channels I often use these parameters to overwrite and increase the default.

Regards,

Jean-Marc
_________________
Jean-Marc
Back to top
View user's profile Send private message Send e-mail
jlamond
PostPosted: Fri Jun 01, 2007 7:28 am    Post subject: Found the problem Reply with quote

Voyager

Joined: 28 May 2002
Posts: 94
Location: Paris

Hello everybody,

I found (keep trying), that if you put the keyword CHANNELS as Channels it will work find...

amqmdain reg TEST -c add -s Channels -v MaxChannels=1000
work fine,

more over, if you do the same command replacing the queue manager name with *, the command will be rejected stating that Channels is not valid for all Queue Manager. Although, if you replace the keyword with
amqmdain reg TEST -c add -s CHANNELS -v MaxChannels=1000, it will work.

I believe a code review should be done by our IBM frends,

Regards and thanks to all of you who spend time looking at my problem.
_________________
Jean-Marc
Back to top
View user's profile Send private message Send e-mail
redbarn
PostPosted: Fri Jun 01, 2007 8:03 am    Post subject: MaxActiveChannels sytax fix on windoz Reply with quote

Newbie

Joined: 01 Jun 2007
Posts: 2
Location: St Louis Mo

I found why the original problem was confusing; the value CHANNELS is case sensitive on windows, and must be entered as Channels instead!

fails;
AMQMDAIN reg * -c add -s CHANNELS -v MaxChannels=256

works;
AMQMDAIN reg * -c add -s Channels -v MaxChannels=256

You can check it in the registry with this;
regjump MyComputer\HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\Channels

However, I still wonder if it should be set for the exact QM, and if both values need to be set.

On my W2k box, under \Configuration\QueueManger\QM_NAME\Channels reg key, I now have two values. MaxChannels=50 which is there by default, and a new MaxActiveChannels=350 which I set. Which will be used, and should I change the 50 to match the 350 value?

This is my first post, so many thanks!

John c
Back to top
View user's profile Send private message
jlamond
PostPosted: Fri Jun 01, 2007 8:17 am    Post subject: Weird Reply with quote

Voyager

Joined: 28 May 2002
Posts: 94
Location: Paris

This is kind of weird...

I'm currently using MQSeries Version 6.0.2.1 and my PC is running XP pro. Now that I use amqmdain reg TEST -c add -s Channels -v xxxxxx=yyyy, I get no more problem as I stated in a previous post. But I don't get the same registry key as you are mentionning...

Here is what I have : HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\QueueManager\TEST\CHANNELS

The key is CHANNELS in upper case !

Can you check your MQSeries version.

MaxActiveChannels is realy what MQSeries will allow to run (be active) at a giving time.

Regards
_________________
Jean-Marc
Back to top
View user's profile Send private message Send e-mail
redbarn
PostPosted: Fri Jun 01, 2007 9:00 am    Post subject: Reply with quote

Newbie

Joined: 01 Jun 2007
Posts: 2
Location: St Louis Mo

I am running MQ 5.30.7

C:\>MQVER
Name: WebSphere MQ
Version: 530.7 CSD07
CMVC level: p530-07-L040527
BuildType: IKAP - (Production)

Getting ready to roll out v6.0.2.0 to 8 factories, so I will test the results there also.

Both times I tried * and the QM_NAME, with the upper case CHANNELS value, it would fail. With Channels, mixed case, both work. Both reg keys already existed as \Channels\ and the new REG_SZ value are the mixed case value I set.

BTW, when Windoz reads the reg, it does not care what the case is, however the MQ program may. If it is working and you can change the value and it shows up in the gui (eclipe for you, mmc for me on 5.3) than all should be well.

Cheers.
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 » amqmdain reg <QMName> -c add -s CHANNELS -v MaxChannel
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.