I have a cluster with four repostitories -- two partial, two full.
On one of the full repositories, if the same queue is defined both locally and remotely, the queue manager will always write to the remote queue, regardless of the CLWL prirorites of the queues. It will write to the local queue if it is the only one.
I've pasted a log below that illustrates the problem. with relevant entries in bold.
Does anyone know why this would be the case?
Thanks,
John McG.
Script command is started on Thu Aug 23 11:47:27 CDT 2007.
$ runmqsc QM_PRD_CR2
5724-H72 (C) Copyright IBM Corp. 1994, 2005. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QM_PRD_CR2.
DIS QL(TESTROUTING)
1 : DIS QL(TESTROUTING)
AMQ8409: Display Queue details.
QUEUE(TESTROUTING) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2007-05-09)
ALTTIME(14.53.43) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER(CLINREP.PROD) CLWLPRTY(5)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2007-04-27) CRTIME(14.25.19)
CURDEPTH(0) DEFBIND(NOTFIXED)
DEFPRTY(5) DEFPSIST(YES)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR( ) DISTL(NO)
GET(ENABLED) HARDENBO
INITQ( ) IPPROCS(0)
MAXDEPTH(500000) MAXMSGL(4194304)
MONQ(QMGR) MSGDLVSQ(PRIORITY)
NOTRIGGER NPMCLASS(NORMAL)
OPPROCS(0) PROCESS( )
PUT(ENABLED) QDEPTHHI(80)
QDEPTHLO(20) QDPHIEV(DISABLED)
QDPLOEV(DISABLED) QDPMAXEV(ENABLED)
QSVCIEV(NONE) QSVCINT(999999999)
RETINTVL(999999999) SCOPE(QMGR)
SHARE STATQ(QMGR)
TRIGDATA( ) TRIGDPTH(1)
TRIGMPRI(0) TRIGTYPE(FIRST)
USAGE(NORMAL)
end
2 : end
One MQSC command read.
No commands have a syntax error.
All valid MQSC commands were processed.
$ rsh crprd04
*******************************************************************************
* *
* *
* Welcome to AIX Version 5.3! *
*
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
Last unsuccessful login: Tue Aug 14 14:38:43 CDT 2007 on /dev/pts/2 from bjc1113
1964.bjc-nt.bjc.org
Last login: Thu Aug 23 11:14:45 CDT 2007 on /dev/pts/0 from upbcclnd04.carenet.o
rg
CIS_TK_ROOT = /CISV1R4
CIS_USER = cisadm
CIS_DBUSER = cisprod
CIS_DBHOME = /home/cisprod
CIS_DB_DIR = /CISV1R4
DB2INSTANCE = cisprod
CIS_HOSTNAME = crprd04
CIS_QMGR = QM_PRD_CR4
CIS_QLIST = /CISV1R4/install/cisqlist
CIS_LOGDIR = /CISV1R4/log
KREP_ROOTDIR = /CISV1R4/krep/lib
KREPDIR = /CISV1R4/krep/lib
CISCONFG = /CISV1R4/etc/cisconfg.cfg
LIBPATH = /usr/lib:/lib:/CISV1R4/lib:/CISV1R4/krep/lib: ...
(use 'echo $LIBPATH' to see complete value of the LIBPATH
)
CISTRACETHRESHOLD = 0
PATH = /CISV1R4/install:/CISV1R4/bin:/usr/local/bin: ...
(use 'echo $PATH' to see complete value of the PATH)
CIS_LOG_FLAG = YES
[YOU HAVE NEW MAIL]
(crprd04:/home/cisadm) -> runmqsc QM PRD CR4
5724-H72 (C) Copyright IBM Corp. 1994, 2005. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QM_PRD_CR4.
DIS QL(TESTROUTING)
1 : DIS QL(TESTROUTING)
AMQ8409: Display Queue details.
QUEUE(TESTROUTING) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2007-08-23)
ALTTIME(11.07.06) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER(CLINREP.PROD) CLWLPRTY(1)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2007-08-17) CRTIME(10.20.36)
CURDEPTH(0) DEFBIND(NOTFIXED)
DEFPRTY(5) DEFPSIST(YES)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR( ) DISTL(NO)
GET(ENABLED) HARDENBO
INITQ( ) IPPROCS(0)
MAXDEPTH(500000) MAXMSGL(4194304)
MONQ(QMGR) MSGDLVSQ(PRIORITY)
NOTRIGGER NPMCLASS(NORMAL)
OPPROCS(0) PROCESS( )
PUT(ENABLED) QDEPTHHI(80)
QDEPTHLO(20) QDPHIEV(DISABLED)
QDPLOEV(DISABLED) QDPMAXEV(ENABLED)
QSVCIEV(NONE) QSVCINT(999999999)
RETINTVL(999999999) SCOPE(QMGR)
SHARE STATQ(QMGR)
TRIGDATA( ) TRIGDPTH(1)
TRIGMPRI(0) TRIGTYPE(FIRST)
USAGE(NORMAL)
end
2 : end
One MQSC command read.
No commands have a syntax error.
All valid MQSC commands were processed.
(crprd04:/home/cisadm) -> exit
Connection closed.
$ putq.pl testMsgs TESTROUTING
$ cntqs TESTROUTING
______________________________________________________________________
Queues depths on QM_PRD_CR2 At Thu Aug 23 11:48:39 CDT 2007
QUEUE NAME MAXDEPTH CURDEPTH % FILLED
______________________________________________________________________
TESTROUTING 500000 0 0.0%
______________________________________________________________________
$ rsh crprd04
*******************************************************************************
* *
* *
* Welcome to AIX Version 5.3! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
Last unsuccessful login: Tue Aug 14 14:38:43 CDT 2007 on /dev/pts/2 from bjc1113
1964.bjc-nt.bjc.org
Last login: Thu Aug 23 11:47:54 CDT 2007 on /dev/pts/0 from upbcclnd04.carenet.o
rg
CIS_TK_ROOT = /CISV1R4
CIS_USER = cisadm
CIS_DBUSER = cisprod
CIS_DBHOME = /home/cisprod
CIS_DB_DIR = /CISV1R4
DB2INSTANCE = cisprod
CIS_HOSTNAME = crprd04
CIS_QMGR = QM_PRD_CR4
CIS_QLIST = /CISV1R4/install/cisqlist
CIS_LOGDIR = /CISV1R4/log
KREP_ROOTDIR = /CISV1R4/krep/lib
KREPDIR = /CISV1R4/krep/lib
CISCONFG = /CISV1R4/etc/cisconfg.cfg
LIBPATH = /usr/lib:/lib:/CISV1R4/lib:/CISV1R4/krep/lib: ...
(use 'echo $LIBPATH' to see complete value of the LIBPATH
)
CISTRACETHRESHOLD = 0
PATH = /CISV1R4/install:/CISV1R4/bin:/usr/local/bin: ...
(use 'echo $PATH' to see complete value of the PATH)
CIS_LOG_FLAG = YES
[YOU HAVE NEW MAIL]
(crprd04:/home/cisadm) -> cntqs TESTROUTING
______________________________________________________________________
Queues depths on QM_PRD_CR4 At Thu Aug 23 11:48:52 CDT 2007
QUEUE NAME MAXDEPTH CURDEPTH % FILLED
______________________________________________________________________
TESTROUTING 500000 2000 0.4%
______________________________________________________________________
(crprd04:/home/cisadm) -> exit
Connection closed.
On one of the full repositories, if the same queue is defined both locally and remotely, the queue manager will always write to the remote queue, regardless of the CLWL prirorites of the queues. It will write to the local queue if it is the only one.
I've pasted a log below that illustrates the problem. with relevant entries in bold.
Does anyone know why this would be the case?
Thanks,
John McG.
Script command is started on Thu Aug 23 11:47:27 CDT 2007.
$ runmqsc QM_PRD_CR2
5724-H72 (C) Copyright IBM Corp. 1994, 2005. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QM_PRD_CR2.
DIS QL(TESTROUTING)
1 : DIS QL(TESTROUTING)
AMQ8409: Display Queue details.
QUEUE(TESTROUTING) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2007-05-09)
ALTTIME(14.53.43) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER(CLINREP.PROD) CLWLPRTY(5)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2007-04-27) CRTIME(14.25.19)
CURDEPTH(0) DEFBIND(NOTFIXED)
DEFPRTY(5) DEFPSIST(YES)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR( ) DISTL(NO)
GET(ENABLED) HARDENBO
INITQ( ) IPPROCS(0)
MAXDEPTH(500000) MAXMSGL(4194304)
MONQ(QMGR) MSGDLVSQ(PRIORITY)
NOTRIGGER NPMCLASS(NORMAL)
OPPROCS(0) PROCESS( )
PUT(ENABLED) QDEPTHHI(80)
QDEPTHLO(20) QDPHIEV(DISABLED)
QDPLOEV(DISABLED) QDPMAXEV(ENABLED)
QSVCIEV(NONE) QSVCINT(999999999)
RETINTVL(999999999) SCOPE(QMGR)
SHARE STATQ(QMGR)
TRIGDATA( ) TRIGDPTH(1)
TRIGMPRI(0) TRIGTYPE(FIRST)
USAGE(NORMAL)
end
2 : end
One MQSC command read.
No commands have a syntax error.
All valid MQSC commands were processed.
$ rsh crprd04
*******************************************************************************
* *
* *
* Welcome to AIX Version 5.3! *
*
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
Last unsuccessful login: Tue Aug 14 14:38:43 CDT 2007 on /dev/pts/2 from bjc1113
1964.bjc-nt.bjc.org
Last login: Thu Aug 23 11:14:45 CDT 2007 on /dev/pts/0 from upbcclnd04.carenet.o
rg
CIS_TK_ROOT = /CISV1R4
CIS_USER = cisadm
CIS_DBUSER = cisprod
CIS_DBHOME = /home/cisprod
CIS_DB_DIR = /CISV1R4
DB2INSTANCE = cisprod
CIS_HOSTNAME = crprd04
CIS_QMGR = QM_PRD_CR4
CIS_QLIST = /CISV1R4/install/cisqlist
CIS_LOGDIR = /CISV1R4/log
KREP_ROOTDIR = /CISV1R4/krep/lib
KREPDIR = /CISV1R4/krep/lib
CISCONFG = /CISV1R4/etc/cisconfg.cfg
LIBPATH = /usr/lib:/lib:/CISV1R4/lib:/CISV1R4/krep/lib: ...
(use 'echo $LIBPATH' to see complete value of the LIBPATH
)
CISTRACETHRESHOLD = 0
PATH = /CISV1R4/install:/CISV1R4/bin:/usr/local/bin: ...
(use 'echo $PATH' to see complete value of the PATH)
CIS_LOG_FLAG = YES
[YOU HAVE NEW MAIL]
(crprd04:/home/cisadm) -> runmqsc QM PRD CR4
5724-H72 (C) Copyright IBM Corp. 1994, 2005. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QM_PRD_CR4.
DIS QL(TESTROUTING)
1 : DIS QL(TESTROUTING)
AMQ8409: Display Queue details.
QUEUE(TESTROUTING) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2007-08-23)
ALTTIME(11.07.06) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER(CLINREP.PROD) CLWLPRTY(1)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2007-08-17) CRTIME(10.20.36)
CURDEPTH(0) DEFBIND(NOTFIXED)
DEFPRTY(5) DEFPSIST(YES)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR( ) DISTL(NO)
GET(ENABLED) HARDENBO
INITQ( ) IPPROCS(0)
MAXDEPTH(500000) MAXMSGL(4194304)
MONQ(QMGR) MSGDLVSQ(PRIORITY)
NOTRIGGER NPMCLASS(NORMAL)
OPPROCS(0) PROCESS( )
PUT(ENABLED) QDEPTHHI(80)
QDEPTHLO(20) QDPHIEV(DISABLED)
QDPLOEV(DISABLED) QDPMAXEV(ENABLED)
QSVCIEV(NONE) QSVCINT(999999999)
RETINTVL(999999999) SCOPE(QMGR)
SHARE STATQ(QMGR)
TRIGDATA( ) TRIGDPTH(1)
TRIGMPRI(0) TRIGTYPE(FIRST)
USAGE(NORMAL)
end
2 : end
One MQSC command read.
No commands have a syntax error.
All valid MQSC commands were processed.
(crprd04:/home/cisadm) -> exit
Connection closed.
$ putq.pl testMsgs TESTROUTING
$ cntqs TESTROUTING
______________________________________________________________________
Queues depths on QM_PRD_CR2 At Thu Aug 23 11:48:39 CDT 2007
QUEUE NAME MAXDEPTH CURDEPTH % FILLED
______________________________________________________________________
TESTROUTING 500000 0 0.0%
______________________________________________________________________
$ rsh crprd04
*******************************************************************************
* *
* *
* Welcome to AIX Version 5.3! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
Last unsuccessful login: Tue Aug 14 14:38:43 CDT 2007 on /dev/pts/2 from bjc1113
1964.bjc-nt.bjc.org
Last login: Thu Aug 23 11:47:54 CDT 2007 on /dev/pts/0 from upbcclnd04.carenet.o
rg
CIS_TK_ROOT = /CISV1R4
CIS_USER = cisadm
CIS_DBUSER = cisprod
CIS_DBHOME = /home/cisprod
CIS_DB_DIR = /CISV1R4
DB2INSTANCE = cisprod
CIS_HOSTNAME = crprd04
CIS_QMGR = QM_PRD_CR4
CIS_QLIST = /CISV1R4/install/cisqlist
CIS_LOGDIR = /CISV1R4/log
KREP_ROOTDIR = /CISV1R4/krep/lib
KREPDIR = /CISV1R4/krep/lib
CISCONFG = /CISV1R4/etc/cisconfg.cfg
LIBPATH = /usr/lib:/lib:/CISV1R4/lib:/CISV1R4/krep/lib: ...
(use 'echo $LIBPATH' to see complete value of the LIBPATH
)
CISTRACETHRESHOLD = 0
PATH = /CISV1R4/install:/CISV1R4/bin:/usr/local/bin: ...
(use 'echo $PATH' to see complete value of the PATH)
CIS_LOG_FLAG = YES
[YOU HAVE NEW MAIL]
(crprd04:/home/cisadm) -> cntqs TESTROUTING
______________________________________________________________________
Queues depths on QM_PRD_CR4 At Thu Aug 23 11:48:52 CDT 2007
QUEUE NAME MAXDEPTH CURDEPTH % FILLED
______________________________________________________________________
TESTROUTING 500000 2000 0.4%
______________________________________________________________________
(crprd04:/home/cisadm) -> exit
Connection closed.