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 IndexClusteringREFRESH CLUSTER

Post new topicReply to topic
REFRESH CLUSTER View previous topic :: View next topic
Author Message
varunv
PostPosted: Wed Jun 17, 2009 3:36 am Post subject: REFRESH CLUSTER Reply with quote

Novice

Joined: 04 Feb 2009
Posts: 16

Hi, I am new to Clustering,Can any one help me abt REFRESH CLUSTER and where should i use REFRESH CLUSTER.Thanks A Lot
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 17, 2009 3:38 am Post subject: Re: REFRESH CLUSTER Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

varunv wrote:
where should i use REFRESH CLUSTER.


Where? From a Full Repository

When? If told to do so by IBM as part of a PMR to resolve a cluster problem.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Jun 17, 2009 4:10 am Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

RESET CLUSTER needs to be run from a Full Repository. REFRESH CLUSTER can be run from any QM in the cluster.

You probably don't need to run either.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jun 17, 2009 4:10 am Post subject: Re: REFRESH CLUSTER Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

varunv wrote:
Hi, I am new to Clustering,Can any one help me abt REFRESH CLUSTER and where should i use REFRESH CLUSTER.Thanks A Lot


In this forum, if you make a search on this topic, you'll get a lot of results.
You can even check the "Cluster" manual on page 58, 64, provided by IBM.



"You can issue the REFRESH CLUSTER command from a queue manager to remove all cluster queue-manager objects and all cluster queue objects relating to queue managers other than the local one, from the local repository. The command also removes any auto-defined channels that do not have messages on the cluster transmission queue and which are not attached to a repository queue manager.

Effectively, the REFRESH CLUSTER command allows a queue manager to be “cold started” with respect to its repository content."
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Jun 17, 2009 4:16 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

PeterPotkay wrote:
RESET CLUSTER needs to be run from a Full Repository. REFRESH CLUSTER can be run from any QM in the cluster.


But REFRESH CLUSTER is more fun from an FR. You get amusing wailing noises from the network people....

I stand by the "when".
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jun 17, 2009 4:18 am Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

As a NOTE: There is a thin difference between REFRESH and RESET CLUSTER commands. please take care of these and try to avoid these commands until there is/are valid reason/s to shoot these commands.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Jun 17, 2009 4:29 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

shashivarungupta wrote:
try to avoid these commands until there is/are valid reason/s to shoot these commands.


As a rule of thumb, issue them when advised to do so by IBM Support or you're absolutely certain there's no alternative.

In 99% of cases there's an alternative.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jun 17, 2009 4:35 am Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Vitor wrote:
shashivarungupta wrote:
try to avoid these commands until there is/are valid reason/s to shoot these commands.


As a rule of thumb, issue them when advised to do so by IBM Support or you're absolutely certain there's no alternative.

In 99% of cases there's an alternative.


Thats what I meant. Though it was 'hidden saying' in that post.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Wed Jun 17, 2009 8:44 pm Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Vitor wrote:
PeterPotkay wrote:
RESET CLUSTER needs to be run from a Full Repository. REFRESH CLUSTER can be run from any QM in the cluster.


But REFRESH CLUSTER is more fun from an FR. You get amusing wailing noises from the network people....

I stand by the "when".

That is all true, but when you actually need to run REFRESH CLUSTER, you need to run it from a specific QM that requires it, not from any QM in the cluster. REFRESH CLUSTER does not refresh the cluster.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jun 17, 2009 10:10 pm Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Vitor wrote:
shashivarungupta wrote:
try to avoid these commands until there is/are valid reason/s to shoot these commands.


As a rule of thumb, issue them when advised to do so by IBM Support or you're absolutely certain there's no alternative.

In 99% of cases there's an alternative.


On MQSeries for OS/390 you can use a security profile to protect the command and prevent it from being issued.

Peter
Quote:
but when you actually need to run REFRESH CLUSTER, you need to run it from a specific QM that requires it, not from any QM in the cluster. REFRESH CLUSTER does not refresh the cluster.



REFRESH CLUSTER(clustername)
The queue manager from which you issue this command loses all the information in its repository concerning the named cluster. It would be a fresh start for the QM to maintain the repos. information.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
varunv
PostPosted: Thu Jun 18, 2009 1:09 am Post subject: REFRESH CLUSTER Reply with quote

Novice

Joined: 04 Feb 2009
Posts: 16

In which scenario we use REFRESH CLUSTER.How to remove qmanager from FR,can i use RESET CLUSTER(CLUSNAME) QMNAME(QMNAME) ACTION(FORCEREMOVE)
(OR)
ALTER QMGR REPOS(' ') REPOSNL(' ')
SUSPEND QMGR CLUSTER(CLUSNAME)
REMOVE CLUSSDR CHANNEL
DELETE CLUSRCVR CHANNEL
REFRESH CLUSTER(CLUSNAME) REPOS(YES)
WHICH ONE IS CORRECT CAN ANY ONE HELP ME ABT THIS.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 18, 2009 1:24 am Post subject: Re: REFRESH CLUSTER Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

varunv wrote:
WHICH ONE IS CORRECT CAN ANY ONE HELP ME ABT THIS.


One of those procedures is given in the Clusters manual as the correct way to do it. The other is given as a last resort when the correct means has failed.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sumit
PostPosted: Fri Jun 19, 2009 7:30 am Post subject: Re: REFRESH CLUSTER Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

varunv wrote:
In which scenario we use REFRESH CLUSTER.

All previous posts explains well about REFRESH CLUSTER. See it like, RE-FRESH CLUSTER, means 'refresh' all cluster info by dropping whtever qmgr had and taking all new.

varunv wrote:
How to remove qmanager from FR

Question is not clear. You remove qmgr from cluster but not from FR. FR automatically reflects the cluster info.

varunv wrote:
can i use RESET CLUSTER(CLUSNAME) QMNAME(QMNAME) ACTION(FORCEREMOVE)

Only required when something terrible had happened and ur qmgr is not a part of cluster but FR is still holding it's definition. (it's one of the few possible scenarios)

Last resort, MQ mannuals.. there is seperate section for both.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
exerk
PostPosted: Fri Jun 19, 2009 7:46 am Post subject: Re: REFRESH CLUSTER Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

sumit wrote:
...Last resort, MQ mannuals...


WRONG! FIRST resort, the manuals...LAST resort, MQSeries.net.
_________________
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
View user's profile Send private message
sumit
PostPosted: Fri Jun 19, 2009 7:57 am Post subject: Re: REFRESH CLUSTER Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

exerk wrote:
sumit wrote:
...Last resort, MQ mannuals...


WRONG! FIRST resort, the manuals...LAST resort, MQSeries.net.

True, .
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexClusteringREFRESH CLUSTER
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.