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 » Broker Network on Distributed Queue Managers

Post new topic  Reply to topic
 Broker Network on Distributed Queue Managers « View previous topic :: View next topic » 
Author Message
solkit
PostPosted: Wed Jun 14, 2006 6:16 am    Post subject: Broker Network on Distributed Queue Managers Reply with quote

Novice

Joined: 25 May 2006
Posts: 21

I made 2 Queue managers as belows.

--------------------------------------------------

1. QM01.A

crtmqm QM01.A
strmqm QM01.A
runmqlsr -m QM01.A -t tcp -p 6001 &
runmqsc QM01.A
DEF CHL(M01.TO.M02) CHLTYPE(SDR) REPLACE TRPTYPE(TCP) CONNAME('10.148.27.181(6002)') XMITQ(QM02.A)
DEF QL(QM02.A) REPLACE USAGE(XMITQ)
DEF QL(DLQ01) REPLACE
ALTER QMGR DEADQ(DLQ01)
PING CHL(M01.TO.M02)
START CHL(M01.TO.M02)
DIS CHS(M01.TO.M02)
DEF QR(QR.A_M03) REPLACE RNAME(QL.B) RQMNAME(QM02.A) XMITQ(QM02.A)

2. QM02.A

crtmqm QM02.A
strmqm QM02.A
runmqlsr -m QM02.A -t tcp -p 6002 &
runmqsc QM02.A
DEF CHL(M01.TO.M02) CHLTYPE(RCVR) REPLACE TRPTYPE(TCP)
DEF QL(QL.B)

---------------------------------------------------------

and try to make Network Broker on it.

---------------------
* strmqbrk -m QM02.A
* strmqbrk -p QM02.A -m QM01.A
---------------------

But the broker is ended automatically.

I practice it two times on two server.

QM01.A is ended automatically on Server archilinux2 as belows

---------------------------------------------------------------------------------

[mqm@archlinux2 ~]$ strmqbrk -m QM01.A
WebSphere MQ Publish/Subscribe broker started for queue manager QM01.A.
[mqm@archlinux2 ~]$ dspmqbrk -m QM01.A
WebSphere MQ Publish/Subscribe broker for queue manager QM01.A running.
[mqm@archlinux2 ~]$ dspmqbrk -m QM01.A
WebSphere MQ Publish/Subscribe broker for queue manager QM01.A running.
[mqm@archlinux2 ~]$ dspmqbrk -m QM01.A
WebSphere MQ Publish/Subscribe broker for queue manager QM01.A running.
[mqm@archlinux2 ~]$ dspmqbrk -m QM01.A
WebSphere MQ Publish/Subscribe broker for queue manager QM01.A running.
[mqm@archlinux2 ~]$ dspmqbrk -m QM01.A
WebSphere MQ Publish/Subscribe broker for queue manager QM01.A running.
[mqm@archlinux2 ~]$ dspmqbrk -m QM01.A
WebSphere MQ Publish/Subscribe broker for queue manager QM01.A not active.
[mqm@archlinux2 ~]$ dspmqbrk -m QM01.A
WebSphere MQ Publish/Subscribe broker for queue manager QM01.A not active.

----------------------------------------------------------------------

QM02.A is ended automatically on server2 as belows

----------------------------------------------------------------

[mqm@archlinux bin]$ strmqbrk -m QM02.A
WebSphere MQ Publish/Subscribe broker started for queue manager QM02.A.
[mqm@archlinux bin]$ dspmqbrk -m QM02.A
WebSphere MQ Publish/Subscribe broker for queue manager QM02.A running.
[mqm@archlinux bin]$ dspmqbrk -m QM02.A
WebSphere MQ Publish/Subscribe broker for queue manager QM02.A running.
[mqm@archlinux bin]$ dspmqbrk -m QM02.A
WebSphere MQ Publish/Subscribe broker for queue manager QM02.A not active.

--------------------------------------------------------------------

What's wrong with this?

Do you have any Idea?
_________________
^^ have a good day ^^
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Nigelg
PostPosted: Wed Jun 14, 2006 8:02 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

You also need to have a channel from QM02.A to QM01.A.
It would be a good idea to make the channels triggered, i.e. by adding
TRIGGER TRIGTYPE(FIRST) INITQ(SYSTEM.CHANNEL.INITQ to the xmitq defs on each qmgr.
_________________
MQSeries.net helps those who help themselves..
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 » Broker Network on Distributed 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.