Author |
Message
|
gbenn |
Posted: Thu Jul 25, 2002 9:35 am Post subject: Shared Queue within Cluster only does PUT in one direction |
|
|
 Novice
Joined: 19 Jul 2002 Posts: 12 Location: Ann Arbor, Michigan USA
|
Since I've resolved my issues with Clusters and repositories not finding one another I'm now on to new areas of problems.
Maybe this one has an easy solution? I've been following IBM's documentation of clusters and according to the documentation it should just work. I have two repository servers, and I'm only able to put messages (via the PUT TEST MESSAGE drop down in the GUI) from the primary server to the secondary server's shared queue. Why is it when I create a queue on the primary server and share it I'm unable to PUT a test message from the secondary server. It doesn't even give me the "PUT test message" option. |
|
Back to top |
|
 |
bduncan |
Posted: Thu Jul 25, 2002 12:22 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Is the name of the second queue you are creating the same as the name of the first? This would explain your problem because if there are two instances of the same queue, most sample put programs/tools which come with MQSeries have MQOO_BIND_ON_OPEN set, so the program will always open the local instance of the queue rather than remote instance.
Otherwise I'd say something else is going on, and would recommend using the amqsput program to explicitly try to put a message to the queue and see what reason code you get... _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
gbenn |
Posted: Fri Jul 26, 2002 4:06 am Post subject: |
|
|
 Novice
Joined: 19 Jul 2002 Posts: 12 Location: Ann Arbor, Michigan USA
|
I took your advice and I used the amqsput on both servers. The one server, the put worked juts fine like before. However on the other server this is what happened:
C:\>AMQSPUT SECOND.TEST.QUEUE
Sample AMQSPUT0 start
target queue is SECOND.TEST.QUEUE
MQOPEN ended with reason code 2085
unable to open queue for output
Sample AMQSPUT0 end
C:\>
The shared queue is visible in the Explorer of the other computer but that is all. |
|
Back to top |
|
 |
gbenn |
Posted: Fri Jul 26, 2002 4:14 am Post subject: |
|
|
 Novice
Joined: 19 Jul 2002 Posts: 12 Location: Ann Arbor, Michigan USA
|
Hey, nevermind.... I ran the amqsput program again and typed the queue name in lower case as I defined it in the explorer and all worked fine. I would think that the explorer's functionality should mimic that of the command line's, how come IBM hasn't fixed that problem with test puts? Thanks bduncan |
|
Back to top |
|
 |
CoolRunnings |
Posted: Fri Jul 26, 2002 4:15 am Post subject: |
|
|
Newbie
Joined: 25 Jul 2002 Posts: 2 Location: Germany
|
Hi there,
is the Queue (with reason 2085) visible as cluster queue on the second server?
Check your cluster sender and receiver channels of course...
cu |
|
Back to top |
|
 |
CoolRunnings |
Posted: Fri Jul 26, 2002 4:19 am Post subject: |
|
|
Newbie
Joined: 25 Jul 2002 Posts: 2 Location: Germany
|
ups....ok...forget my post....
MQ is always case-sensitiv. |
|
Back to top |
|
 |
|