proactivity in biztalk?

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

Upload: rafi

Post on 22-Feb-2016

50 views

Category:

Documents


0 download

DESCRIPTION

Proactivity in BizTalk?. Tord Glad Nordahl. Who am I?. BizTalk Administrator Expert Training Health Checking Debugger Speaker Active contributor at TechNet Active blogger www.biztalkadmin.com. Profile. Profile. Proactivity in BizTalk. What is meant by proactivity How can you know - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Proactivity  in BizTalk?

1 Proactivity - All environments are unique

Proactivity in BizTalk?Tord Glad Nordahl

18. October 2012

Page 2: Proactivity  in BizTalk?

2 Proactivity - All environments are unique

Who am I?

18. October 2012

– BizTalk Administrator Expert– Training– Health Checking– Debugger– Speaker– Active contributor at TechNet– Active blogger www.biztalkadmin.com

Profile

Profile

Page 3: Proactivity  in BizTalk?

3 Proactivity - All environments are unique

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

Page 4: Proactivity  in BizTalk?

4 Proactivity - All environments are unique

Make and keep it stable

• Monitoring tools– SCOM– BizTalk 360– Messagebox Viewer– BizTalk Best Practice Analyzer– Microsoft Baseline Analyzer

18. October 2012

Page 5: Proactivity  in BizTalk?

Proactivity - All environments are unique5

Nothing beats your knowledge!BizTalk• Performance

Counters• PAL• Statistics• Disk space• Throttling• Thresholds• Event log• Known bugs• Infrastructure

SQL• SQL Agents• Performance

counters• Databases• Event log• Disks• SQL Queries

18. October 2012

Page 6: Proactivity  in BizTalk?

6 Proactivity - All environments are unique

How long does it take?• Backup BizTalk Server• CleanupBTFExpiredEntriesJob_BizTalkMgmtDb• MessageBox_DeadProcesses_Cleanup_BizTalkMsgBoxDb• MessageBox_Message_Cleanup_BizTalkMsgBoxDb• MessageBox_Message_ManageRefCountLog_BizTalkMsg

BoxDb• MessageBox_Parts_Cleanup_BizTalkMsgBoxDb• MessageBox_UpdateStats_BizTalkMsgBoxDb• Monitor BizTalk Server • Operations_OperateOnInstances_OnMaster_BizTalkMsg

BoxDb• PurgeSubscriptionsJob_BizTalkMsgBoxDb• Rules_Database_Cleanup_BizTalkRuleEngineDb• TrackedMessages_Copy_BizTalkMsgBoxDb• DTA Purge and Archive

18. October 2012

Page 7: Proactivity  in BizTalk?

7 Proactivity - All environments are unique

Performance counters

• Needs to be monitored over time• Difference between BizTalk related

and SQL• Provides you with live and old data

18. October 2012

Page 8: Proactivity  in BizTalk?

8 Proactivity - All environments are unique

Most important databases

• BizTalkMsgBoxDb• BizTalkDTADb• BizTalkMgmtDb• SSODB

18. October 2012

Page 9: Proactivity  in BizTalk?

9 Proactivity - All environments are unique

BizTalkMsgBoxDb

• Spool• TrackingData_x_x• Instances• Marklog• X-RefcountLog

18. October 2012

Page 10: Proactivity  in BizTalk?

10 Proactivity - All environments are unique

BizTalkDTADb

18. October 2012

• DebugTrace• MessageInOutEvents• ServiceInstances• Marklog

Page 11: Proactivity  in BizTalk?

11 Proactivity - All environments are unique

SQL queries and deadlocks

• Make sure you avoid deadlocks• Performance monitor• SQL Profiler

18. October 2012

Page 12: Proactivity  in BizTalk?

12 Proactivity - All environments are unique

Disks

• If your using it, make it fast• Check for I\O issues• Never go below 15% free disk space

18. October 2012

Page 13: Proactivity  in BizTalk?

13 Proactivity - All environments are unique

BizTalk Performance counters

18. October 2012

Tip: To see all counters at least one host must be running!

Page 14: Proactivity  in BizTalk?

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)

Page 15: Proactivity  in BizTalk?

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

Page 16: Proactivity  in BizTalk?

Performance Counter• BizTalk: Message Agent

– Thread count threshold– Total batches omitted– Total message delivered– Total messages published

Page 17: Proactivity  in BizTalk?

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

Page 18: Proactivity  in BizTalk?

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

Page 19: Proactivity  in BizTalk?

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

Page 20: Proactivity  in BizTalk?

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

Page 21: Proactivity  in BizTalk?

Performance Counters

• BizTalk:Messaging Latency– Inbound Latency (sec)– Outbound Adapter Latency (sec)– Outbound Latency (sec)– Request-Response Latency (sec)

Page 22: Proactivity  in BizTalk?

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

Page 23: Proactivity  in BizTalk?

23 Proactivity - All environments are unique

Throttling

• Good or bad?• Thresholds met• Performance stalls!

18. October 2012

Page 24: Proactivity  in BizTalk?

24 Proactivity - All environments are unique

Thresholds

• Add more resources and change limits• Remove resources and limit the

application

18. October 2012

Page 25: Proactivity  in BizTalk?

BizTalk Host throttling

Page 26: Proactivity  in BizTalk?

BizTalk Host throttling

Page 27: Proactivity  in BizTalk?

27 Proactivity - All environments are unique

BizTalk Host throttling

18. October 2012

Page 28: Proactivity  in BizTalk?

28 Proactivity - All environments are unique

Event log

• Look for errors• Monitor and trigger on errors• Keep it clean

18. October 2012

Page 29: Proactivity  in BizTalk?

29 Proactivity - All environments are unique

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

Page 30: Proactivity  in BizTalk?

30 Proactivity - All environments are unique

Infrastructure

Have some idea of your infrastructure:• Virtualization how and where• Locations• Connections and people

18. October 2012

Page 31: Proactivity  in BizTalk?

31 Proactivity - All environments are unique

Questions?

?18. October 2012