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 » General IBM MQ Support » help with remote queue managers

Post new topic  Reply to topic
 help with remote queue managers « View previous topic :: View next topic » 
Author Message
Artemio
PostPosted: Thu Sep 11, 2003 3:30 pm    Post subject: help with remote queue managers Reply with quote

Novice

Joined: 11 Sep 2003
Posts: 21

I have this code to connect 2 machines, but doesn´t work, is it correct?
I going to work in C code and UNIX for this

crtmqm -u SYSTEM.DEAD.LETTER.QUEUE jupiter.queue.manager
strmqm jupiter.queue.manager
strmqcsv jupiter.queue.manager

crtmqm -u SYSTEM.DEAD.LETTER.QUEUE saturn.queue.manager
strmqm saturn.queue.manager
strmqcsv saturn.queue.manager


/** saturn.queue.manager **/
DEFINE QLOCAL (SATURN.QUEUE) +
DESCR ('Queue manager in machine 1');

DEFINE QREMOTE (CYAN.REMOTE.QUEUE) +
DESCR ('Cola para peticiones') +
RNAME (JUPITER.QUEUE) +
RQMNAME (jupiter.queue.manager) +
XMITQ (INQUOTE.XMIT.QUEUE);

DEFINE CHANNEL (SATURN.TO.JUPITER) +
CHLTYPE(SDR) +
CONNAME (144.144.144.144) +
XMITQ (INQUOTE.XMIT.QUEUE) +
TRPTYPE(TCP);

DEFINE CHANNEL (JUPITER.TO.SATURN) +
CHLTYPE(RCVR) +
TRPTYPE(TCP);

DEFINE QLOCAL (INQUOTE.XMIT.QUEUE) +
USAGE(XMITQ);
/*******************************/

/******* jupiter.queue.manager ******/
DEFINE QLOCAL (JUPITER.QUEUE) +
DESCR ('Queue manager un machine 2');

DEFINE QREMOTE (GREEN.REMOTE.QUEUE) +
DESCR ('Cola para peticiones') +
RNAME (SATURN.QUEUE) +
RQMNAME (saturn.queue.manager) +
XMITQ (INQUOTE.XMIT.QUEUE);

DEFINE CHANNEL (JUPITER.TO.SATURN) +
CHLTYPE(SDR) +
CONNAME (155.155.155.155) +
XMITQ (INQUOTE.XMIT.QUEUE) +
TRPTYPE(TCP);

DEFINE CHANNEL (SATURN.TO.JUPITER) +
CHLTYPE(RCVR) +
TRPTYPE(TCP);

DEFINE QLOCAL (INQUOTE.XMIT.QUEUE) +
USAGE(XMITQ);
/***********************************/


runmqchl -c jupiter.queue.manager -m saturn.queue.manager &
runmqchl -c saturn.queue.manager -m jupiter.queue.manager &

I do all these, is it ok my configuration of queue remote?
I want interchange message of two machines.

please help me!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
clindsey
PostPosted: Thu Sep 11, 2003 6:12 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Answered in this thread:
http://www.mqseries.net/phpBB2/viewtopic.php?t=10702&highlight=
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 » General IBM MQ Support » help with remote queue managers
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.