Welcome to Port3101.org : Your BES Connection Mark forums read | View Forum Leaders
Port3101.org : Your BES Connection



Rate this Entry

BES Logs ... What's in them? Part 4 of 20 (CMNG log)

Submit "BES Logs ... What's in them? Part 4 of 20 (CMNG log)" to Digg Submit "BES Logs ... What's in them? Part 4 of 20 (CMNG log)" to del.icio.us Submit "BES Logs ... What's in them? Part 4 of 20 (CMNG log)" to StumbleUpon Submit "BES Logs ... What's in them? Part 4 of 20 (CMNG log)" to Google
Posted 06-25-2009 at 05:00 AM by hdawg

Welcome to Part 4 of at least a 20 part series looking at the BES logs. (Part 3)

In this post we'll look at the Management Connector Log (CMNG). This is one of the few logs I almost never go in ... and I'm betting the only reason most of you have gone in it is pure curiosity.

Like the Backup Connector (CBCK) log, it gets data fed from the BlackBerry Synchronization Service. Be prepared to see the same thing for every user in this log ... it's a good thing

Below are pieces of the CMNG and SYNC logs ... notice the correlating (to the thousandth of a second) event / times.

Here's a snip from the CMNG Log:

[40089] (06/01 08:04:23.942):{0xC4} {Test User1} CheckResponseReceived - no changes detected.
[40048] (06/01 08:19:11.016):{0x1D14} {Test User1} Update record in SyncDeviceMgmtSummary table. Target=Handheld Agent, TableID=3, GUID=0, CmdID=0, status=200
[40048] (06/01 08:19:11.016):{0x1D14} {Test User1} Update record in SyncDeviceMgmtSummary table. Target=Handheld Agent, TableID=4, GUID=0, CmdID=0, status=200
[40048] (06/01 08:19:11.031):{0x1D14} {Test User1} Update record in SyncDeviceMgmtSummary table. Target=Handheld Agent, TableID=7, GUID=0, CmdID=0, status=200
[40009] (06/01 08:19:11.031):{0x1D14} {Test User1} Update request received. Target=Handheld Agent, TableID=5, GUID=1212619, CmdID=-29, status=200

[30017] (06/01 08:24:02.957):{0x19E4} {Test User1} Performing DeviceUserState check for records with no response.
[40089] (06/01 08:24:02.957):{0x19E4} {Test User1} CheckResponseReceived - no changes detected.
[30017] (06/01 08:47:38.975):{0xCB0} {Test User1} Performing DeviceUserState check for records with no response.
[40089] (06/01 08:47:38.975):{0xCB0} {Test User1} CheckResponseReceived - no changes detected.
[30017] (06/01 09:16:27.997):{0x1D14} {Test User1} Performing DeviceUserState check for records with no response.
[40089] (06/01 09:16:27.997):{0x1D14} {Test User1} CheckResponseReceived - no changes detected.
[30017] (06/01 09:33:40.010):{0x11C4} {Test User1} Performing DeviceUserState check for records with no response.
[40089] (06/01 09:33:40.010):{0x11C4} {Test User1} CheckResponseReceived - no changes detected.
[30017] (06/01 09:53:22.026):{0xCB0} {Test User1} Performing DeviceUserState check for records with no response.
[40089] (06/01 09:53:22.026):{0xCB0} {Test User1} CheckResponseReceived - no changes detected.
[30011] (06/01 10:00:26.547):{0xC4} User Test User1 shutting down...
[30005] (06/01 10:00:29.515):{0x4B8} Starting handheld for Test User1
[30007] (06/01 10:00:29.515):{0x4B8} User Test User1 starting up...
[40031] (06/01 10:00:29.515):{0x152C} CONFIG COMMAND::Adding user /o=TEST/ou=EX07/cn=Recipients/cn=Test User1. State is 1. HHAgent: SyncType=2 (Conflict=1) SyncInit=Init; HHConfig: SyncType=1 (Conflict=0) SyncInit=Init
[30017] (06/01 10:15:29.543):{0x1158} {Test User1} Performing DeviceUserState check for records with no response.
[40089] (06/01 10:15:29.543):{0x1158} {Test User1} CheckResponseReceived - no changes detected.

... and a snip from the SYNC log to show the correlation:

[46042] (06/01 08:19:11.016):{0x113C} [SYNC-DSession] Received 73 bytes from device. [Test User1, SID=345346, SEQ=1/1]
[46052] (06/01 08:19:11.016):{0x113C} [SYNC-DSession] Contain 1 record(s) and 1 command(s) from DevMgmt.Handheld Agent [Test User1]
[46031] (06/01 08:19:11.016):{0x113C} [SYNC-DSession] Submit XML request to DevMgmt connector. [Test User1]
[46037] (06/01 08:19:11.031):{0x110C} [SYNC-DSession] UID Logging: U12345678. [Test User1, DS=DevMgmt, DB=Handheld Agent]
[46008] (06/01 08:19:11.031):{0x110C} [SYNC-DSession] Send 1 packet(s) with 8 bytes to the device. [Test User1, SID=345346, CLID=452, ECLID=4, TAG=817121, ST=20]
[46019] (06/01 08:19:11.031):{0x110C} [SYNC-DSession] DSession is finished. [Test User1, SID=345346, CLID=452, ECLID=4]


On its own, the CMNG log isn't all that special; you really do need to correlate events with the SYNC log to see what is going on ... what is happening. If you want to take a little deeper dive into what is getting processed here, open up your favorite SQL Query Analyzer, point it to your BlackBerry Configuration Database (BESMgmt by default) and do: SELECT * FROM SyncDeviceMgmtSummary. There is a lot to grab from the BlackBerry Configuration database ... but that is for another time.

If you've got any questions about other specific entries in the CMNG log feel free to post a question / comment in response to this post, or in the forum.

Tomorrow, in Part 5, we'll hit my absolute favorite log, the BlackBerry Controller (CTRL) log
Posted in Tips & Tricks
Views 4782 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 01:22 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2