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 » Put message in cluster queue

Post new topic  Reply to topic
 Put message in cluster queue « View previous topic :: View next topic » 
Author Message
kishoret
PostPosted: Tue Jan 08, 2002 7:57 am    Post subject: Reply with quote

Newbie

Joined: 07 Jan 2002
Posts: 4

I created cluster CLUS having queue manager QM1 on machine1 and QM2 on remote machine.I created a local queue QM2_Q1 which is shared as a cluster queue in cluster CLUS on QM2.
I want to put a msg in QM2_Q1 cluster queue which is accessable in entire cluster.
What I did was:
I made a connection to QM1 and try to put msg in QM2_Q1. I am getting error 2085.
The working env., is WinNT4.0
Any help is highly appreciated.

My basic question is How do I put the msg in a cluster queue ???
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jan 08, 2002 10:13 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

What you are doing is correct, provided the Cluster has been set up correctly.

The return code means exactly the same in a Clustered environment as it does in a single Queue manager.

Start with the ususal 'Are all the object names specified in the correct case'.

Do the Cluser Sender and Receiver channels start up correctly.

Cheers,

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
kishoret
PostPosted: Tue Jan 08, 2002 2:07 pm    Post subject: Reply with quote

Newbie

Joined: 07 Jan 2002
Posts: 4

Thanks for your response.I think I found out the problem with that error. There is no Option flag available for mqput1 to open cluster queue. So I got to open with MQOpen and set Options flag and then put msg in cluster queue using mqput.Do I need to set option flag for cluster queue???
What I am doing is Client-server application using MQI on WinNT.
In order to connect to Queue manager ,I do need to declare serverconnection channel,don't I ?? Is there anyway I can directly connect to Cluster instead of mentioning specific Queuemanager and put a msg in clusterqueue??
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Jan 10, 2002 11:25 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

There is no 'option' flag that would prevent a 2085 error. That error is 'object not found'.

You cannot specify what type of queue you are opening in your application. That's the beauty of MQSeries. Your application doesn't change when the Administrator changes the configuration. So you open a Local queue the same as a Remote queue, an Alias queue, or a Clustered queue.

The only option that could be needed for clustering is the queue binding options. This is irrelevent on an MQPUT1 as you can only put 1 message.

Yes, you still need the Server Connection channel defined in your Queue manager for a Client to connect to.

Even in a cluster, the Client still has to know which Queue Manager to connect to, so you will still need a name, or a Client Connection table. You do not connect to a 'cluster'.

In this, or any, cluster scenario, when you connect to a Queue Manager and put a message to a Queue defined as clustered, if there is a local definition of this queue on the queue manager you are connected to, then the message will ALWAYS go to the local queue. It will not be balanced between multiple copies of the queue.

Cheers,

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Put message in cluster queue
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.