Author |
Message
|
samsam007 |
Posted: Wed Nov 12, 2008 9:40 pm Post subject: Secondary Qmgr is not visible in Cluster *tree* |
|
|
 Centurion
Joined: 30 Oct 2008 Posts: 107
|
Hi,
I used 2 MQSC scripts created 2 Qmgrs for a cluster (SIG), but when I go to MQ Explorer, click on the Queue Manager Clusters -> SIG, I only found the master Qmgr shown in the *tree*.
eg.
Queue Manager Clusters
- SIG
- ITSMMS
the second Qmgr ITSMMS2 is not shown in the *tree* menu. However when I highlight SIG and right click on it to try to add new Qmgr into SIG, it said ITSMMS2 is already in the cluster.
Is this normal or is there anything wrong in the creation of the cluster/qmgr? What is the reason why the secondary Qmgr is not shown in the Cluster tree menu?
Thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 12, 2008 9:56 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
we preferr to use runmqsc or mqsc (MO72) for cluster operations. The information is produced in a more accessible way and we do not have to think twice about the meaning of stuff.
What does dis clusqmgr(*) say when run on the Full repository?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
samsam007 |
Posted: Wed Nov 12, 2008 10:14 pm Post subject: |
|
|
 Centurion
Joined: 30 Oct 2008 Posts: 107
|
fjb_saper wrote: |
we preferr to use runmqsc or mqsc (MO72) for cluster operations. The information is produced in a more accessible way and we do not have to think twice about the meaning of stuff.
What does dis clusqmgr(*) say when run on the Full repository?  |
Here is the output from running the command:
C:\PROGRA~1\IBM\WEBSPH~1\Tools\mqsc>runmqsc ITSMMS
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
Starting MQSC for queue manager ITSMMS.
dis clusqmgr(*)
1 : dis clusqmgr(*)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(ITSMMS) CHANNEL(TO.ITSMMS)
CLUSTER(SIG)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(SYSTEM.TEMPQMGR.ITSMMS2(2188))
CHANNEL(TO.ITSMMS2) CLUSTER(SIG)
C:\PROGRA~1\IBM\WEBSPH~1\Tools\mqsc>runmqsc ITSMMS2
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
Starting MQSC for queue manager ITSMMS2.
dis clusqmgr(*)
1 : dis clusqmgr(*)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(ITSMMS2) CHANNEL(TO.ITSMMS2)
CLUSTER(SIG)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(SYSTEM.TEMPQMGR.ITSMMS(2187))
CHANNEL(TO.ITSMMS) CLUSTER(SIG)
Is this result looks fine?
Thanks |
|
Back to top |
|
 |
ranganathan |
Posted: Wed Nov 12, 2008 10:56 pm Post subject: |
|
|
 Centurion
Joined: 03 Jul 2008 Posts: 104
|
samsam007 wrote: |
dis clusqmgr(*)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(SYSTEM.TEMPQMGR.ITSMMS2(2188))
CHANNEL(TO.ITSMMS2) CLUSTER(SIG)
dis clusqmgr(*)
1 : dis clusqmgr(*)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(SYSTEM.TEMPQMGR.ITSMMS(2187))
CHANNEL(TO.ITSMMS) CLUSTER(SIG)
Is this result looks fine?
Thanks |
TEMPQMGR entry means that it is not properly added to the cluster.. This queue manager has not received any information from the full repository queue manager. The manually defined CLUSSDR should be in running state, check that the CLUSRCVR definition is also correct, especially its conname and cluster parameters check out the manual for more details.... |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 13, 2008 1:39 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
I get the feeling this is in reference to the post HERE.
samsam007,
Please go through the Clustering manual and build the reference system quoted within it. _________________ 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 |
|
 |
samsam007 |
Posted: Thu Nov 13, 2008 3:30 am Post subject: |
|
|
 Centurion
Joined: 30 Oct 2008 Posts: 107
|
ranganathan wrote: |
samsam007 wrote: |
dis clusqmgr(*)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(SYSTEM.TEMPQMGR.ITSMMS2(2188))
CHANNEL(TO.ITSMMS2) CLUSTER(SIG)
dis clusqmgr(*)
1 : dis clusqmgr(*)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(SYSTEM.TEMPQMGR.ITSMMS(2187))
CHANNEL(TO.ITSMMS) CLUSTER(SIG)
Is this result looks fine?
Thanks |
TEMPQMGR entry means that it is not properly added to the cluster.. This queue manager has not received any information from the full repository queue manager. The manually defined CLUSSDR should be in running state, check that the CLUSRCVR definition is also correct, especially its conname and cluster parameters check out the manual for more details.... |
Should I use IP address or hostname for the conname? or it doesn't matter?
Thanks |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 13, 2008 3:45 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
exerk wrote: |
Please go through the Clustering manual and build the reference system quoted within it. |
_________________ 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 |
|
 |
Vitor |
Posted: Thu Nov 13, 2008 3:50 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
samsam007 wrote: |
Should I use IP address or hostname for the conname? or it doesn't matter?
|
It doesn't matter as long as the channel can resolve it.
Can I echo the comments of others? You need to spend a bit of time with the Clustering and other manuals. The forum is not set up as a training resource, and trying to learn the product through postings is not going to give you a quality experience. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
samsam007 |
Posted: Thu Nov 13, 2008 3:44 pm Post subject: |
|
|
 Centurion
Joined: 30 Oct 2008 Posts: 107
|
I have just created 2 simple Qgmrs in a cluster, by following tutorial in the MQ Cluster manual (the Inventory stuff), but still having the same issue.
Here is the command dis clusqmgr(*):
C:\PROGRA~1\IBM\WEBSPH~1\Tools\mqsc>runmqsc TQM1
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
Starting MQSC for queue manager TQM1.
dis clusqmgr(*)
1 : dis clusqmgr(*)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(SYSTEM.TEMPQMGR.TQM2) CHANNEL(TO.TQM2)
CLUSTER(TESTRPOS)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(TQM1) CHANNEL(TO.TQM1)
CLUSTER(TESTRPOS)
^C
C:\PROGRA~1\IBM\WEBSPH~1\Tools\mqsc>runmqsc TQM2
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
Starting MQSC for queue manager TQM2.
dis clusqmgr(*)
1 : dis clusqmgr(*)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(SYSTEM.TEMPQMGR.TQM1) CHANNEL(TO.TQM1)
CLUSTER(TESTRPOS)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(TQM2) CHANNEL(TO.TQM2)
CLUSTER(TESTRPOS)
The definition of the 2 Qgmrs are:
QM1:
ALTER QMGR REPOS(TESTRPOS)
ALTER QLOCAL(SYSTEM.DEAD.LETTER.QUEUE) DEFPSIST(YES) MAXMSGL(104857600)
DEFINE CHANNEL(TO.TQM1) CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CONNAME(TQM1) CLUSTER(TESTRPOS) DESCR('TCP Cluster-receiver channel for queue manager TQM1')
DEFINE CHANNEL(TO.TQM2) CHLTYPE(CLUSSDR) TRPTYPE(TCP) CONNAME(TQM2) CLUSTER(TESTRPOS) DESCR('TCP Cluster-sender channel from TQM1 to repository at TQM2')
DEFINE QLOCAL(TQMSENDQ) REPLACE GET(ENABLED) DESCR('TDCS app gets message from') USAGE(NORMAL) CLUSTER(TESTRPOS)
DEFINE LISTENER (TQM1.LISTENER) TRPTYPE(TCP) CONTROL(QMGR) PORT(2187)
START LISTENER(TQM1.LISTENER)
QM2:
ALTER QMGR REPOS(TESTRPOS)
ALTER QLOCAL(SYSTEM.DEAD.LETTER.QUEUE) DEFPSIST(YES) MAXMSGL(104857600)
DEFINE CHANNEL(TO.TQM2) CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CONNAME(TQM2) CLUSTER(TESTRPOS) DESCR('TCP Cluster-receiver channel for queue manager TQM2')
DEFINE CHANNEL(TO.TQM1) CHLTYPE(CLUSSDR) TRPTYPE(TCP) CONNAME(TQM1) CLUSTER(TESTRPOS) DESCR('TCP Cluster-sender channel from TQM2 to repository at TQM1')
DEFINE QLOCAL(TQMSENDQ) REPLACE GET(ENABLED) DESCR('TDCS app gets message from') USAGE(NORMAL) CLUSTER(TESTRPOS)
DEFINE LISTENER (TQM2.LISTENER) TRPTYPE(TCP) CONTROL(QMGR) PORT(2187)
START LISTENER(TQM2.LISTENER)
Thanks |
|
Back to top |
|
 |
samsam007 |
Posted: Thu Nov 13, 2008 4:59 pm Post subject: |
|
|
 Centurion
Joined: 30 Oct 2008 Posts: 107
|
I got that fixed by change its conname to CONNAME('localhost(1488)') for TQM1
and CONNAME('localhost(1489)') for TQM2
Thanks |
|
Back to top |
|
 |
|