Author |
Message
|
aditya.aggarwal |
Posted: Wed Jun 16, 2010 1:13 pm Post subject: Default message in SYSTEM.CLUSTER.REPOSITORY.QUEUE |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
There is always a message comes by default at
SYSTEM.CLUSTER.REPOSITORY.QUEUE after creating a new queue
manager.
in other words.. Even on a queue manager that has no clustering
configuration, the SYSTEM.CLUSTER.REPOSITORY.QUEUE contains
messages.
Why?
Note: I know that Each queue manager stores its repository information in messages on a queue called SYSTEM.CLUSTER.REPOSITORY.QUEUE. I need to know the reason why a stanalone QM need to have a message in
SYSTEM.CLUSTER.REPOSITORY.QUEUE ? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jun 16, 2010 1:24 pm Post subject: Re: Default message in SYSTEM.CLUSTER.REPOSITORY.QUEUE |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
aditya.aggarwal wrote: |
I need to know the reason why a stanalone QM need to have a message in
SYSTEM.CLUSTER.REPOSITORY.QUEUE ? |
Why? What problem is it causing? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Wed Jun 16, 2010 1:36 pm Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
It is not causing any problem... Just for curosity i asked this question...
I saw other SYSTEM QUEUE most of them have zero messages after creating queue manager but SCRQ have one message after creating a new queue manager... !!!! |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jun 16, 2010 2:34 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Try this:
1) Create and start a new qmgr.
2) Display the contents of the queue in question.
Is there a message in it when the qmgr is new? If so, likely it is normal.
Again, this is something that you can test for yourself BEFORE you ask.
As a general answer: clustering softare exists in a qmgr whether you have any cluster objects defined. _________________ 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 |
|
 |
shashivarungupta |
Posted: Thu Jun 17, 2010 3:50 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
A new qmgr was being created and I too found the SCRQ has one message in it.
Qmgr Creation Date:Jun 15, 2010
Qmgr creation time: 9:33:40 PM
Message in SCRQ has following details..
message type : Datagram
Persustence : Persistent
Put date and time : Jun 17, 2010 4:07:50 PM
User Identifier: MUSR_MQADMIN
Application Type: MQAT_SYSTEM_EXTENSION/MQAT_SYSTEM (35)
Put application name : ebSphere MQ\bin\amqrrmfa.exe
amqrrmfa is the repository manager process (amqrrmfa).
A wild guess, May be the process used to first update the repository queue with cluster( though it does not exist now) and qmgr informations.
cant understand the message contents: first line of Hex representation has following data:
00000 52 46 51 52 01 00 00 00--20 30 00 00 69 A4 17 4C |RFQR.... 0..iñ.L|
I have created two qmgrs ( with no alteration/update in that) but then I found the same message contents in SCRQ.
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 17, 2010 5:21 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Next, try this:
4) delete the message from the queue
5) attempt to do something cluster-ish
6) examine the quque again
Did it work? _________________ 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 |
|
 |
shashivarungupta |
Posted: Thu Jun 17, 2010 5:45 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
bruce2359 wrote: |
4) delete the message from the queue
|
It shows OBJECT in USE cause its being used by process/application name "ebSphere MQ\bin\amqrrmfa.exe" (WebSphere MQ Cluster Repository).
Its IPPROC and OPPROC is 1, each.
Do you want me to kill the process and then try to delete the message?
After killing the process, I believe it requires the (re)start of the qmgr to resume the process.
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 17, 2010 5:52 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
Do you want me to... |
What I'd like to see you do is to develop a methodology for testing.
First: ask yourself is "what would happen if I try ____?" Write this question on a piece of paper.
Next: formulate a strategy (a plan) for testing and evaluating the results of the test.
Next: try ____
Next: document the results of your experiment, and what you learned from it.
Repeat this process endlessly. _________________ 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 |
|
 |
shashivarungupta |
Posted: Thu Jun 17, 2010 6:01 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
bruce2359 wrote: |
Quote: |
Do you want me to... |
What I'd like to see you do is to develop a methodology for testing.
First: ask yourself is "what would happen if I try ____?" Write this question on a piece of paper.
Next: formulate a strategy (a plan) for testing and evaluating the results of the test.
Next: try ____
Next: document the results of your experiment, and what you learned from it.
Repeat this process endlessly. |
I know and I got it...
but the Question remain there that is 'what' is the significance of THE message in the SCRQ even when the cluster setup is not being done in the system ( was it being done by IBM to debug some issue ? ) which was being originally asked by aditya being curious to know the reason(s) behind that.
and You must be knowing that a message from the queue can not be deleted or a queue cant be cleared when :
* There are uncommitted messages that have been put on the queue under sync point.
* An application currently has the queue open.
so steps 4,5,6 cant be done until above 2 scenarios are false. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 17, 2010 6:19 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
You must be knowing... |
No, I don't know with absolute certainty. But, having pondered this myself, I experimented, as I suggested you do.
I also read all of the relevant manuals, and reread them. I've tested (read: played with) a variety of cluster configurations until I got some comfort level with the expected behavior. I also attended IBMs WM250 Architecting Qmgr Clusters training class.
From all of this, I gathered (assumed) that the mysterious message in the queue is a "seed" message put there by the clustering software at some point - either when the qmgr is created OR when it was first started.
aditya.aggarwal has posted a variety of questions here, with little evidence of any testing or research (reading) first. _________________ 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 |
|
 |
bruce2359 |
Posted: Thu Jun 17, 2010 6:26 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
An additional thought:
It is far easier to ask someone else, than to do the research and testing yourself.
There is a proverb (I paraphrase): "Give a man a fish and he will eat today; teach a man to fish, and he will eat for a lifetime."
Giving aditya.aggarwal an answer is giving him/her a fish. Teaching hin/her to research and testing skills will last throughout a lifetime. _________________ 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 |
|
 |
shashivarungupta |
Posted: Thu Jun 17, 2010 6:32 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
By the way..
I have tried your point and killed that cluster repos. process and cleared the queue when IPCOUNT and OPCOUNT was 0.
For testing, I have restarted the queue manager to see whether the process puts the message again in the queue (before putting the qmgr to the cluster) AND yes it did so with the same message content.
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 17, 2010 6:34 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
cant understand the message contents: first line of Hex representation has following data:
00000 52 46 51 52 01 00 00 00--20 30 00 00 69 A4 17 4C |RFQR.... 0..iñ.L| |
I did a quick google search for RFQR+MQ, and found an interesting reference.
This is the basic research I'm suggesting. _________________ 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.
Last edited by bruce2359 on Thu Jun 17, 2010 6:48 am; edited 1 time in total |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 17, 2010 6:47 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Excellent! _________________ 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 |
|
 |
shashivarungupta |
Posted: Thu Jun 17, 2010 6:56 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
bruce2359 wrote: |
Quote: |
cant understand the message contents: first line of Hex representation has following data:
00000 52 46 51 52 01 00 00 00--20 30 00 00 69 A4 17 4C |RFQR.... 0..iñ.L| |
I did a quick google search for RFQR+MQ, and found an interesting reference.
This is the basic research I'm suggesting. |
Yes.. and my wild guess which I mentioned earlier was correct too.
First link, after googling... shows:
{" The top 'RFQR' message contains information
relating to the local queue manager and is usually filled with blanks.
This message is always there, even when you are not using cluster objects." } _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|