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 » IBM MQ Installation/Configuration Support » New Installation

Post new topic  Reply to topic
 New Installation « View previous topic :: View next topic » 
Author Message
jason_e
PostPosted: Tue Aug 19, 2003 12:36 pm    Post subject: New Installation Reply with quote

Apprentice

Joined: 19 Aug 2003
Posts: 33

Hi,
Please excuse the lengthy post, I have been reading MQ documentation for 2 days straight and are still very uncertain. I have to setup the following environment and would appreciate it if anybody can offer me some advice.

Platform: Windows 2000 Server running MQSeries Version 5.2.1
Transport: TCPIP
Server: 2 (represented by Y and X in my description below)
Clients: 5 (represented by C1, C2, C3, C4, C5)

X must send some data (small XML file) to Y which will process it and send some XML back to X. It must be guaranteed that no messages will be duplicated and the messages will be processed in the order that they arrived.

(Y will retrieve messages from the a queue using a Java application, from what I have read it seems like it will be using JMS)

Y must also send a changed XML file to C1, C2, C3, C4, and C5. C1 to C5 must be able to receive messages and run a program that processes the message. The Java program running on C1 to C5 would also need to send messages back to Y which would then need to send them to X.

Currently my biggest problem is related to configuring the channel/queue that would be used to send messages from X to Y.

Currently I have the following:
X: defined a sender channel, create the remote queue definition, defined transmission queue
Y: defined a receiver channel, created destination queue

I can ping the channel successfully, this tells me that the channel between the X and Y is working. I now need to put a test message on the remote definition queue that exists on X to test whether it is transferred to Y. I tried to use the Right Click-Put Test Message approach but the option is not available for remote queue definitions it seems. How do I test the remote queue definition?

In summary, below is all my question.

Question 1
--------------
How can I test whether my setup is working? (Specifically the remote queue definition on X) Would I have to write I java program or is there a quick way just to test?

Question 2
--------------
What is the best way to retrieve messages from the queue at Y to process them? (Message are received every 2 minutes and are very time sensitive)

Question 3
--------------
How do I keep I archive of all the messages that I send and receive? (Currently I’m thinking about handling it at application level)

Question 4
--------------
Would the MQ client be able to receive message and send messages? (I’m thinking about using a trigger to launch the application when a message arrives at C1 to C5, that same instance of the application would then send back a message to Y.)

Question 5
--------------
What is the best way of taking the messages received from C1 to C5 at Y and transferring them to X?

Question 6
--------------
What security issues should I consider? In our experience what is the best method to handle security in my situation? (The network communication would be a secure virtual private network)

Question 7
--------------
How is the best option for compression to increase the speed of message transmission? (I know there are SupportPac’s to handle this.)

Thanks
Jason
Back to top
View user's profile Send private message
bduncan
PostPosted: Tue Aug 19, 2003 1:28 pm    Post subject: Reply with quote

Padawan

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

Question 1 - I would use the amqsput and amqsget sample programs that ship with MQSeries to test the connection. On X, just run "amqsput REMOTE_Q_NAME QMGR_NAME" from the command line, and then type some text and hit enter. This should send the line of text as a message.
Question 2 - I would create a trigger on Y's queue to launch your processing application whenever the queue depth goes from 0 to 1 (trigger type first)
_________________
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
jason_e
PostPosted: Tue Aug 19, 2003 9:49 pm    Post subject: Queue now working Reply with quote

Apprentice

Joined: 19 Aug 2003
Posts: 33

Thanks Brandon, I tested my queue as you suggested and it is working nicely.
Back to top
View user's profile Send private message
interactivechannel
PostPosted: Wed Aug 20, 2003 12:22 am    Post subject: Reply with quote

Voyager

Joined: 20 May 2003
Posts: 94
Location: uk

3- See 'Distribution Lists' in the Application Programming Guide.
4- Yes.
5- By reversing the setup you have from X to Y. I.e. Another RemoteQ, XMITQ and LocalQ.
6- You'll need to decide how sensitive your data is and do a risk assessment. The MQ Security Redbook should help.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 20, 2003 11:05 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

7- How big are your messages? MQSeries is optimized to speedily transmit messages of up to about 4 megs in size. There are performance support packs that will tell you how the performance degrades as the size goes between 4 megs and 100 megs (the maximum).

With modern hardware, generally I wouldn't worry about compression unless your messages are regularly larger than 20-30 megs. Or if your network is running very slow - over a modem most likely.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Aug 20, 2003 11:23 am    Post subject: Reply with quote

Jedi

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

3 - Depends how you want to archive. There was a question asked here a few days ago (but I can't find it at the moment) and the suggestion was to use the API exit to 'dump' messages to a file.

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 » IBM MQ Installation/Configuration Support » New Installation
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.