MSMQ Infrastructure Day

Yoel Arnon, [email protected] , www.msmq.biz

Training objectives

 Help participants deploying, managing, optimizing, monitoring and supporting MSMQ infrastructure

Non Objectives

 Teach MSMQ programming  Give an extensive MSMQ troubleshooting guide  Stick to the proposed schedule.

Schedule 8:30 – 9:00 Getting started Introduction & inclusion Training objective and format

9:00 – 10:00 MSMQ deployment - basics o Installing MSMQ – attended and unattended o Workgroup and Active directory installations o MSMQ triggers o HTTP, HTTPS, IIS settings, SFD o Using Active Directory Users and Computers and Computer Management snap-ins o MSMQ security – access control and authentication

10:00 – 10:20 Break

10:20 – 11:20 MSMQ deployment - advanced o Using VBS scripts to deploy MSMQ o MSMQ objects in Active Directory o Private queues configuration . Tip – how to create remote private queue o Multicast deployment and optimization (using MulticastRateKBitsPerSec and MulticastWindowSizeInMSecs registry keys) o Triggers definition – manual and automatic o MSMQ / MQSeries Bridge o Firewall settings for MSMQ

11:20 – 12:20 MSMQ Management and simple scripting o Simple send / peek / receive using VBS o Identifying source, target and admin queues o Using acknowledgements to test configuration o The different format names – OS, TCP, HTTP, MULTICAST, DL, PUBLIC, PRIVATE o Using the MSMQ Admin APIs to manage outgoing queues, purge and Tidy o Using journal and deadletter queues

12:20 – 13:20 Lunch

13:20 – 14:20 MSMQ Monitoring and troubleshooting

o Common MSMQ infrastructure problems and solutions, like: . Messages pile up in regular queues, system queues and outgoing queues . Transactional protocol goes out of sync . Firewall settings block acknowledgements or slow down MSMQ internal ping o MSMQ limitations – total messages size, number of messages, number of sessions – and how to avoid hitting them o MSMQ monitoring using performance counters and WMI o Tuning up MSMQ infrastructure using registry keys o Using machine and queue quotas correctly o Using journal queues and outgoing queue management to track common problems o Using Network Monitor to watch MSMQ traffic o MSMQ troubleshooting tools – TMQ, MSMQ explorer and more o Creating trace files for Microsoft support usage

14:20 – 15:20 MSMQ in Active Directory o MSMQ objects in Active Directory – queues, sites, subnets, distribution lists and queue aliases o Managing MSMQ objects using Active Directory scripts o Active directory based security – certificates, access control, encryption, public & private keys storage o Managing traffic using MSMQ routing servers and site gates

15:20 – 15:30 Break

15:30 – 16:00 MSMQ 4.0 o Managing subqueues o New negative acknowledge classes o Enhanced reliability using per-application dead letter queues

16:00 – 16:30 Wrap up and Q&A