create incident create checkpoint start maint mode shut down vm e-mail on error update on success...
TRANSCRIPT
![Page 1: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/1.jpg)
![Page 2: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/2.jpg)
Runbook Design 101
Jakob Gottlieb Svendsen
DCIM-B375
![Page 3: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/3.jpg)
Jakob Gottlieb Svendsen – @JakobGSvendsenProfession
Chief Developer, Coretech A/S, System Center Gold Partner
TitlesSystem Center Cloud and Data Center Management MVPWindows Azure Pack / SMAOrchestrator + Extensions for SCSM + SCOMVBScript / PowerShell / VB.NET / C#.NET
CommunitiesCo-Founder of the Danish PowerShell User Group (www.psug.dk)Moderator on Microsoft TechNet Forums
AuthorService Manager 2012 Unleashed (contributing author – Release 2014)Mastering System Center Orchestrator 2012 – 3 day workshopWindows Azure Pack – SMA Workshop/course (in development)Advanced SCOM management pack design/development Workshop/course (in development)
Who am I
![Page 4: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/4.jpg)
Introduction to OrchestratorRunbook PlanningRunbook DesignBest PracticesLoggingStage Tracking
Agenda
![Page 5: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/5.jpg)
Introduction
![Page 6: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/6.jpg)
Orchestrator Concepts
Create Incident Create Checkpoint Start Maint Mode Shut Down VM
E-mail on error Update on success
Invoke Web Services
Compare Values
Send e-mail
Query Database
Run .NetScript
Clone Linux VM
Return Data
Check Schedule
Activities Runbooks Databus
Executes a task Collection of Activities Published Data from Activities
Get Data Source Create Recovery Point UpdateService Request
![Page 7: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/7.jpg)
Solution or Application specificProvide ready-built defined activitiesPackaged and DeployedBrings version control to activities
Microsoft and Partner providedAll major enterprise management productsHP, IBM, CA, BMC, EMC
Build your own with the Integration Toolkit!Leverage the Community ecosystem
Integration Packs
![Page 8: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/8.jpg)
Example - Deploy Web site
Create Folder Copy Content Create Web Site Test Web Site
![Page 9: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/9.jpg)
DemoBasic runbook
Jakob Gottlieb Svendsen
![Page 10: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/10.jpg)
Runbook Planning
![Page 11: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/11.jpg)
When to Automate Activities ?
Easy to Automate Occurs Often
Visible to Customers High Risk Breaches SLA
Often
Time Consuming
![Page 12: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/12.jpg)
Is the process optimized and standardized?Is SCO the right tool?Ports & Permissions?Development Cost vs. Manual Process
Identify the best processes
![Page 13: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/13.jpg)
Automate “manual” task1 time every monthTakes 20 minutes to do 1 week to build runbook
Scenario 1 – Basic Task
![Page 14: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/14.jpg)
Scenario 1 – Basic Task
0 1 2 3 4 5 6 7 8 9 100
5
10
15
20
25
30
35
40
45
4 Hours
37.5 Hours
Year
Hours
![Page 15: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/15.jpg)
Automate “Service Stopped” alerts1 alert every day1st line receives and forward (5 mins)2nd line RDP and fix (15 mins)1 week to build runbook
Scenario 2 – Incident Remediation
![Page 16: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/16.jpg)
Scenario 2 – Incident Remediation
0 1 2 3 4 5 6 7 8 9 100
200
400
600
800
1000
1200
1400
122 Hours
1217 Hours
37.5 Hours 37.5 Hours
Year
Hours
![Page 17: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/17.jpg)
Invent “Skynet”The runbook will monitor this system for new objects, then it will… then it will integrate with… and pass data into……We don’t think it will take more than 14-18 months to build the solution. …By the way, we have never used Orchestrator before
Customer Request / Dream
![Page 18: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/18.jpg)
Runbook Design
![Page 19: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/19.jpg)
DemoDesign Guide
Jakob Gottlieb Svendsen
![Page 20: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/20.jpg)
Design GuideRename activitiesUse link labels & colors
SuccessWarning / Failed“Could be”
Left to right
Folder and runbook structureNaming conventionVariablesLibrary of standard runbooks
![Page 21: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/21.jpg)
DemoWatch Out!
Jakob Gottlieb Svendsen
![Page 22: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/22.jpg)
Success might not equal to your expectationNo Loops in Links – Only on activity levelMultiple Results (Multi-value published data)Library runbooks might be in use!
Watch Out!
![Page 23: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/23.jpg)
Does one taskEasier to develop and testCan be used in multiple scenariosDo not use when handling a lot of executions
Adds a delay of a couple of seconds per execution.
Build Modules
![Page 24: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/24.jpg)
DemoModules
Jakob Gottlieb Svendsen
![Page 25: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/25.jpg)
Logging
Text FileEvent log
Except SCOM monitors
Platform EventBuilt-in “Activity Specific Logging”
Custom DatabaseIP for Standard Logging SCSM – Action Log Own IP using the Wizard
Don’ts Do’s
![Page 26: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/26.jpg)
DemoLogging
Jakob Gottlieb Svendsen
![Page 27: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/27.jpg)
InfrastructureMultiple Runbook Servers
RunbookDesign to support failoverResume at the correct stage (staging)
Fail-Over
Runbook Servers
Data Store
![Page 28: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/28.jpg)
Integration Pack for Standard LoggingCustom DatabaseService Manager
State Tracking
![Page 29: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/29.jpg)
DemoState Tracking
Jakob Gottlieb Svendsen
![Page 30: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/30.jpg)
Windows Server 2012 R2 SupportService Management Automation
Windows Azure PackRunbook WorkersPowerShell based Runbooks
System Center Integration Pack for Microsoft SharePointBug fixes
System Center Orchestrator R2
![Page 31: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/31.jpg)
Use Run .Net Script ActivityUse Smart for Runbook Conversion
Get it at TechNet Galleryhttp://gallery.technet.microsoft.com/SMART-SMA-Runbook-Toolkit-1b53d532
Design for ”easy” SMA Migration
![Page 32: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/32.jpg)
Start small / simple
Planning makes development much faster!
Use Service Manager for staging support
Summary
![Page 33: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/33.jpg)
Breakout / Theatre
Theater Presentation – SCCM & Orchestrator – ”Magic is in the glue” – Wednesday 12:30-12:50
DCIM-B411 Datacenter Integration Using Service Management Automation in Microsoft System Center 2012 R2 Orchestrator
Related content
Labs
DCIM-H303 Microsoft System Center 2012 R2 Lab 3: Automation & Self-Service
DCIM-H313 Microsoft System Center 2012 R2 Lab 4: IT Service Management
DCIM-H311 Automating Your Daily Tasks with Windows PowerShell
![Page 34: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/34.jpg)
Come Visit Us in the Microsoft Solutions Experience!
Look for Datacenter and Infrastructure ManagementTechExpo Level 1 Hall CD
For More InformationWindows Server 2012 R2http://technet.microsoft.com/en-US/evalcenter/dn205286
Windows Server
Microsoft Azure
Microsoft Azurehttp://azure.microsoft.com/en-us/
System Center
System Center 2012 R2http://technet.microsoft.com/en-US/evalcenter/dn205295
Azure PackAzure Packhttp://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack
![Page 35: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/35.jpg)
Resources
Learning
Microsoft Certification & Training Resources
www.microsoft.com/learning
msdn
Resources for Developers
http://microsoft.com/msdn
TechNet
Resources for IT Professionals
http://microsoft.com/technet
Sessions on Demand
http://channel9.msdn.com/Events/TechEd
![Page 36: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/36.jpg)
Complete an evaluation and enter to win!
![Page 37: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/37.jpg)
Evaluate this session
Scan this QR code to evaluate this session.
![Page 38: Create Incident Create Checkpoint Start Maint Mode Shut Down VM E-mail on error Update on success Invoke Web Services Compare Values Send e-mail](https://reader036.vdocument.in/reader036/viewer/2022062519/5697bff41a28abf838cbce9b/html5/thumbnails/38.jpg)
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.