|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Queue Shared in the cluster! |
« View previous topic :: View next topic » |
Author |
Message
|
leoChina |
Posted: Wed Sep 24, 2008 6:42 pm Post subject: Queue Shared in the cluster! |
|
|
Novice
Joined: 04 Sep 2008 Posts: 14
|
Hi,guys
You know that I have had a cluster named CLUSTER_TEST,and I create a queue in both QM(you can call them QMA and QMB) in this cluster in order to send message to each QM averagely.
but I found a problem.when I use hostname(PORT) to define the channel which used by cluster,the massage which I send it to QMA will be found in QMB.
also the massage which I send it to QMB will be found in QMA.
but when I use IP(PORT) to define the channe,everything will be right.One will be found in QMA and another in QMB
oh,I have defined EVERY hostname in /etc/hosts
what should I do to still use hostname and make messages sent to each QM averagely.
thanks all |
|
Back to top |
|
 |
AkankshA |
Posted: Wed Sep 24, 2008 8:04 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
can you paste your exact commands here... along with /etc/hosts content
i have used host names and never faced such issue.. _________________ Cheers |
|
Back to top |
|
 |
leoChina |
Posted: Thu Sep 25, 2008 6:06 pm Post subject: |
|
|
Novice
Joined: 04 Sep 2008 Posts: 14
|
AkankshA wrote: |
can you paste your exact commands here... along with /etc/hosts content
i have used host names and never faced such issue.. |
Hi,AkankshA
when i test the issue,i used localhost to define the channels so...
i can show you the commands
su - mqm
runmqsc POCSiebel
DEFINE CHANNEL('TO.POCSiebel') CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CONNAME('localhost(1414)') CLUSTER('CLUSTER_BSSEAI')
DEFINE CHANNEL('TO.QM_BRK_11') CHLTYPE(CLUSSDR) TRPTYPE(TCP) CONNAME('localhost(14311)') CLUSTER('CLUSTER_BSSEAI')
end
runmqsc QM_BRK_11
DEFINE CHANNEL('TO.QM_BRK_11') CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CONNAME('localhost(14311)') CLUSTER('CLUSTER_BSSEAI')
DEFINE CHANNEL('TO.POCSiebel') CHLTYPE(CLUSSDR) TRPTYPE(TCP) CONNAME('localhost(1414)') CLUSTER('CLUSTER_BSSEAI')
end
and very thanks for you help again! |
|
Back to top |
|
 |
exerk |
Posted: Thu Sep 25, 2008 11:47 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Having read your original post a few times, I'm a little unsure by what you mean when you state:
Quote: |
...when I use hostname(PORT)...the massage which I send it to QMA will be found in QMB. also the massage which I send it to QMB will be found in QMA... |
You then state:
Quote: |
...but when I use IP(PORT) to define the channe,everything will be right. One will be found in QMA and another in QMB... |
If the cluster queue exists in both queue managers, which is what you imply, then everything is working correctly.
Can you please be a little clearer on what you mean by the message you expected to see in QMA appeared in QMB? _________________ 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 |
|
 |
leoChina |
Posted: Fri Sep 26, 2008 12:00 am Post subject: |
|
|
Novice
Joined: 04 Sep 2008 Posts: 14
|
ehh...i want messages sent averagely to QMA and QMB,so the queue in the QMA and QMB have a same name and they both shared in cluster.
in fact,whether you put a message to QMA or QMB,it should be sent to QMA and the next message you put should to QMB...the next to QMA....next to QMB...
but now,if i put messages to QMA,it will be in QMB,QMB,QMB...and never to QMA. |
|
Back to top |
|
 |
exerk |
Posted: Fri Sep 26, 2008 12:20 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
OK, thank you - I now understand a little better.
1. Have you checked the cluster queue definitions to ensure that BIND(NOT FIXED) is set?
2. What are your CLWLUSEQ settings at queue manager and queue level? (assuming V6.0).
3. From where are you putting the messages to the cluster queue? _________________ 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|