Windows Azure Diagnostics
Upcoming SlideShare
Loading in...5

Windows Azure Diagnostics



Overview of Windows Azure Diagnostics

Overview of Windows Azure Diagnostics



Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Windows Azure Diagnostics Windows Azure Diagnostics Presentation Transcript

  • Windows Azure Diagnostics Neil Mackenzie
  • Overview• Motivation for Windows Azure Diagnostics• Architecture of WAD• Configuring WAD• Managing WAD• Demonstration
  • Why Windows Azure Diagnostics?WAD Provides:• visibility into instance VMs• access to IIS logs, event logs and traces• configuration of diagnostic information captured• consistent way to persist diagnostic informationWAD Supports:• non-intrusive investigation of problems• auto-scaling through access to performance countersIntelliTrace
  • WAD ArchitectureDiagnostics Agent• Runs on each instance• Persists diagnostic data to Azure StorageConfiguration• Instance-specific WAD configuration• Located in an Azure Blob container• Polled by Diagnostics AgentAzure Storage• WAD uses blobs, tables and queues.NET API
  • ConfigurationWAD Configuration• Instance-specific blobs in wad-control-containerWAD Configuration specifies:• data buffers to be captured• data buffers to be persisted• transfer scheduleWAD .NET API updates WAD configurationDiagnostics Agent:• polls WAD configuration to identify changes.• implements changes
  • Data Buffers WAD captures data to the data buffer WAD persists data to the Azure Storage locationData Buffer Azure Storage LocationWindows Azure logs * WADLogsTableWindows Diagnostic infrastructure logs * WADDiagnosticsInfrastructureLogsTableIIS 7.0 logs (webrole) * wad-iis-logfiles (blobs)Failed Request logs (webrole) wad-iis-failedreqlogfiles (blobs)Windows Event logs WADWindowsEventLogsTablePerformance counters WADPerformanceCountersTableCrash dumps wad-crash-dumps (blobs)Custom error logs Configurable (blobs)* Captured by defaultWADDirectoriesTable contains one entity for each blob stored by WAD
  • Custom LoggingWAD supports custom loggingConfigure:• Capture directory in local storage• Persistence location in Azure Blob storage• Transfer schedule
  • PersistenceScheduled Transfers• Routine transfers to persistent storage• Transfer period specific to a data bufferOn-Demand Transfers• Immediate need to persist data• Possibility of duplicate data in persistent storageCleanup• WAD does not cleanup persisted data• Should not delete the tables/containers
  • Managing WADDiagnostics Agent started automatically• Default configurationWAD managed on a per-instance basis• Use RoleInstanceDiagnosticManager• Get WAD configuration for instance• Modify WAD configuration• Set current WAD configuration for the instance
  • On-Demand TransfersOn-Demand transfers configured for:• Instance• Data bufferUse RoleInstanceDiagnosticManager• Configure on-demand transfer• Request on-demand transferCleanup on-demand transfer• Get completion message from WAD notification queue• End on-demand transferOne on-demand transfer per data buffer
  • ToolsCerebrata• Azure Diagnostics ManagerMicrosoft• Systems Center Operations Manager – Windows Azure Management Pack RC
  • DemoWeb role with two instances demonstratingvarious aspects of Windows Azure Diagnostics
  • Contact Information• Neil Mackenzie• Twitter: @mknz• Blog: