Osama Sajid Senior Program Manager Wojtek Voytek Kozaczynski Principal SDE 2027 Agenda slide Where application Distributed cloud application Enterprise application Why does it matter ID: 337265
Download Presentation The PPT/PDF document "Making Your Applications Manageable" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Making Your Applications Manageable
Osama SajidSenior Program Manager
Wojtek
(Voytek)
Kozaczynski
Principal SDE
2-027Slide2
Agenda slide
Where application == Distributed cloud application || Enterprise applicationSlide3
Why does it matter?
ManageabilitySlide4
: capable of being
managed — man·age·abil·i·ty \ˌma-ni-jə-ˈbi-lə-tē\ noun — man·age·able·ness \ˈma-ni-jə-bəl-nəs\ noun — man·age·ably \-blē\
adverb
MANAGEABLE
Dictionary defintionSlide5
Why make software manageableSlide6
Three dimensions of manageabilitySlide7
Windows Management Framework
How to make software manageableSlide8
The N x M Problem
IT Pro
IT Developer
Solution Developer
Storage
Exchange
Devices
Disk
Managed Objects …Slide9
Windows
M
anagement Framework
The Solution
WMF
IT Pro
IT Developer
Solution Developer
Storage
Exchange
Devices
Disk
Managed Objects…Slide10
Maximizing the value of
standards
The Solution
Standard Protocols
(
WS-Man, REST, HTTP,
PSRP)
Standard APIs
(
MIClient
, PowerShell,
OData
)
Standard Models
(
CIM Schema, SMI-S
)
IT Pro
IT Developer
Solution Developer
Storage
Exchange
Devices
Disk
Managed Objects
WMFSlide11
Big(ger) Picture
Management Application
Application
ETW
ELS
WMI Indication
Provider
WMI Instance
Provider
ETW Events
CIM IndicationsSlide12
Configuration and State Management
Write WMI provider to expose configuration settings and management operations
PowerShell
Application
ETW
ELS
WMI Indication
Provider
WMI Instance
Provider
ETW Events
CIM IndicationsSlide13
Writing WMI Provider
MOF SignatureFrom DMTF StandardCustom
MOF
Skeleton Code
C or C++
Business Logic
PS Semantics
Compile
Register with WMI
Cmdlet Execution
Development
Setup
Runtime
Design
Invoke from any WMI clientSlide14
Configuration and State Management using WMI
DemoSlide15
Monitoring System State : WMI Indications
Generate WMI indications when state changesMore scalable than client ‘polling’ for state change
PowerShell
Application
ETW
ELS
WMI Indication
Provider
WMI Instance
Provider
ETW Events
CIM IndicationsSlide16
Monitoring System State using WMI
IndicationsDemoSlide17
Demo RecapSlide18
Instrumenting for monitoring Using ETW
Make application generate eventsLog events for analysis
PowerShell
Application
ETW
ELS
WMI Indication
Provider
WMI Instance
Provider
ETW Events
CIM IndicationsSlide19
Using ETW Logging
DemoWindows Events
System.Dagnostics.Tracing.EventSource
PerfViewSlide20
Anatomy of ETW
ETW
Your
Application
EventWrite
EnableCallback
ETW
Session
EnableTrace (provider, mask, …)
EventDeliveryCallback
Per-session Event Buffer
Management App/Tool
EventRegister
Windows Kerne
lSlide21
Demo Recap
Using ETWSlide22
Open Management Infrastructure (OMI)
Manageability for non-WindowsSlide23
Standards-based interoperability
WS-Man
Protocol
Handler
WMI
WS-Man
Protocol Handler
Native
MI API
.NET MI API
PowerShell
MI Client API
v1 Provider
v1 Provider
Classical
Provider
MI Provider
MI Provider
WS-Man
Protocol Handler
OMI
MI Provider
WS-Man
Protocol Handler
a
ny device
Windows
n
on-Windows
WS-ManSlide24
Session RecapSlide25
Resources
WMI SDK samplehttp://code.msdn.microsoft.com/Management-Infrastructure-79fb414fWindows Eventshttp://msdn.microsoft.com/en-us/library/windows/desktop/aa964766(v=vs.85).aspxSystem.Diagnostics.Tracing.EventSource
http://
msdn.microsoft.com/en-us/library/system.diagnostics.tracing.eventsource.aspx
WMI API documentation
http
://msdn.microsoft.com/en-us/library/windows/desktop/jj152383(v=vs.85).
aspx
WMI Blog
http://blogs.msdn.com/b/wmi
/
WMF 3.0 download
http://
www.microsoft.com/en-us/download/details.aspx?id=34595
OMI download
http://
www.opengroup.org/software/omiSlide26
Follow us on Twitter @
WindowsAzureGet Started: www.windowsazure.com/build
Resources
Please submit session
evals
on the Build Windows 8 App or at
http://aka.ms/BuildSessionsSlide27