Author |
Message
|
KIT_INC |
Posted: Sat Jul 21, 2012 7:54 am Post subject: Not getting statistic publications |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
We have picked up some broker V6.0 environment due to company merge. I think this version is no longer supported.
C:\Program Files\IBM\MQSI\6.0>mqsiservice -v
BIPv600 en US
ucnv Console CCSID 437 dft ucnv CCSID 5348
ICUW ibm-5348_P100-1997 ICUA ibm-5348_P100-1997
BIP8996I: Version: 60011
BIP8997I: Product: WebSphere Message Brokers
BIP8998I: CMVC Level: S600-CSD11 DH600-CSD11
BIP8999I: Build Type: Production
BIP8071I: Successful command completion.
We have to turn on broker statistic for the borker.
Here is what the broker reports after our set up.
mqsireportproperties 60BKR -e default -o DynamicSubscriptionEngine -r
DynamicSubscriptionEngine
uuid='DynamicSubscriptionEngine'
userTraceLevel='none'
traceLevel='none'
userTraceFilter='none'
traceFilter='none'
brokerAuthProtocols='P'
brokerInputQueueLength='99'
brokerInputQueues='1'
brokerPingInterval='10000'
clientAuthProtocols='P'
clientPingInterval='30000'
enableAuthProtocolCheck='false'
enableClientDiscOnQueueOverflow='true'
enableQopSecurity='false'
httpDispatchThreads='32'
httpProtocolTimeout='10000'
interbrokerHost=''
interbrokerPort='1507'
interbrokerThreads='3'
isysQopLevel='n'
maxAuthThreads='10'
maxBrokerQueueSize='1000000'
maxClientQueueSize='100000'
maxConnections='-100'
maxHopCount='20'
maxMessageSize='100000'
maxReadThreads='10'
maxWriteThreads='10'
multiConfigFile=''
multicastAddressRangeMax='239.255.255.255'
multicastAddressRangeMin='239.255.000.000'
multicastBackoffTimeMillis='100'
multicastDataPort='34343'
multicastEnabled='false'
multicastHeartbeatTimeoutSec='20'
multicastLimitTransRate='Disabled'
multicastMaxKeyAge='360'
multicastMaxMemoryAllowedKBytes='262144'
multicastMcastSocketTTL='1'
multicastMinimalHistoryKBytes='60000'
multicastMulticastInterface='none'
multicastNackAccumulationTimeMillis='500'
multicastNackCheckPeriodMillis='1000'
multicastOverlappingTopicBehaviour='0'
multicastPacketBuffers='500'
multicastPacketSizeBytes='7000'
multicastProtocolType='PTL'
multicastRekeyInterval='300'
multicastSocketBufferSizeKBytes='3000'
multicastTransRateLimitKbps='95000'
myBrokerName=''
myBrokerPassword='Broker Password'
myBrokerUid='Broker'
nondurableSubscriptionEvents='false'
pingMin='100'
pingTimeoutMultiple='3'
sslKeyringFile=''
sslPassphraseFile=''
statsInterval='5000'
sysQopLevel='n'
temporaryTopicQop='n'
threadDeadInterval='10000'
ReportableEntityName='AllReportableEntityNames'
ReportableEntityName='AllNeighbours'
ReportableEntityName='Neighbour'
ReportableEntityName='AllTopics'
ReportableEntityName='Topic'
ReportableEntityName='AllSubscriptions'
ReportableEntityName='AllRetainedPublications'
Topic
name='$SYS/Broker/+/warning/expiry/Subscription/#'
Subscription=''
clientId='mqrfh2:60QM:SYSTEM.BROKER.ADMIN.REPLY:4366674d677253756236'
user='SYSTEM'
subscriptionPoint=''
filter=''
persistent='asPublish'
localOnly='true'
pubOnReqOnly='false'
informIfRet='false'
expiryTimeStamp='0'
createTimeStamp='2012-06-18 12:25:36'
Topic
name='$SYS/Broker/+/StatisticsAccounting/+'
Subscription=''
clientId='mqrfh2:60QM:MY_STAT'
user='user1'
subscriptionPoint=''
filter=''
persistent='asPublish'
localOnly='false'
pubOnReqOnly='false'
informIfRet='false'
expiryTimeStamp='0'
createTimeStamp='2012-06-18 13:20:57'
This shows that we have a
statsInterval='5000'
and a subscription to the topic '$SYS/Broker/+/StatisticsAccounting/+' by user1
We turn on flow statistic collection for flow TEST_STATISTICS in execution group default
C:\Program Files\IBM\MQSI\6.0>mqsireportflowstats 60BKR -s -g -j
BIP8187I: Statistics Snapshot settings for flow TEST_STATISTICS in execution group default - On?: active, ThreadDataLevel: none, NodeDataLevel: none, OutputFor
mat: xml , AccountingOrigin none.
BIP8071I: Successful command completion.
But we are not getting any messages on the queue 'MY_STAT' after we run messages through the flow.
Is there anything else we should check ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Jul 21, 2012 8:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What does the infocenter say? Did you run mqsichangeflowstats?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
lancelotlinc |
Posted: Sat Jul 21, 2012 8:54 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
KIT_INC |
Posted: Sat Jul 21, 2012 11:18 am Post subject: |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
Quote: |
Did you run mqsichangeflowstats? |
In my original post I have
Quote: |
C:\Program Files\IBM\MQSI\6.0>mqsireportflowstats 60BKR -s -g -j
BIP8187I: Statistics Snapshot settings for flow TEST_STATISTICS in execution group default - On?: active, ThreadDataLevel: none, NodeDataLevel: none, OutputFormat: xml , AccountingOrigin none.
|
I also have
C:\Program Files\IBM\MQSI\6.0>mqsireportflowstats 60BKR -a -g -j
BIP8187I: Statistics Archive settings for flow TEST_STATISTICS in execution group default - On?: active, ThreadDataLevel: none, NodeDataLevel: basic, OutputFor
mat: xml , AccountingOrigin none.
BIP8071I: Successful command completion.
This shows that flow statistics collection (both active and snap shot) are active. |
|
Back to top |
|
 |
Vitor |
Posted: Sat Jul 21, 2012 5:01 pm Post subject: Re: Not getting statistic publications |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
KIT_INC wrote: |
We have picked up some broker V6.0 environment due to company merge. I think this version is no longer supported. |
I think you're right.
I also don't that the statistics reporting worked that well in that version. You might also want to ensure the subscription is right in terms of WBv6.0, which still has it's own pub/sub engine.
I'm not saying it's wrong, I'm saying I don't remember clearly enough to validate what you've posted, don't have any v6.0 documentation to hand & a pub/sub problem is an obvious possible reason you're not getting any output. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Jul 22, 2012 4:10 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
@V6.0 check
Code: |
mqsibrowse <broker> -t BSUBSCRIPTIONS | grep -i SYSTEM |
The subscription for user1 seems ok. I would feel more confident with the output of the same subscription from the command above.
I remember our monitoring tool having to restart after each broker restart as the subscription was not persistent.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Jul 22, 2012 5:54 am Post subject: Re: Not getting statistic publications |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
Vitor |
Posted: Sun Jul 22, 2012 9:55 am Post subject: Re: Not getting statistic publications |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
On the weekend, my hand doesn't move far.....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Jul 22, 2012 10:07 am Post subject: Re: Not getting statistic publications |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
On the weekend, my hand doesn't move far.....  |
good thing, too. what with the free ranging wire eating avian. might lose a finger if you're not careful. |
|
Back to top |
|
 |
KIT_INC |
Posted: Sun Jul 22, 2012 11:41 am Post subject: |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
Quote: |
mqsibrowse <broker> -t BSUBSCRIPTIONS | grep -i SYSTEM |
'| grep ' is not on Winodws.
Anyway, screen shot of the output of mqsibrowse shows the subscrinption
Quote: |
SYSTEM |
| 2012-06-18 08:25:3500010 | 60QM:MY_STAT | *Unlimited
Expiry * | 2012-06-18 13:20:57 | 772 | $SYS/Broker/+/StatisticsAccounting/+ | |
| applIdentityData user1 |
[/quote] |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Jul 22, 2012 12:09 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
KIT_INC wrote: |
Quote: |
mqsibrowse <broker> -t BSUBSCRIPTIONS | grep -i SYSTEM |
'| grep ' is not on Winodws. |
Code: |
mqsibrowse <broker> -t BSUBSCRIPTIONS | find /i "system" |
KIT_INC wrote: |
Anyway, screen shot of the output of mqsibrowse shows the subscrinption
Quote: |
SYSTEM |
| 2012-06-18 08:25:3500010 | 60QM:MY_STAT | *Unlimited
Expiry * | 2012-06-18 13:20:57 | 772 | $SYS/Broker/+/StatisticsAccounting/+ | |
| applIdentityData user1 |
|
run a service trace during an interval when something occurs to create a statistics message. see if you can tell if something is published or not.
Although it's not clear what good it will do to isolate this, since you can't get a fix since you can't open a PMR. |
|
Back to top |
|
 |
KIT_INC |
Posted: Sun Jul 22, 2012 1:17 pm Post subject: |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
Quote: |
run a service trace during an interval when something occurs to create a statistics message. see if you can tell if something is published or not. |
Excellent suggestion.
I subscribe to the exact topic which shows in the trace that data is published.
$SYS/Broker/60BKR/StatisticsAccounting/SnapShot/default/TEST_STATISTICS
Now I got the message on the MY_STAT queue. looks like the wild card in V6.0 may not work probably.
I think I can live without using wild card.
Thanks a lot for all the help. |
|
Back to top |
|
 |
Vitor |
Posted: Sun Jul 22, 2012 2:00 pm Post subject: Re: Not getting statistic publications |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Vitor wrote: |
On the weekend, my hand doesn't move far.....  |
good thing, too. what with the free ranging wire eating avian. might lose a finger if you're not careful. |
Or even if you're careful.
I hate that bird. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 23, 2012 7:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
KIT_INC wrote: |
Quote: |
run a service trace during an interval when something occurs to create a statistics message. see if you can tell if something is published or not. |
Excellent suggestion.
I subscribe to the exact topic which shows in the trace that data is published.
$SYS/Broker/60BKR/StatisticsAccounting/SnapShot/default/TEST_STATISTICS
Now I got the message on the MY_STAT queue. looks like the wild card in V6.0 may not work probably.
I think I can live without using wild card.
Thanks a lot for all the help. |
Looks like the trouble is with your subscription:
You have $SYS/Broker/+/StatisticsAccounting/+ where you should probably have $SYS/Broker/+/StatisticsAccounting/# .....
So working as designed...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|