Author |
Message
|
sandy12 |
Posted: Wed Sep 17, 2008 9:49 am Post subject: CONNAME(---) |
|
|
Novice
Joined: 01 Sep 2008 Posts: 14 Location: Hyderabad, India
|
Hi All,
Just Now I'm learning Clustering concepts, so here the thing is that I’m having 2 QMGR’s i.e. NEYORK and LONDON in same my windows box (having MQ client & MQ Server) I’m want to make those QMGR’s are FR’s on EARTH (cluster)
To create NEWYORK QMGR
Crtmqm –u SYSTEM.DEAD.LETTER.QUEUE –ll –lp 5 NEWYORK
…
ALTER QMGR REPOS(EARTH)
To create LONDON QMRGR
Crtmqm –u SYSTEM.DEAD.LETTER.QUEUE –ll –lp 5 LONDON
….
ALTER QMGR REPOS(EARTH)
………………………………..
In NEWYORK
- TO.LONDON was CLUSSDR
- TO.NEWYORK was CLUSRCVR
- Listener was running at 1417
In LONDON
- TO.NEWYORK was CLUSSDR
- TO.LONDON was CLUSRCVR
- Listener was running at 1418
Can u please tell what was the parameter in CONNAME in CLUSSDR & CLUSRCVR in both QMGR’s. I’m having knowledge in distributed environment so use like ‘localhost(1417)’ & ‘localhost(1418)’, but was always in retrying state. Please help me.
Then after I wish to add another QMGR to the Cluster group as a PR and how can I define the CLUSSDR & CLUSRCVR.
Please Help Me…  _________________ Thanks
Sandy............... |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Sep 17, 2008 1:17 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I believe Sandy that the definitions of the channels are given in the cluster manual.
What have you tried?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sandy12 |
Posted: Fri Sep 19, 2008 8:38 pm Post subject: |
|
|
Novice
Joined: 01 Sep 2008 Posts: 14 Location: Hyderabad, India
|
i used what we use in distibuted environment, in the clustering manual they gave like that INVENTRY.IBM.COM as a CONNNAME but how can try that one bcoz that was not QMGR's address, can help on that. _________________ Thanks
Sandy............... |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Sep 20, 2008 6:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Well typically you have this in the conname:
CLUSRCVR conname('this qmgr's hostname(port for this qmgr)')
CLUSSDR conname('full repository host name(port for FR qmgr)')
Hope that helps you.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sandy12 |
Posted: Thu Sep 25, 2008 9:44 pm Post subject: |
|
|
Novice
Joined: 01 Sep 2008 Posts: 14 Location: Hyderabad, India
|
Here the thing is that both QMGR's are FR's, so how can i communicate those. (Host Name: "localhost" for both) _________________ Thanks
Sandy............... |
|
Back to top |
|
 |
exerk |
Posted: Fri Sep 26, 2008 12:10 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
EXAMPLE
FR1
DEFINE CHL(TO.FR1) CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CLUSTER(CL1) CONNAME('LOCALHOST(1417)')
DEFINE CHL(TO.FR2) CHLTYPE(CLUSSDR) TRPTYPE(TCP) CLUSTER(CL1) CONNAME('LOCALHOST(1418)')
FR2
DEFINE CHL(TO.FR2) CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CLUSTER(CL1) CONNAME('LOCALHOST(1418)')
DEFINE CHL(TO.FR1) CHLTYPE(CLUSSDR) TRPTYPE(TCP) CLUSTER(CL1) CONNAME('LOCALHOST(1417)')
PR1
DEFINE CHL(TO.PR1) CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CLUSTER(CL1) CONNAME('LOCALHOST(1419)')
DEFINE CHL(TO.FR1) CHLTYPE(CLUSSDR) TRPTYPE(TCP) CLUSTER(CL1) CONNAME('LOCALHOST(1417)')
PR1 could be connected to either FR: a CLUSSDR in any queue manager must 'point' to an FR in the cluster. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
|