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 IndexClusteringNeed to refresh qmgr to pickup change in REPOSNL?

Post new topicReply to topic
Need to refresh qmgr to pickup change in REPOSNL? View previous topic :: View next topic
Author Message
pcelari
PostPosted: Fri Apr 15, 2022 4:50 am Post subject: Need to refresh qmgr to pickup change in REPOSNL? Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 407
Location: New York

Greetings ...

if the content of the namelist specified in a qmgr's REPOSNL field is modified, how can we force the qmgr to pick it up the change right away?

It seems a REFRESH QMGR should do the job. But the documentation on this command is obscure, and I couldn't find an example of the command's usage.

Can an expert please share some insight on this?
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Apr 15, 2022 6:43 am Post subject: Reply with quote

Poobah

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

Have you tried it? What were the results?

You didnt mention your o/s, your VRMF of MQ.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
I have no preferred pronouns, but I do have preferred adjectives, namely: brilliant and handsome.
Back to top
View user's profile Send private message
pcelari
PostPosted: Fri Apr 15, 2022 7:22 am Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 407
Location: New York

bruce2359 wrote:
Have you tried it? What were the results?


it's on Linux. finally I tried the following command:

"refresh qmgr type(CONFIGEV) name(REPO_NL) object(NAMELIST)"

It ran to completion. But found the qmgr has CONFIGEV(DISABLED).

So I did this below sequence, but not sure if this command does what I need.

alter qmgr CONFIGEV(ENABLED)
refresh qmgr type(CONFIGEV) name(REPO_NL) object(NAMELIST)
alter qmgr CONFIGEV(DISABLED)
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Apr 16, 2022 8:37 pm Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20566
Location: LI,NY

The refresh qmgr config event does not do what you think it does...
It recreates the configuration event message if config event was not enabled.
So the sequence would be:
  1. Verify config events are enabled, if not enable them
  2. run refresh qmgr type(configev) for the specific config event you want to know about
  3. look in the config event for the change messages and determine what you want to do with them
  4. disable config events?

There is no indication that it makes the qmgr pickup changes in the Name list.
I would have thought those would get picked up in your case by a refresh cluster..., if the queue manager doesn't pick them up on it's own.

The way to verify would be to run on one of the Full Repositories, for a queue that is defined with clusnl(the name list that was changed)
Code:

dis qc (queuename) cluster(the one just added to the namelist) clusqmgr

If the queue shows up for the queue manager where the namelist was changed , for the cluster that was added then the change has been picked up. Remember you must verify on the FR. Also check that both FR's have a valid connection from one to another. And finally check that the channel between the PR where the change is done and the FRS works fine.

PRs will only get the change when next trying to use the clustered object (queue).

Hope it helps.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hughson
PostPosted: Sun Apr 17, 2022 2:33 am Post subject: Re: Need to refresh qmgr to pickup change in REPOSNL? Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1754
Location: Bay of Plenty, New Zealand

pcelari wrote:
if the content of the namelist specified in a qmgr's REPOSNL field is modified, how can we force the qmgr to pick it up the change right away?

This change should be immediately picked up.

Since you are asking this question, you must have some reason to believe that it has not been picked up. Can you share with us what makes you think it hasn't been picked up.

Remember, to be a member of a cluster you must also have cluster channels in place for that cluster name. Also remember that you cannot set both the REPOS and REPOSNL fields, if you set one, you must blank out the other.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
pcelari
PostPosted: Wed May 04, 2022 11:10 am Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 407
Location: New York

fjb_saper wrote:
The refresh qmgr config event does not do what you think it does...
Code:

dis qc (queuename) cluster(the one just added to the namelist) clusqmgr

If the queue shows up for the queue manager where the namelist was changed


Thank you! I was away for a while ...

I asked the question because it seems to take quite a few minutes for the change to take effect it seems at least in MQExplorer. So I try to find a way to make it get picked up right away.

Yes, I used the command you suggested in both the FR and the PR, and got the same number of lines.
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexClusteringNeed to refresh qmgr to pickup change in REPOSNL?
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.