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 » AdoptNewMCA

Post new topic  Reply to topic
 AdoptNewMCA « View previous topic :: View next topic » 
Author Message
samsansam
PostPosted: Fri Mar 13, 2015 7:06 am    Post subject: AdoptNewMCA Reply with quote

Apprentice

Joined: 19 Mar 2014
Posts: 41

WebSphere MQ system information:
Product :- WebSphere MQ for Solaris (SPARC platform)
Version :- 7.0.1.5
Host Info :- SunOS 5.10


I am thinking to use AdoptNewMCA on our receiver QMGR. Some of our receiver channels keep running at the same time the SDR channels are in retrying.
SDR channels are located on Z/OS , and the receiver located on Solaris. Here is what I am going to add on qm.ini on the receiver QMGR.

AdoptNewMCA=RCVR
AdoptNewMCATimeout=30
AdoptNewMCACheck=ALL

Looking at what I am going to add, is that the right way?

Do I have to use AdoptNewMCA in the Sender QMGR as well?

I understand that AdoptNewMCATimeout is the amount of time, in seconds, that the new channel instance waits for the old channel instance to end. So,
if the old channel instance did not end in 30 seconds, what will happened?

Do I have to change keepalive to yes as well?
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Fri Mar 13, 2015 7:33 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

That looks about right to me. Of course I would always recommend that you test this kind of thing in a test set-up before deploying into production.

You don't need to add it to your sender queue manager as well.

If after 30 seconds the receiver channel does not stop (suppose it is hung in a channel exit or whatever) then the nre starting channel be rejected. I suspect with 'channel in use'.

You don't have to change keepalive but having keepalive on is rarely a bad idea. It may well help allow the receiver channel to end of its own accord. It also useful for client channels, especially pre-V7.

Cheers,
Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
tczielke
PostPosted: Fri Mar 13, 2015 8:06 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

On the z/OS side, it would also be good to validate that you have the Receive Wait Time attributes on your queue manager configured properly, so you are detecting if the partner has went away.
_________________
Working with MQ since 2010.
Back to top
View user's profile Send private message
samsansam
PostPosted: Sun Mar 15, 2015 7:21 pm    Post subject: Reply with quote

Apprentice

Joined: 19 Mar 2014
Posts: 41

Thank you all
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Tue Mar 17, 2015 10:19 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Not that I want to counter what Paul has said, but in 19 years of implementing MQ in production environments, I make the following changes to stanzas:
Code:
* WMQ Qmgr Stanzas to add/modify
   LogBufferPages=4096
# The following lines are added to the default
CHANNELS:
   MaxChannels=1000
   MaxActiveChannels=1000
   AdoptNewMCACheck=ALL
   AdoptNewMCA=ALL
   AdoptNewMCATimeout=60
TCP:
   KeepAlive=Yes


I would do this for every Qmgr in PROD, PRE PROD, PERFORMANCE... z/OS may differ some.
Back to top
View user's profile Send private message AIM Address
samsansam
PostPosted: Wed Mar 18, 2015 12:19 pm    Post subject: Reply with quote

Apprentice

Joined: 19 Mar 2014
Posts: 41

JosephGramig thank you for your advise, one thing I need to ask about here:-

AdoptNewMCA=ALL

Our application is connected to F5 and from F5 to the QMGR. The server conn channels on the QMGR have same connection name.
Correct me if I am wrong , I think using AdoptNewMCA=ALL here will be bad idea.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Mar 18, 2015 12:51 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

samsansam wrote:
Correct me if I am wrong , I think using AdoptNewMCA=ALL here will be bad idea.

Why do you think that using AdobtNewMCA=ALL will be a bad idea?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Wed Mar 18, 2015 1:23 pm    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

It is probably good idea to only allow those types of channels you need to be Adopted rather than just saying 'anything'. Then there is no risk of a rogue requester channel 'breaking' your senders for example.

However, samsansam you needn't worry about your client connections since AdoptMCA does not apply to SVRCONNs

Regards,
Paul
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
samsansam
PostPosted: Thu Mar 19, 2015 6:37 am    Post subject: Reply with quote

Apprentice

Joined: 19 Mar 2014
Posts: 41

AdoptNewMCA=SVR,SDR,RCVR,CLUSRCVR,ALL

Oh I see now , SVRCONN will not be impacted if I add AdoptNewMCA=all.

Thank you guys
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 » AdoptNewMCA
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.