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 Index » Clustering » Cluster Scanario

Post new topic  Reply to topic
 Cluster Scanario « View previous topic :: View next topic » 
Author Message
paul52
PostPosted: Tue Aug 06, 2002 7:07 am    Post subject: Cluster Scanario Reply with quote

Novice

Joined: 01 Jul 2002
Posts: 22

Hi All

Thank you very much for you help. Here is my cluster scanario.
Basically I am trying to DEMO the cluster MQPUT( in Remoete Cluster Queue Manager) & MQGET (From Local QM) scanario.

1.Cluster QM Name (QM1), Hosted cluster Q(CL-01, CL-02, CL_03)
2. Cluster QM Name (QM2), Hosted cluster Q (CL_02, CL_03, CL_04)
3.Cluster QM Name (QM3), Hosted cluster Q (CL_03, CL_04, CL_05)
4. Cluster QM Name (QM4), Hosted cluster Q (CL_01, CL_03, CL_04



I am trying to Issue AMQSPUT to CL_02 in Unix platform from QM1.

At QM1: RUNMQSC QM1
./amqsput CL_02 but i got the following error message (code 2085).
Amqsput & AmqsGet at CL-01 works fine.


*****ERROR MESSAGE *****************
$ ./amqsput CL_02
Sample AMQSPUT0 start
target queue is CL_02
MQOPEN ended with reason code 2085
unable to open queue for output
Sample AMQSPUT0 end
*** END OF ERROR MESSGAGE ****************


HOw do i achive above scanario. Is it necessary to specifiy cluster queue mananager Name
when issuing AMQPUT to Remote Cluster Queue manager (QM2)


Thanks again.
Back to top
View user's profile Send private message
bduncan
PostPosted: Tue Aug 06, 2002 9:51 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Paul, you should probably read up on clustering. There is a lot you need to learn about how the queue manager binds a queue handle to a particular instance of a clustered queue, and whether it is a local or remote one, and whether it changes on subsequent MQPUTs etc. I would recommend the MQSeries Using MQSeries Clusters manual.
I can quickly point out however that what you are trying isn't EVER going to work. The amqsput sample program as it ships with MQSeries uses MQOO_BIND_ON_OPEN which means that MQPUTs will always go to the same instance of the clustered queue, and in your case since CL_02 exists on QM1 as well, your amqsput program will always bind to the local instance not the instance on QM2. To do this you'll need to use MQOO_BIND_NOT_FIXED, or explicitly specify the queue manager/queue name pair on the MQOPEN.
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Cluster Scanario
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.