SlideShare a Scribd company logo
1 of 61
Fredrik Kristian Knalstad
10 ways to trigger Runbooks from the IT Jungle
Service Manager

HP Service Manager Software
Make your IT service desk enterprise strength

OpenView Operations
INTEGRATION PACKS

Third-Party
25%

Microsoft
50%
Community
25%
SMA

Powershell
Authoring

Orchestrator

Interoperability

Powershell
Engine

Graphical
Authoring

UI Runbook
Engine

Process Automation
10

Orchestrator Web Service
Orchestrator
Web Service

Web Service Triggered

Result Returned to webservice
Job status Returned

Job Created in DB

Runbook
Designer

Management
Server

Info sent back to DB

Orchestrator
Database

Job executed

Runbook
Server
Http://Servername/Orchestrator/Orchestrator2012.svc

• Orchestrator Web Service
•
•

•
•
•
•
•

REST based API
Exposes Orchestrator Resources and relationship through Open Data Protecol
(Odata)
Interact with the web service through URL syntax
Return data is listed in XML
Access the web service through programming language like C# and Powershell to automate
Orchestrator functionality
Windows Integrated and Certificate based authentication
Orchestrator web service is the only supported method of automating Orchestrator or
accessing information.
Odata Queries
[Service Root URI]/[Resource Path]?[Query Options]
http://SCOR2012R201:81/Orchestrator2012/Orchestrator.svc
http://SCOR2012R201:81/Orchestrator2012/Orchestrator.svc /Runbooks
http://SCOR2012R201:81/Orchestrator2012/Orchestrator.svc
/Runbooks?$filter=Name eq ‘Client Diagnostics’
Demo..
9

Powershell
Powershell:
•
•
•
•

Integrated in Orchestrator
Excellent method of integrating with products and solutions
Must create an http request that has the required properties
Specify the GUID for each parameter and the value to populate it with
Runbook GUID

Parameter GUID
Parameter Value

# Details of the runbook we are going to run
$rbid = "ba5346ed-af8e-48bf-966b-85e3e461763f"
$rbParameters = @{"863b70e9-f12e-43ef-ba1b-1094b3ea63f7" = "This is the value for Param1.";"ce36281b-b1d0-41cf-91757821f8782a8c" = " This is the value for Param2."}
# Create the request object
$request = [System.Net.HttpWebRequest]::Create("http://scor2012r201.knallert.local:81/Orchestrator2012/Orchestrator.svc/Jobs")

Web Service URL
System Center Orchestrator Web Service Powershell Module
Get-OrchestratorServiceUrl
Get-OrchestratorCollection
Get-OrchestratorJob
Get-OrchestratorRunbook
Get-OrchestratorRunbookInstance
Get-OrchestratorRunbookInstanceParameter
Stop-OrchestratorJob
Start-OrchestratorRunbook

OData PowerShell Explorer
•

Available on Codeplex
8

Configuration Manager
MDT Integration
Application Deployment
• Powershell
• SCOJoBRunner

OS Deployment
• Powershell (Task Sequence)
• MDT Integration (Task Sequence)

Client Management
• Runbook Commander 2.0
Demo..
Remember:

MDT Orchestrator Step (Task Sequence)
• Network access account added to the OrchestratorUserGroup
Where can I use this:

•Moving a computer to a new OU. (Active Directory)
•Adding Computers to Groups (Active Directory)
•Generating or retrieving a computer name. (Local Computer / Active Directory)
•E-mailing when a deployment fails (SMTP)
•Creating a trouble ticket/Incident when a deployment fails(Service Manager)
7

Monitor Activity
Integration Pack

Activity

Exchange Users Integration Pack

Monitor Item

Operations Manager Integration Pack

Monitor Alert
Monitor State

Service Manager Integration Pack

Monitor Object

Virtual Machine Manager Integration Pack

Monitor VMM Job

Standard Activites

Monitor Service
Monitor Event Log
Get Service Status
Monitor Process
Get Process Status
Monitor Computer/IP
Get Computer/IP Status
Remember:
Runbook Server
• Default 50 slots per Runbook server
• Policy module.exe instance run for every starting runbook.
• Large environments its better that remote integration is triggered.
• Performance impact not only on Orchestrator, but on the other systems
as well.
6

Service Manager
Runbook Template
Runbook Template

• Automating processes and enforcing best practices for incident, change,
and service-life-cycle management
• Reducing unanticipated errors and service delivery time by automating
tasks across responsibility groups within your IT organization
• Integrating System Center with non-Microsoft tools to enable
interoperability across the datacenter
• Orchestrating tasks across systems for consistent, documented, and
compliant activity
Runbook Designer:
• Create the Runbook
• Make sure Runbook is [Check in]
Orchestrator Connector:
• Orchestrator Web Service
• Run As account
• Select the Sync folder
• URL to the Web console
Service Manager Runbooks:
• Active / Missing
• Naming Convention
Runbook Activity Template:
• Is Ready for Automation
Add User to Local Administrators

Service Request Template

IT Administrators Approve
(Review Activity)

Add User to AD Group
(Runbook Activity Template)
Demo..
Add User to Local Adminstrators v1
Add User to Local Adminstrators v2
Remember:

Orchestrator Connector
• Connector account added to the OrchestratorUserGroup
Orchestrator
• Runbook needs to be checked in or it will be listed as «Missing» in
Service Manager
5

EUPSCO

End User Portal Orchestrator
End User Portal for System Center Orchestrator
• No Cost
• Service Request
• Order on Behalf
• Activity Delegation (Approval)
• Active Directory LDAP Sync
• Custom services based on your Runbooks
Demo..
4

Custom Integrations
Orchestrator Web Service
Custom Integrations:

•
•
•

Console Application (CMD)
Formbased Application (UI)
Webform / Website (.NET)

•

Visual Studio or Visual C# 2010 Express
Demo..
3

Orchestrator Web Console
Runbook
Designer

Management
Server

Orchestrator
Database

Runbook
Server
Demo..
TRUNCATE TABLE
[Microsoft.SystemCenter.Orchestrator.Internal].AuthorizationCache
Orchestrator Web Console

•
•

Delegation of access to Users and Groups (Service Desk)
Offload usage of Runbook Designer
2

SCOJobRunner
Task Activities
SCOJobRunner.exe

Type

Example:

-ID

Runbook ID

79cf665b-9f4f-4273-9d4f-67aaf0da868e

-Webserver

Computername

SCOR2012R201

-Port

Orchestrator Webservice Port

81

-Parameters:

Input Parameters in Runbook

"Computer Name=%Input%"

-RunbookServer

Runbook Server to execute the
job

SCOR2012R201
Default
SCOJobRunner.exe -ID "Runbook ID" -webserver: "ServerName" Parameters:"Computer Name=Variable"
With Input
SCOJobRunner.exe -ID "79cf665b-9f4f-4273-9d4f-67aaf0da868e" webserver:"SCOR2012R201" -Parameters:"Computer Name=MGTCLIENT"
Service Manager
Where can I use the SCOJobRunner?

•
•
•
•
•

Service Manager – Console Task
Operation Manager – Console Task
Configuration Manager – Application Model [Deployment]
VMM Workflow – Build Server
Task Scheduler
Demo..
1

Orchestrator Mobile
Windows Phone App
Remember:

•
•
•
•

Phone has to have http(s) connectivity to Orchestrator Web Service
Orchestrator Web Service must be configured to allow Basic
authentication
If https is used then server certificate must be valid
In order to enable Orchestrator Mobile to connect to Orchestrator Web
Service from the internet, you have to publish it over a reverse proxy
(like Microsoft Forefront TMG).
Summary
•
•
•
•
•
•
•
•
•
•

Orchestrator Web Service
Powershell
Configuration Manager / MDT
Monitor Activity
Service Manager Runbook Template
End User Portal Orchestrator
Custom Integrations
Orchestrator Web Console
SCOJobRunner
Windows Phone App
Thank you
Fredrik.knalstad@crayon.com
Twitter: Theknall

More Related Content

What's hot

SharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSPC Adriatics
 
SPCA2013 - Windows Workflow Manager for the IT Pro
SPCA2013 - Windows Workflow Manager for the IT ProSPCA2013 - Windows Workflow Manager for the IT Pro
SPCA2013 - Windows Workflow Manager for the IT ProNCCOMMS
 
O365con14 - migrating your e-mail to the cloud
O365con14 - migrating your e-mail to the cloudO365con14 - migrating your e-mail to the cloud
O365con14 - migrating your e-mail to the cloudNCCOMMS
 
O365con14 - sharepoint 2013 and office 365 upgrade and migration
O365con14 - sharepoint 2013 and office 365 upgrade and migrationO365con14 - sharepoint 2013 and office 365 upgrade and migration
O365con14 - sharepoint 2013 and office 365 upgrade and migrationNCCOMMS
 
Office 365 Groups and Tasks API - Getting Started
Office 365 Groups and Tasks API - Getting StartedOffice 365 Groups and Tasks API - Getting Started
Office 365 Groups and Tasks API - Getting StartedDragan Panjkov
 
Scaling SharePoint 2016 Farms with MinRole & Other Tools
Scaling SharePoint 2016 Farms with MinRole & Other ToolsScaling SharePoint 2016 Farms with MinRole & Other Tools
Scaling SharePoint 2016 Farms with MinRole & Other ToolsSPC Adriatics
 
Office Web Apps Server 2013
Office Web Apps Server 2013Office Web Apps Server 2013
Office Web Apps Server 2013SPC Adriatics
 
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...SPTechCon
 
Build sites on iis
Build sites on iisBuild sites on iis
Build sites on iisPaul Davis
 
Ddps 2013 office web apps
Ddps 2013 office web appsDdps 2013 office web apps
Ddps 2013 office web appsthinkofdevil
 
Work Management Application in SharePoint 2013 - architecture and development
Work Management Application in SharePoint 2013 - architecture and developmentWork Management Application in SharePoint 2013 - architecture and development
Work Management Application in SharePoint 2013 - architecture and developmentAdis Jugo
 
Lync, Exchange, Sharepoint and Office Web Apps, the Fantastic 4 of Communi...
Lync, Exchange, Sharepoint  and Office Web Apps, the  Fantastic 4 of  Communi...Lync, Exchange, Sharepoint  and Office Web Apps, the  Fantastic 4 of  Communi...
Lync, Exchange, Sharepoint and Office Web Apps, the Fantastic 4 of Communi...Vlad Catrinescu
 
(ATS6-DEV04) Building Web MashUp applications that include Accelrys Applicati...
(ATS6-DEV04) Building Web MashUp applications that include Accelrys Applicati...(ATS6-DEV04) Building Web MashUp applications that include Accelrys Applicati...
(ATS6-DEV04) Building Web MashUp applications that include Accelrys Applicati...BIOVIA
 
Introduction to the Client OM in SharePoint 2010
Introduction to the Client OM in SharePoint 2010Introduction to the Client OM in SharePoint 2010
Introduction to the Client OM in SharePoint 2010Ben Robb
 
SharePoint On-Premises Nirvana
SharePoint On-Premises NirvanaSharePoint On-Premises Nirvana
SharePoint On-Premises NirvanaJohn Calvert
 
Sharepoint as a service platform
Sharepoint as a service platformSharepoint as a service platform
Sharepoint as a service platformKashif Akram
 

What's hot (19)

SharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi Vončina
 
SPCA2013 - Windows Workflow Manager for the IT Pro
SPCA2013 - Windows Workflow Manager for the IT ProSPCA2013 - Windows Workflow Manager for the IT Pro
SPCA2013 - Windows Workflow Manager for the IT Pro
 
Azure automation
Azure automationAzure automation
Azure automation
 
O365con14 - migrating your e-mail to the cloud
O365con14 - migrating your e-mail to the cloudO365con14 - migrating your e-mail to the cloud
O365con14 - migrating your e-mail to the cloud
 
O365con14 - sharepoint 2013 and office 365 upgrade and migration
O365con14 - sharepoint 2013 and office 365 upgrade and migrationO365con14 - sharepoint 2013 and office 365 upgrade and migration
O365con14 - sharepoint 2013 and office 365 upgrade and migration
 
Office 365 Groups and Tasks API - Getting Started
Office 365 Groups and Tasks API - Getting StartedOffice 365 Groups and Tasks API - Getting Started
Office 365 Groups and Tasks API - Getting Started
 
Scaling SharePoint 2016 Farms with MinRole & Other Tools
Scaling SharePoint 2016 Farms with MinRole & Other ToolsScaling SharePoint 2016 Farms with MinRole & Other Tools
Scaling SharePoint 2016 Farms with MinRole & Other Tools
 
Office Web Apps Server 2013
Office Web Apps Server 2013Office Web Apps Server 2013
Office Web Apps Server 2013
 
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
 
Build sites on iis
Build sites on iisBuild sites on iis
Build sites on iis
 
Ddps 2013 office web apps
Ddps 2013 office web appsDdps 2013 office web apps
Ddps 2013 office web apps
 
Work Management Application in SharePoint 2013 - architecture and development
Work Management Application in SharePoint 2013 - architecture and developmentWork Management Application in SharePoint 2013 - architecture and development
Work Management Application in SharePoint 2013 - architecture and development
 
Lync, Exchange, Sharepoint and Office Web Apps, the Fantastic 4 of Communi...
Lync, Exchange, Sharepoint  and Office Web Apps, the  Fantastic 4 of  Communi...Lync, Exchange, Sharepoint  and Office Web Apps, the  Fantastic 4 of  Communi...
Lync, Exchange, Sharepoint and Office Web Apps, the Fantastic 4 of Communi...
 
(ATS6-DEV04) Building Web MashUp applications that include Accelrys Applicati...
(ATS6-DEV04) Building Web MashUp applications that include Accelrys Applicati...(ATS6-DEV04) Building Web MashUp applications that include Accelrys Applicati...
(ATS6-DEV04) Building Web MashUp applications that include Accelrys Applicati...
 
Introduction to the Client OM in SharePoint 2010
Introduction to the Client OM in SharePoint 2010Introduction to the Client OM in SharePoint 2010
Introduction to the Client OM in SharePoint 2010
 
Understanding iis part2
Understanding iis part2Understanding iis part2
Understanding iis part2
 
Integrating Office Web Apps with SharePoint 2013
Integrating Office Web Apps with SharePoint 2013Integrating Office Web Apps with SharePoint 2013
Integrating Office Web Apps with SharePoint 2013
 
SharePoint On-Premises Nirvana
SharePoint On-Premises NirvanaSharePoint On-Premises Nirvana
SharePoint On-Premises Nirvana
 
Sharepoint as a service platform
Sharepoint as a service platformSharepoint as a service platform
Sharepoint as a service platform
 

Similar to 10 ways to trigger Runbooks from the IT Jungle

1.4 build your_svc_cat_final
1.4 build your_svc_cat_final1.4 build your_svc_cat_final
1.4 build your_svc_cat_finalPaulo Freitas
 
Windows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server ManagementWindows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server ManagementSharkrit JOBBO
 
Deploying and Managing PowerPivot for SharePoint
Deploying and Managing PowerPivot for SharePointDeploying and Managing PowerPivot for SharePoint
Deploying and Managing PowerPivot for SharePointDenny Lee
 
V mware v center orchestrator 5.5 knowledge transfer kit
V mware v center orchestrator 5.5 knowledge transfer kitV mware v center orchestrator 5.5 knowledge transfer kit
V mware v center orchestrator 5.5 knowledge transfer kitsolarisyougood
 
System Center Universe Europe 2014 - Jakob Gottlieb Svendsen - Service Manag...
System Center Universe Europe 2014 - Jakob Gottlieb Svendsen -  Service Manag...System Center Universe Europe 2014 - Jakob Gottlieb Svendsen -  Service Manag...
System Center Universe Europe 2014 - Jakob Gottlieb Svendsen - Service Manag...Jakob Gottlieb Svendsen
 
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...Datapolis
 
SPSNYC SharePoint Worst Practices
SPSNYC SharePoint Worst PracticesSPSNYC SharePoint Worst Practices
SPSNYC SharePoint Worst PracticesScott Hoag
 
Deploying Microsoft System Center in Days
Deploying Microsoft System Center in DaysDeploying Microsoft System Center in Days
Deploying Microsoft System Center in DaysPowerONPlatforms
 
Identity Management in SharePoint 2013
Identity Management in SharePoint 2013Identity Management in SharePoint 2013
Identity Management in SharePoint 2013SPC Adriatics
 
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...BizTalk360
 
Automation 2.0 - Automation Tools for Hybrid Cloud Environments
Automation 2.0 - Automation Tools for Hybrid Cloud EnvironmentsAutomation 2.0 - Automation Tools for Hybrid Cloud Environments
Automation 2.0 - Automation Tools for Hybrid Cloud EnvironmentsMichael Rüefli
 
Workflow Manager - a technical overview (Sam Vanhoutte)
Workflow Manager - a technical overview (Sam Vanhoutte)Workflow Manager - a technical overview (Sam Vanhoutte)
Workflow Manager - a technical overview (Sam Vanhoutte)Sam Vanhoutte
 
20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow ManagerBTUGbe
 
SharePoint on demand with System Center - Matija Blagus
SharePoint on demand with System Center - Matija BlagusSharePoint on demand with System Center - Matija Blagus
SharePoint on demand with System Center - Matija BlagusSPC Adriatics
 
SCU Asia System Center: Beyond orchestrator
SCU Asia System Center: Beyond orchestratorSCU Asia System Center: Beyond orchestrator
SCU Asia System Center: Beyond orchestratorAlexandre Verkinderen
 
vRO Training Document
vRO Training DocumentvRO Training Document
vRO Training DocumentMayank Goyal
 
Azure Functions in Action #CodePaLOUsa
Azure Functions in Action #CodePaLOUsaAzure Functions in Action #CodePaLOUsa
Azure Functions in Action #CodePaLOUsaBaskar rao Dsn
 
Mobile Services for Windows Azure
Mobile Services for Windows AzureMobile Services for Windows Azure
Mobile Services for Windows AzureAbhishek Sur
 
ESPC18 Copenhagen session : Energize your application developments with micro...
ESPC18 Copenhagen session : Energize your application developments with micro...ESPC18 Copenhagen session : Energize your application developments with micro...
ESPC18 Copenhagen session : Energize your application developments with micro...serge luca
 

Similar to 10 ways to trigger Runbooks from the IT Jungle (20)

1.4 build your_svc_cat_final
1.4 build your_svc_cat_final1.4 build your_svc_cat_final
1.4 build your_svc_cat_final
 
Windows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server ManagementWindows 2012 R2 Multi Server Management
Windows 2012 R2 Multi Server Management
 
Deploying and Managing PowerPivot for SharePoint
Deploying and Managing PowerPivot for SharePointDeploying and Managing PowerPivot for SharePoint
Deploying and Managing PowerPivot for SharePoint
 
V mware v center orchestrator 5.5 knowledge transfer kit
V mware v center orchestrator 5.5 knowledge transfer kitV mware v center orchestrator 5.5 knowledge transfer kit
V mware v center orchestrator 5.5 knowledge transfer kit
 
System Center Universe Europe 2014 - Jakob Gottlieb Svendsen - Service Manag...
System Center Universe Europe 2014 - Jakob Gottlieb Svendsen -  Service Manag...System Center Universe Europe 2014 - Jakob Gottlieb Svendsen -  Service Manag...
System Center Universe Europe 2014 - Jakob Gottlieb Svendsen - Service Manag...
 
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
 
SPSNYC SharePoint Worst Practices
SPSNYC SharePoint Worst PracticesSPSNYC SharePoint Worst Practices
SPSNYC SharePoint Worst Practices
 
Deploying Microsoft System Center in Days
Deploying Microsoft System Center in DaysDeploying Microsoft System Center in Days
Deploying Microsoft System Center in Days
 
Identity Management in SharePoint 2013
Identity Management in SharePoint 2013Identity Management in SharePoint 2013
Identity Management in SharePoint 2013
 
Travis Wright - Complete it service management
Travis Wright - Complete it service managementTravis Wright - Complete it service management
Travis Wright - Complete it service management
 
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
 
Automation 2.0 - Automation Tools for Hybrid Cloud Environments
Automation 2.0 - Automation Tools for Hybrid Cloud EnvironmentsAutomation 2.0 - Automation Tools for Hybrid Cloud Environments
Automation 2.0 - Automation Tools for Hybrid Cloud Environments
 
Workflow Manager - a technical overview (Sam Vanhoutte)
Workflow Manager - a technical overview (Sam Vanhoutte)Workflow Manager - a technical overview (Sam Vanhoutte)
Workflow Manager - a technical overview (Sam Vanhoutte)
 
20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager20140211 BTUG.be - Workflow Manager
20140211 BTUG.be - Workflow Manager
 
SharePoint on demand with System Center - Matija Blagus
SharePoint on demand with System Center - Matija BlagusSharePoint on demand with System Center - Matija Blagus
SharePoint on demand with System Center - Matija Blagus
 
SCU Asia System Center: Beyond orchestrator
SCU Asia System Center: Beyond orchestratorSCU Asia System Center: Beyond orchestrator
SCU Asia System Center: Beyond orchestrator
 
vRO Training Document
vRO Training DocumentvRO Training Document
vRO Training Document
 
Azure Functions in Action #CodePaLOUsa
Azure Functions in Action #CodePaLOUsaAzure Functions in Action #CodePaLOUsa
Azure Functions in Action #CodePaLOUsa
 
Mobile Services for Windows Azure
Mobile Services for Windows AzureMobile Services for Windows Azure
Mobile Services for Windows Azure
 
ESPC18 Copenhagen session : Energize your application developments with micro...
ESPC18 Copenhagen session : Energize your application developments with micro...ESPC18 Copenhagen session : Energize your application developments with micro...
ESPC18 Copenhagen session : Energize your application developments with micro...
 

Recently uploaded

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Recently uploaded (20)

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

10 ways to trigger Runbooks from the IT Jungle

Editor's Notes

  1. OrchestratorIn System Center 2012, System Center 2012 SP1, and System Center 2012 R2, the Orchestrator component enables you to automate business processes and IT operations in your data center without scripting or programming. Orchestrator is a feature in System Center 2012. If you already have System Center 2012 installed, and you do not plan to install Windows Azure Pack, use Orchestrator.Service Management Automation (SMA)Automation in Windows Azure Pack enables you to automate processes within the Windows Azure Pack. Because Automation runs Windows PowerShell workflows, you can also use Windows PowerShell cmdlets to run other System Center 2012 components, including Orchestrator. If you are planning to use the Windows Azure Pack, use Automation, and then you can continue to leverage your System Center 2012 installation (if one exists).Orchestrator Service Management Automation (SMA) is a new component that has been added in System Center 2012 R2, and although initially it might seem to be an extension to Orchestrator--which in itself is already part of System Center--it's really a completely separate component.It's also possible for organizations leveraging Windows Azure Pack to integrate their own PowerShell workflows into SMA. PowerShell is the future direction for Microsoft, and with Orchestrator SMA, those PowerShell efforts benefit from the capabilities and scalability (such as multiple SMA runbook servers) formerly possible only with Orchestrator runbooks.Note that SMA automations are not compatible with Orchestrator, and Orchestrator runbooks will not work with SMA.Through sessions on NIC you will see examples of SMA and the usage of Windows Azure Pack and how SMA works.“Most important both IT process automation solutions has in common – start using PowerShell!!!”
  2. Orchestrator Web Service runs on IIS.Orchestrator Web Service is a OrchestratorRoleTheorchestrator Web service is thecommunicationpointwithother Software products in OrhestratorThe Orchestrator web service must be installed on a server that is running Internet Information Services (IIS). The Orchestrator web service does not have to be available for runbook servers or runbooks to function. If the Orchestrator web service is not available, you cannot run the Orchestration console to start, monitor, or stop runbooks. You can install the web service on multiple IIS servers configured for load balancing to provide high availability and additional capacity.
  3. Transactional communication with RESTful web services Windows Integrated and Certificate+based AuthenticationOpens Possibilities of Interaction Between Orchestrator Instances
  4. Service Root URIDefinestherootoftheOdata service. This includestheprotocol to eitheruse http or https. Path to the computer hosting the service and port number.Resource PathThe resourcepathdefinestheresourcesthatyouwant to workwith. This can be a single resource as a runbook or a collectionofrunbooks or a collectionofjobs.Query Options Allowyou to furtherrefinewhich data is returned and how it is ordered.System Query Options are query string parameters a client may specify to control the amount and order of the data that an OData service returns for the resource identified by the URI. 
  5. Powershell is higglyintegrated in Orchestrator. SinceOrchestrator and Powershellarebuilton.Net Framework, powershell is an exellentmethodofintegratingwithproducts and solutions.Windows PowerShell does not have the ability to use a Service Reference as does a program written using Visual Studio.Instead, you must create an http request that has the required properties and the details of the runbook you want to start. You can parse the response to the request to determine information such as its completion status and the details of the resulting job.If the runbook requires parameters, you must specify the GUID for each parameter and the value to populate it with. This information is included in a Parameters XML element that uses a CDATA to distinguish it from the XML of the request itself. You can retrieve the parameters for a runbook with and their details with a request similar to the following:http://server01.contoso.com:81/Orchestrator2012/Orchestrator.svc/Runbooks(guid'00000000-0000-0000-00000000000000000')/ParametersThe following example shows how to start a runbook using Windows PowerShell. The runbook in this example has two parameters. The values for these two parameters are stored in an array variable before being added to the XML for the request. For a runbook that does not have parameters, you can leave the Parameters element of the request empt
  6. you must create an http request that has the required properties and the details of the runbook you want to start. You can parse the response to the request to determine information such as its completion status and the details of the resulting job.
  7. If the runbook requires parameters, you must specify the GUID for each parameter and the value to populate it with. This information is included in a Parameters XML element that uses a CDATA to distinguish it from the XML of the request itself. You can retrieve the parameters for a runbook with and their details with a request similar to the following:
  8. Automaticallyproviderunbook parametersSelect this option to automatically provide the Orchestrator runbook input parameter values( which assumes that the runbook parameter values are task sequence variables). For example, if a runbook has an input parameter named OSDComputerName, then the OSDComputerName task sequence variable value is passed to the runbook.Specifyexplicit  runbook parametersSelect this option to explicitly provide the Orchestrator runbook input parameters.You must configure the following settings for each input parameter that the Orchestrator runbook requires:
  9. Unlike the setup in place for web services and stored procedures, the Orchestrator support is not tied to CustomSettings.ini.  Instead, it is designed to run at any point in the task sequence itself by adding a new “Execute Orchestrator Runbook” requests wherever you want them:If that runbook accepts input parameters, you can pass those from the task sequence either explicitly (type in the value you want, using variable substitution if necessary) or implicitly (if the runbook parameter name matches the name of a task sequence variable, the value of that variable will be passed automatically).
  10. Each running runbook consumes a “slot” in the available runbook throttling limit that’s set for each Runbook Server.For every runbook that is running - every monitor runbook that is active, every runbook and all of the child runbooks that they might call – there is a PolicyModule.exe instance and that is consuming one of those slots in the throttling limit.In addition to the above, realize that you may have multiple monitor runbooks running against the same data source. For example, you may be monitoring Operations Manager for certain conditions like new alerts of a certain type or changes in status of a monitor for a set of computers.t’s highly likely that you will have multiple monitors, each polling the Operations Manager server every 5 seconds, putting additional load on the Operations Manager server because it has to do queries of its data every 5 seconds for 5 or 10 (or maybe more) different monitors. Now repeat this scenario across your other data sources, like Service Manager, Configuration Manager, Virtual Machine Manager, and so on. You begin to see how this might have a performance impact not only on Orchestrator, but on the other systems as well.
  11. Each running runbook consumes a “slot” in the available runbook throttling limit that’s set for each Runbook Server.For every runbook that is running - every monitor runbook that is active, every runbook and all of the child runbooks that they might call – there is a PolicyModule.exe instance and that is consuming one of those slots in the throttling limit.In addition to the above, realize that you may have multiple monitor runbooks running against the same data source. For example, you may be monitoring Operations Manager for certain conditions like new alerts of a certain type or changes in status of a monitor for a set of computers.t’s highly likely that you will have multiple monitors, each polling the Operations Manager server every 5 seconds, putting additional load on the Operations Manager server because it has to do queries of its data every 5 seconds for 5 or 10 (or maybe more) different monitors. Now repeat this scenario across your other data sources, like Service Manager, Configuration Manager, Virtual Machine Manager, and so on. You begin to see how this might have a performance impact not only on Orchestrator, but on the other systems as well.
  12. Connect to webserviceusingprogramming Language or scriptinglanguagethat is capableof sending an HTTP request and recieivingitsresponse