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 » help rgarding veryfying n testing the clusters

Post new topic  Reply to topic
 help rgarding veryfying n testing the clusters « View previous topic :: View next topic » 
Author Message
maxy_14in
PostPosted: Fri Nov 07, 2008 5:37 pm    Post subject: help rgarding veryfying n testing the clusters Reply with quote

Apprentice

Joined: 07 Nov 2008
Posts: 43

I'm new to MQ i was trying the Cluster Concept from IBM, i have created the cluster succesfully nd run

TASK 1:

Test your setup by sending some messages between the two queue managers, using amqsput. In the following example LONDON puts a message to the INVENTQ at NEWYORK:

1. On LONDON issue the command:
* amqsput INVENTQ LONDON
2. Type some messages
3. On NEW YORK issue the command:
* amqsget INVENTQ NEWYORK
4. You should now see the messages you entered on LONDON


TASK 2 :

Test your setup by sending some messages between the two queue managers. In the following example LONDON puts a message to the INVENTQ at NEWYORK and receives a reply on its queue LONDON_reply.

1. Define a local queue called LONDON_reply
2. Set the MQOPEN options to MQOO_OUTPUT
3. Issue the MQOPEN call to open the queue INVENTQ
4. Set the ReplyToQ name in the message descriptor to LONDON_reply
5. Issue the MQPUT call to put the message
6. Commit the message

On NEWYORK:

1. Set the MQOPEN options to MQOO_BROWSE
2. Issue the MQOPEN call to open the queue INVENTQ
3. Issue the MQGET call to get the message from INVENTQ
4. Retrieve the ReplyToQ name from the message descriptor
5. Put the ReplyToQ name in the ObjectName field of the object descriptor
6. Set the MQOPEN options to MQOO_OUTPUT
7. Issue the MQOPEN call to open LONDON_reply at queue manager LONDON
8. Issue the MQPUT call to put the message to LONDON_reply

On LONDON:

1. Set the MQOPEN options to MQOO_BROWSE
2. Issue the MQOPEN call to open the queue LONDON_reply
3. Issue the MQGET call to get the message from LONDON_reply

TASK 1 was done succesfully can anyone help me with TASK 2. Thank You
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Nov 08, 2008 11:57 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

Start by reading the WMQ Clusters manual. There are examples of how to set up clusters.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sat Nov 08, 2008 1:51 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Bruce - the example in maxy_14in's message is *from* the manuals. Maxy_14in is reading and following the manuals, but does not understand how to write or use an MQ application to perform further testing after setting up the cluster per the example.

maxy_14in - there are several supportPacs that provide MQ applications that you can configure and use to test this.

MA01: http://www.ibm.com/support/docview.wss?rs=171&uid=swg24000647&loc=en_US&cs=utf-8&lang=en
MA0S: http://www.ibm.com/support/docview.wss?rs=171&uid=swg24006482&loc=en_US&cs=utf-8&lang=en
MA0T: http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24007048&loc=en_US&cs=utf-8&lang=en
MO03 : http://www.ibm.com/support/docview.wss?rs=171&uid=swg24009368&loc=en_US&cs=utf-8&lang=en

And a bunch more all at : http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg27007197

You may find the rfhutil included in IH03 to be "friendly" : http://www.ibm.com/support/docview.wss?rs=171&uid=swg24000637&loc=en_US&cs=utf-8&lang=en
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Nov 08, 2008 2:48 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9471
Location: US: west coast, almost. Otherwise, enroute.

Ah, yes, it sounded familiar.
Quote:
can anyone help me with TASK 2?

What happened in TASK 2 when you attempted this?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
maxy_14in
PostPosted: Mon Nov 10, 2008 10:38 am    Post subject: Reply with quote

Apprentice

Joined: 07 Nov 2008
Posts: 43

thnk u very much for ur replies ....

but my qstn is how to strt the task 2 i.e how can i set the MQOPEN options to MQOO_OUTPUT after defining a local queue can any1 of u plz help me with these tings in task 2
Back to top
View user's profile Send private message
mvic
PostPosted: Mon Nov 10, 2008 12:14 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

maxy_14in wrote:
thnk u very much for ur replies ....

but my qstn is how to strt the task 2 i.e how can i set the MQOPEN options to MQOO_OUTPUT after defining a local queue can any1 of u plz help me with these tings in task 2

You have to write an MQ application. Start with amqsput0.c as an example.
Back to top
View user's profile Send private message
ranganathan
PostPosted: Mon Nov 10, 2008 9:38 pm    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2008
Posts: 104

maxy_14in wrote:
thnk u very much for ur replies ....

but my qstn is how to strt the task 2 i.e how can i set the MQOPEN options to MQOO_OUTPUT after defining a local queue can any1 of u plz help me with these tings in task 2



Read through the links 'mqjeff' provided above, they can be used to test Task-2
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 » help rgarding veryfying n testing the clusters
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.