Author |
Message
|
solomon_13000 |
Posted: Sat Jul 19, 2008 11:15 pm Post subject: Cluster: 2085 error code |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
FULL REPOSITORY
crtmqm -q M1.QM04
strmqm M1.QM04
runmqlsr -t tcp -p 1415 -m M1.QM04
ALTER QMGR REPOS(CLUS2)
DEFINE QLOCAL(DLQ)
ALTER QMGR DEADQ(DLQ)
DEFINE CHANNEL(TO.CLUS2.M1.QM04) CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CONNAME('localhost(1415)') SHORTRTY(600) SHORTTMR(60) DISCINT(30) CLUSTER(CLUS2)
PARTIAL REPOSITORY
crtmqm -q M1.QM01
strmqm M1.QM01
DEFINE QLOCAL(DLQ)
ALTER QMGR DEADQ(DLQ)
DEFINE CHANNEL(TO.CLUS2.M1.QM04) CHLTYPE(CLUSSDR) TRPTYPE(TCP) CONNAME('localhost(1415)') SHORTRTY(600) SHORTTMR(60) DISCINT(30) CLUSTER(CLUS2)
DEFINE QLOCAL(QL.C1) DEFPSIST(YES) DEFBIND(OPEN) CLUSTER(CLUS2)
DEFINE QLOCAL(QL.C2) DEFPSIST(YES) DEFBIND(OPEN) CLUSTER(CLUS2)
------------------------------------------------------------------------------------
crtmqm -q M1.QM02
strmqm M1.QM02
DEFINE QLOCAL(DLQ)
ALTER QMGR DEADQ(DLQ)
DEFINE CHANNEL(TO.CLUS2.M1.QM04) CHLTYPE(CLUSSDR) TRPTYPE(TCP) CONNAME('localhost(1415)') SHORTRTY(600) SHORTTMR(60) DISCINT(30) CLUSTER(CLUS2)
DEFINE QLOCAL(QL.C3) DEFPSIST(YES) DEFBIND(OPEN) CLUSTER(CLUS2)
DEFINE QLOCAL(QL.C4) DEFPSIST(YES) DEFBIND(OPEN) CLUSTER(CLUS2)
Problem
When I issue the following command:
amqsput QL.C3 M1.QM01
I am getting the error:
Sample AMQSPUT0 start
target queue is QL.C3
MQOPEN ended with reason code 2085
unable to open queue for output
Sample AMQSPUT0 end
How do I solve the problem?. Also when I check the current depth of SYSTEM.CLUSTER.REPOSITORY.QUEUE it shows the value 2.
Regards. |
|
Back to top |
|
 |
sami.stormrage |
Posted: Sat Jul 19, 2008 11:18 pm Post subject: |
|
|
 Disciple
Joined: 25 Jun 2008 Posts: 186 Location: Bangalore/Singapore
|
Try cluster Refresh.. and go through clustering manual.. there are various troubleshooting scenarios mentioned. _________________ *forgetting everything * |
|
Back to top |
|
 |
solomon_13000 |
Posted: Sat Jul 19, 2008 11:35 pm Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
I tried ClUSTER REFRESH(CLUS2) and the CURDEPTH is still 2.
telnet localhost 1415 takes me to a blank screen.
DISPLAY CLUSQMGR(*)
1 : DISPLAY CLUSQMGR(*)
AMQ8441: Display Cluster Queue Manager details.
CLUSQMGR(M1.QM04) CHANNEL(TO.CLUS2.M1.QM04)
CLUSTER(CLUS2)
DISPLAY QC(*)
1 : DISPLAY QC(*)
AMQ8409: Display Queue details.
QUEUE(QL.C1) TYPE(QCLUSTER)
AMQ8409: Display Queue details.
QUEUE(QL.C2) TYPE(QCLUSTER)
DISPLAY QC(*)
1 : DISPLAY QC(*)
AMQ8409: Display Queue details.
QUEUE(QL.C3) TYPE(QCLUSTER)
AMQ8409: Display Queue details.
QUEUE(QL.C4) TYPE(QCLUSTER) |
|
Back to top |
|
 |
solomon_13000 |
Posted: Sun Jul 20, 2008 12:07 am Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
I define the following receiver channel for the partial repository:
DEFINE CHANNEL(TO.CLUS2.M1.QM01) CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CONNAME('localhost(1413)') SHORTRTY(600) SHORTTMR(60) DISCINT(30) CLUSTER(CLUS2)
DEFINE CHANNEL(TO.CLUS2.M1.QM02) CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CONNAME('localhost(1416)') SHORTRTY(600) SHORTTMR(60) DISCINT(30) CLUSTER(CLUS2)
and now the CURDEPTH is 4. |
|
Back to top |
|
 |
solomon_13000 |
Posted: Sun Jul 20, 2008 12:16 am Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
now it works  |
|
Back to top |
|
 |
sami.stormrage |
Posted: Sun Jul 20, 2008 7:56 pm Post subject: |
|
|
 Disciple
Joined: 25 Jun 2008 Posts: 186 Location: Bangalore/Singapore
|
Great.. dint notice u missed the very basic definations.. Anyways its good that u fixed it on ur own.. otherwise someone would have really gone mad with u.. _________________ *forgetting everything * |
|
Back to top |
|
 |
|