Presentation is loading. Please wait.

Presentation is loading. Please wait.

Proactivity in BizTalk?

Similar presentations


Presentation on theme: "Proactivity in BizTalk?"— Presentation transcript:

1 Proactivity in BizTalk?
Tord Glad Nordahl 18. October 2012 Proactivity - All environments are unique

2 Who am I? BizTalk Administrator Expert Training Health Checking
Debugger Speaker Active contributor at TechNet Active blogger Profile Profile 18. October 2012 Proactivity - All environments are unique

3 Proactivity in BizTalk
What is meant by proactivity How can you know Where do you look And how do you prevent it? 18. October 2012 Proactivity - All environments are unique

4 Make and keep it stable Monitoring tools SCOM BizTalk 360
Messagebox Viewer BizTalk Best Practice Analyzer Microsoft Baseline Analyzer 18. October 2012 Proactivity - All environments are unique

5 Nothing beats your knowledge!
BizTalk SQL Performance Counters PAL Statistics Disk space Throttling Thresholds Event log Known bugs Infrastructure SQL Agents Performance counters Databases Event log Disks SQL Queries 18. October 2012 Proactivity - All environments are unique

6 How long does it take? Backup BizTalk Server
CleanupBTFExpiredEntriesJob_BizTalkMgmtDb MessageBox_DeadProcesses_Cleanup_BizTalkMsgBoxDb MessageBox_Message_Cleanup_BizTalkMsgBoxDb MessageBox_Message_ManageRefCountLog_BizTalkMsgBoxDb MessageBox_Parts_Cleanup_BizTalkMsgBoxDb MessageBox_UpdateStats_BizTalkMsgBoxDb Monitor BizTalk Server Operations_OperateOnInstances_OnMaster_BizTalkMsgBoxDb PurgeSubscriptionsJob_BizTalkMsgBoxDb Rules_Database_Cleanup_BizTalkRuleEngineDb TrackedMessages_Copy_BizTalkMsgBoxDb DTA Purge and Archive 18. October 2012 Proactivity - All environments are unique

7 Performance counters Needs to be monitored over time
Difference between server related and SQL Provides you with live and old data 18. October 2012 Proactivity - All environments are unique

8 Most important databases
BizTalkMsgBoxDb BizTalkDTADb BizTalkMgmtDb SSODB 18. October 2012 Proactivity - All environments are unique

9 BizTalkMsgBoxDb Spool TrackingData_x_x Instances Marklog X-RefcountLog
18. October 2012 Proactivity - All environments are unique

10 BizTalkDTADb DebugTrace MessageInOutEvents ServiceInstances Marklog
18. October 2012 Proactivity - All environments are unique

11 SQL queries and deadlocks
Make sure you avoid deadlocks Performance monitor SQL Profiler 18. October 2012 Proactivity - All environments are unique

12 Disks If your using it, make it fast Check for I\O issues
Never go below 15% free disk space 18. October 2012 Proactivity - All environments are unique

13 BizTalk Performance counters
Tip: To see all counters at least one host must be running! BizTalk Performance counters 18. October 2012 Proactivity - All environments are unique

14 Performance Counter BizTalk: Message Agent Active Instance Count
Database sessions Database session threshold Database size High database session High database size High in-process message count High message delivery rate High message publishing rate High Process memory High System memory High thread count In-process message count In-process message count threshold Message delivery delay (ms)

15 Performance Counter BizTalk: Message Agent
Message delivery incoming rate Message delivery outgoing rate Message delivery throttling state Message delivery throttling state duration Message delivery throttling user override Message publishing delay (ms) Message publishing incoming rate Message publishing outgoing rate Message publishing throttling state Message publishing throttling state duration Message publishing throttling user override Physical memory usage (MB) Process memory usage (MB) Service Class ID Thread count

16 Performance Counter BizTalk: Message Agent Thread count threshold
Total batches omitted Total message delivered Total messages published

17 Performance Counters BizTalk: Message Box: General counters
Instances (total number) MsgBox Dead processes cleanup (purge job) MsgBox Msg Cleanup (purge job) MsgBox Parts Cleanup (purge job) MsgBox Purge Subscriptions job (purge job) Spool size Tracked msg body (purge job) Tracking data size Tracking spool cleanup General information from the message box, like active instances, sizes of data waiting to be purged, tracking data waiting to be moved to the tracking database or BAM and etc.

18 Performance Counters BizTalk: Message Box: Host counters
Host queue – Instance state msg refs – length Host queue – length Host queue – number of instances Host queue – suspended messages - lengthr This counter will give you information of the host counters in the messagebox. For instance queue length, throttling states, throttling duration etc.

19 Performance Counters BizTalk: TDDS Batches being processed
Batches committed Events being processed Events committed Records being processed Records committed Total batches Total events Total failed batches Total failed events Total records TDDS: Tracking Data Decode Service

20 Performance counters BizTalk:Messaging Active Receive Location
Active Receive Threads Active Send Messages Active Send Threads Documents processed (per second) Documents received (per second) Documents resubmitted (per second) Documents suspended Documents transmitted/batch ID Process Pending Receive Batches Pending transmitted messages Request/response timeouts Throttled receive batches

21 Performance Counters BizTalk:Messaging Latency Inbound Latency (sec)
Outbound Adapter Latency (sec) Outbound Latency (sec) Request-Response Latency (sec)

22 Performance counters BizTalk:<adapterName>_Receive / Send adapter Bytes Received Bytes Received per second Deleted retries Lock failures Lock failures per second Message received Messages received per second Time to build batch

23 Throttling Good or bad? Thresholds met Performance stalls!
18. October 2012 Proactivity - All environments are unique

24 Thresholds Add more resources and change limits
Remove resources and limit the application 18. October 2012 Proactivity - All environments are unique

25 Event log Look for errors Monitor and trigger on errors Keep it clean
18. October 2012 Proactivity - All environments are unique

26 Known bugs You should be aware of all known bugs CU updates
WCF-SQL, Oracle Custom thread issue on receive 5649 event ID etc 18. October 2012 Proactivity - All environments are unique

27 Infrastructure Have some idea of your infrastructure:
Virtualization how and where Locations Connections and people 18. October 2012 Proactivity - All environments are unique

28 Questions? ? 18. October 2012 Proactivity - All environments are unique


Download ppt "Proactivity in BizTalk?"

Similar presentations


Ads by Google