Author |
Message
|
ajith_rajan |
Posted: Mon Sep 29, 2003 4:17 am Post subject: Status of the Sender Cluster |
|
|
Apprentice
Joined: 05 Sep 2003 Posts: 32
|
Hi
I have changed the connection name parameter of all the sender, receiver, cluster sender and the cluster receiver channels.
I am able to start all the sender and the receiver channels.
I tried starting the cluster sender channels as well.
Its showing the status as 'BINDING' . But the messages in the log file says that the Cluster sender channel is started.
Can anyone let me know what does this status mean.
And also why the status is not reveled as RUNNING.
Please help.
Regards
Ajith |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Sep 29, 2003 5:06 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Since you changed the conname, you need to refresh the cluster cache. As the old conname would still be hanging around. You could either suspend/resume or refresh so that the new and changed params are propogated.
Cheers
Kumar |
|
Back to top |
|
 |
ajith_rajan |
Posted: Mon Sep 29, 2003 5:25 am Post subject: Command for Cluster Refresh. |
|
|
Apprentice
Joined: 05 Sep 2003 Posts: 32
|
Can U please let me know the command to refresh the cluster cache???
Rgds
Ajith |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Sep 29, 2003 5:40 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Refresh cluster(<cluster name>)
Cheers
Kumar |
|
Back to top |
|
 |
ajith_rajan |
Posted: Mon Sep 29, 2003 5:43 am Post subject: |
|
|
Apprentice
Joined: 05 Sep 2003 Posts: 32
|
Thanks for your immediate response, kumar.
I have one more clarifications.
I have two queue managers in my cluster repository.
Is it required to run this command after entering the command line of both the queue managers.
Suppose that i have two QM A and B, part of the cluster C.
I first enter the command line of QM A by entering runmqsc A.
Then I run the command Refresh Cluster(C)
Then I enter the command line of the second queue manger.
And once again I need to run the Refresh command for the cluster.
Is this required to run twice or not???
Please let me know.
Rgds
Ajith |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Sep 29, 2003 6:06 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
You just need to issue this command on those qm's that are affected by your conname change. So, in this case it would be the two qms that have this channel. One would have the clussdr and the other clusrcvr.
Issuing this only once should be enough.
Cheers
Kumar |
|
Back to top |
|
 |
ajith_rajan |
Posted: Mon Sep 29, 2003 6:10 am Post subject: |
|
|
Apprentice
Joined: 05 Sep 2003 Posts: 32
|
Refreshing the cluster is not working.
I have run the following command in both the QM which were part of the cluster.
Refresh Cluster(Cluster_name).
When I tried starting the cluster sender channel, its trying to bind to the old IP address only. Is there anything else that needs to be done.
Please help.
Rgds
Ajith |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Sep 29, 2003 6:27 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
You could try a few things.
1) Manually stop and start the cluster sender channels after you did the refresh.
2) Restart the qm and then restart the cluster sender channels.
If the above 2 doesnt work, then you might have to suspend/resume the cluster.
If that too doesnt work then the only option left would be to remove each qm from cluster and create a new cluster.
By the way, when you said you changed the conname. Did you change the IP/hostname or the port number. In either case, just make sure that you dont have a listener running by any chance on the OLD port number.
Cheers
Kumar |
|
Back to top |
|
 |
ajith_rajan |
Posted: Mon Sep 29, 2003 6:32 am Post subject: |
|
|
Apprentice
Joined: 05 Sep 2003 Posts: 32
|
Yes, I changed only the IP address in the conname parameter setting in the channel definition. I have not changed any port number.
I had already tried manually stopping and starting the cluster sender channels. But this is not working. Anyway, now I would try stopping the queue manager and would try restarting it as well.
Anyway, let me know the following.
1) How do I suspend/resume the cluster.
2) How do I remove qm from the cluster and how do I add them. I only issue the following command to make a qm part of the cluster.
ALTER QMGR REPOST(CLUSTER_NAME)
Is this the right way to add a QM into a cluster. If not, please let me know.
Thanks
Ajith |
|
Back to top |
|
 |
ajith_rajan |
Posted: Mon Sep 29, 2003 6:48 am Post subject: |
|
|
Apprentice
Joined: 05 Sep 2003 Posts: 32
|
I have tried restarting the Queue managers as well.
Even this is not working.
Let me know if I could drop and recreate the cluster sender and the cluster receiver channel definitions.
Please confirm that this is not going to cause any harm.
I would try rebooting the MQ machine and try this out.
Please let me know if there are anything else that could be done.
Rgds
Ajith |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Sep 29, 2003 6:51 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
|
Back to top |
|
 |
ajith_rajan |
Posted: Mon Sep 29, 2003 6:52 am Post subject: |
|
|
Apprentice
Joined: 05 Sep 2003 Posts: 32
|
Thanks for the link.
I would go through it.
Hope fully I do get some useful info from it.
Rgds
Ajith |
|
Back to top |
|
 |
ajith_rajan |
Posted: Mon Sep 29, 2003 7:38 am Post subject: |
|
|
Apprentice
Joined: 05 Sep 2003 Posts: 32
|
Hi
I do not find any information regarding the refresh of the cluster information. Please help if you know the problem.
Rgds
Ajith
P.S. I am able to start individual sender and the receiver channels. I am not able to start any cluster sender channels.
I have only 2 QM in the cluster. |
|
Back to top |
|
 |
mqonnet |
Posted: Mon Sep 29, 2003 8:20 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Ok, lets do this.
Issue ping channel from one of the cluster qms and see what you get. If you get a response that means your cluster set up is appropriate. But if it doesnt then theres something missing someplace. In any case a refresh should have gotten the change into place.
The link that i posted earlier is not for Refresh cluster, it is for removing a qmgr from a cluster which was one of my earlier suggestions.
If you had just changed a port number then you did not have to do any changes at all. But since you changed the IP itself, you have to rebuild the cache. What i am not sure of is, whether clustering allows this or not. Cz i have not come accross this myself. You might want to look up the cluster manuals to see if there are any consequences of changing IP or any such attribute and what to do under those circumstances. Theoretically you should be able to do this, since rebuilding of the cache is an option.
Remember, restarting or rebooting the system wont help in any ways if you have a qmgr that is in a messy state of cluster. You have to manually remove the qmgr from cluster(which is explained in the link i posted earlier) and then reconfigure your qmgr for another cluster. Or the other option is to Fix the messed up state.
Cheers
Kumar |
|
Back to top |
|
 |
ajith_rajan |
Posted: Mon Sep 29, 2003 8:43 am Post subject: |
|
|
Apprentice
Joined: 05 Sep 2003 Posts: 32
|
As u said, the restart of the machine has not worked out.
I don't want to remove the qm from the cluster and add it to a different cluster as there would be so many changes that would be required to be done in that case.
Is there any way to fix the messy state of the QM???
How about dropping these cluster sender and the cluster receiver channels and recreating with the same name. Will this work???
Please let me know.
Rgds
Ajith |
|
Back to top |
|
 |
|