SlideShare une entreprise Scribd logo
1  sur  31
Jakob Gottlieb Svendsen
System Center Orchestrator
Service Management Automation
Automating System Center 2012 R2
@JakobGSvendsen
http://blog.coretech.dk/jgs/
Who am I
• Chief Developer / Consultant / Trainer
• Coretech A/S, System Center Gold Partner
– Offices in
• Titles
– System Center Cloud and Data Center Management MVP
– Member of the System Center Influencers Team
• Areas
– Orchestrator / Service Management Automation / Windows Azure
Pack
– Extensions for System Center (PS,VB.NET,C#.NET)
• Communities
– Co-Founder of the Danish PowerShell User Group (www.psug.dk)
• Author / Training
– Service Manager 2012 Unleashed (contributing author – Released
October 2014)
– Mastering System Center Orchestrator 2012 – 3 day workshop
– Service Management Automation - 3 day Workshop (New!)
Agenda
• Short Introduction
• Scenario: Azure Pack Integration
• Scenario: SCCM/Intune – Monitor Jailbreaks
• Monitors in SMA
• Scenario: SCOM/SCVMM – Extend VM Drive
• SCOM – Using Recovery Action
• Scenario: SCSM/SCCM – Import Computer(s)
Core
Resource
clouds
Automation Billing Tenant
management
Hosting
plan
Hardware
IaaS
Virtual
machines
PaaS
Service
bus
PaaS
Websites
IaaS
Network
PaaS
DatabaseAzure Pack Operations Manager
Infrastructure& application
monitoring,alerting& usage
Data Protection Manager
Continuousprotectionof key
applications& workloads
Service Manager
IT servicemanagement&
requestauthoring
Orchestrator
Integration& automationof key
technologies& processeswith
SMA & Service Manager
Virtual Machine Manager
Fabric,library& cloud management
Service Delivery stack
Service Management Automation (SMA)
• System Center 2012 R2 Orchestrator adds support for
PowerShell Workflows through the SMA feature
• Browser-based runbook authoring integrated into the Azure Pack Portal
• Supports requirements for scale and high availability
• Import PS modules and create additional modules and runbooks
• Check out the Building Clouds Blog for an Introduction to SMA
http://aka.ms/IntroToSMA
Demo
Introduction
SCOM CI Connector
Service
Manager
Operations
Manager
Monitored
Instances
Operations Manager CI Connector
Any Monitored Resources
*nix / bsd
Network
Custom classes
Import All MPs from Operations
Manager to Service Manager
OPTIONS
• GridPro
– Designed the same way as the original Out-Of-The-Box Orchestrator connector
– Strict relationship runbook and template, using SMA runbook templates
– Self Service Integration into Windows Azure Pack Gallery with GridPro Request
Management
• Cireson
– Works is a more flexible – less strict way
– Workflow event subscription
– Stand alone Self service portal
Contact Coretech / Me for more info / purchase
Scenario: SCCM/Intune – Monitor Jailbreaks
Microsoft Intune
Mobile devices
Building PowerShell Monitors
• Monitor using a loop (While)
• Check the target (New alerts
etc.)
• Trigger Action
• Sleep for x seconds
Building PowerShell Monitors - Refresh
• Refresh Monitor every once in a while
– Depends on purpose and output size of runbook
• 24 hours, 1 hour, 20 minutes etc.
– Loop until refresh time
– Restart runbook using web service
• Use $WorkFlowCommandName
SCCM/Intune – Monitor Jailbreaks – Extension
• Day 1: Warn User
• Day 3: Block User (Mail etc.)
• Day 7: Wipe Phone!
• 2nd time…..
Get-Employee | Remove-Employee
New-Employee
SCOM – SMA Monitor
Scenario: SCOM/SCVMM – Extend VM Drive
Demo
SCOM/SCVMM
Extend VM Drive
Basic – Using Resolution State
Building PowerShell Monitors - Query
• Limit Query to minimum
– “Mark” the objects
• SCOM Alert – Resolution State
– Use last search date/time
• SCOM Alert – TimeRaised
• Active Directory – WhenChanged
• NOTICE – Assets are Universal Time!
Demo
SCOM/SCVMM
Extend VM Drive
Optimized Query
Monitors – Not too many
• Try not to get too many Monitors
connecting to the same system
– Consolidate Monitors into one
– Use other techniques to trigger the runbook
• SCSM – Workflows
• SCOM - Recovery Action
SCOM – Using Recovery Action
Demo
SCOM/SCVMM
Extend VM Drive
Recovery Action
SCOM/SCVMM – Extend VM Drive - Extension
• The source of the alert/problem is not fixed!
• Make sure you monitor when this happens
– SCSM – Incidents
– Reports
Did I Cheat??
Just a little bit!
Logical disk space check interval was 5 seconds
Compared to every 15 minutes by default.
Scenario: SCSM/SCCM – Import Computer(s)
Mac Address Barcode
• Some manufacturers add
extra text
• Needs to be removed
before import
This manufacturer adds “23S”
Demo
SCSM/SCCM
Import Computer(s)
SCSM –> SMA Connectors
• GridPro
– Designed the same way as the original Out-Of-The-Box Orchestrator
connector
– Strict relationship runbook and template, using SMA runbook templates
– Self Service Integration into Windows Azure Pack Gallery with GridPro
Request Management
• Cireson
– Works is a more flexible – less strict way
– Workflow event subscription
– Stand alone Self service portal
SCSM/SCCM – Import Computer(s) –Extension
• Import List of Computers
– Submit a CSV File via Form
• Add other properties
– Primary User (SCSM/SCCM)
– Serial Number etc.
• Cireson Assset Management
– Create Hardware Asset
– Contact Coretech!
Best Practice
• Modularity! Modularity! Modularity!
• Example:
Keep Monitor, Check and Fix
in seperate runbooks
for simplicity and easy testing
Best Practice
• One Monitor + Multiple Actions on
different results
• Example:
– One Monitor for all SCOM Alerts.
– One ”Dispatcher” runbook to execute an
action based on alert details
Best Practice
• Error Handling!
• Use Try / Catch
Links
• My Blog
http://blog.coretech.dk/jgs’
• Building Clouds Blog
http://blogs.technet.com/b/privatecloud/
• Tips & Tricks Wiki – Ryan Andorfer
http://social.technet.microsoft.com/wiki/contents/articles/26616.quick-tips-
and-tricks-for-runbook-writing.aspx

Contenu connexe

Tendances

Top 5 vmware tips
Top 5 vmware tips Top 5 vmware tips
Top 5 vmware tips
Metron
 
Monitoring Node.js Microservices on CloudFoundry with Open Source Tools and a...
Monitoring Node.js Microservices on CloudFoundry with Open Source Tools and a...Monitoring Node.js Microservices on CloudFoundry with Open Source Tools and a...
Monitoring Node.js Microservices on CloudFoundry with Open Source Tools and a...
Tony Erwin
 
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
Tony Erwin
 
Presentation major
Presentation majorPresentation major
Presentation major
mallika26
 
Profit from the cloud TM Parallels Dynamic Infrastructure And OpenStack.
Profit from the cloud TM Parallels Dynamic Infrastructure And OpenStack.Profit from the cloud TM Parallels Dynamic Infrastructure And OpenStack.
Profit from the cloud TM Parallels Dynamic Infrastructure And OpenStack.
OpenVZ
 
Virtualization and NLB - Dipali Shiledar
Virtualization and NLB - Dipali ShiledarVirtualization and NLB - Dipali Shiledar
Virtualization and NLB - Dipali Shiledar
Dipali Shiledar
 

Tendances (20)

Microservices without servers
Microservices without serversMicroservices without servers
Microservices without servers
 
Rubix - Serverless architecture
Rubix - Serverless architectureRubix - Serverless architecture
Rubix - Serverless architecture
 
Top 5 vmware tips
Top 5 vmware tips Top 5 vmware tips
Top 5 vmware tips
 
Monitoring Node.js Microservices on CloudFoundry with Open Source Tools and a...
Monitoring Node.js Microservices on CloudFoundry with Open Source Tools and a...Monitoring Node.js Microservices on CloudFoundry with Open Source Tools and a...
Monitoring Node.js Microservices on CloudFoundry with Open Source Tools and a...
 
Container management with docker & kubernetes
Container management with docker & kubernetesContainer management with docker & kubernetes
Container management with docker & kubernetes
 
Vm migration techniques
Vm migration techniquesVm migration techniques
Vm migration techniques
 
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservic...
 
Virtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A SurveyVirtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A Survey
 
Presentation major
Presentation majorPresentation major
Presentation major
 
Profit from the cloud TM Parallels Dynamic Infrastructure And OpenStack.
Profit from the cloud TM Parallels Dynamic Infrastructure And OpenStack.Profit from the cloud TM Parallels Dynamic Infrastructure And OpenStack.
Profit from the cloud TM Parallels Dynamic Infrastructure And OpenStack.
 
E2EVC 2014 building clouds with Microsoft Cloud OS and System Center
E2EVC 2014 building clouds with Microsoft Cloud OS and System CenterE2EVC 2014 building clouds with Microsoft Cloud OS and System Center
E2EVC 2014 building clouds with Microsoft Cloud OS and System Center
 
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
 
Virtualization and NLB - Dipali Shiledar
Virtualization and NLB - Dipali ShiledarVirtualization and NLB - Dipali Shiledar
Virtualization and NLB - Dipali Shiledar
 
cloud computing: Vm migration
cloud computing: Vm migrationcloud computing: Vm migration
cloud computing: Vm migration
 
Nagios Conference 2012 - Andreas Ericsson - Merlin
Nagios Conference 2012 - Andreas Ericsson - MerlinNagios Conference 2012 - Andreas Ericsson - Merlin
Nagios Conference 2012 - Andreas Ericsson - Merlin
 
Maintenance Big Data Multi-Cloud Infrastructure: Notes from the Fields by Dzm...
Maintenance Big Data Multi-Cloud Infrastructure: Notes from the Fields by Dzm...Maintenance Big Data Multi-Cloud Infrastructure: Notes from the Fields by Dzm...
Maintenance Big Data Multi-Cloud Infrastructure: Notes from the Fields by Dzm...
 
Server Virtualization Concepts & Features
Server Virtualization Concepts & FeaturesServer Virtualization Concepts & Features
Server Virtualization Concepts & Features
 
Host on Google Cloud Platform with Infiflex
Host on Google Cloud Platform with Infiflex Host on Google Cloud Platform with Infiflex
Host on Google Cloud Platform with Infiflex
 
Nagios Conference 2012 - Jason Cook - Nagios and Mod-Gearman
Nagios Conference 2012 - Jason Cook - Nagios and Mod-GearmanNagios Conference 2012 - Jason Cook - Nagios and Mod-Gearman
Nagios Conference 2012 - Jason Cook - Nagios and Mod-Gearman
 
Roll your own FOSS cloud hosting
Roll your own FOSS cloud hostingRoll your own FOSS cloud hosting
Roll your own FOSS cloud hosting
 

En vedette

SuSE-Linux-Migration-Guide-UNIX-to-SLES9-vIBM
SuSE-Linux-Migration-Guide-UNIX-to-SLES9-vIBMSuSE-Linux-Migration-Guide-UNIX-to-SLES9-vIBM
SuSE-Linux-Migration-Guide-UNIX-to-SLES9-vIBM
Kurt Brust
 
Modernize your Solaris Apps
Modernize your Solaris AppsModernize your Solaris Apps
Modernize your Solaris Apps
AppZero
 
Windows Server 2003 Migration - Presented by Atidan
Windows Server 2003 Migration - Presented by AtidanWindows Server 2003 Migration - Presented by Atidan
Windows Server 2003 Migration - Presented by Atidan
David J Rosenthal
 
System Center 2012 Technical Overview
System Center 2012 Technical OverviewSystem Center 2012 Technical Overview
System Center 2012 Technical Overview
Amit Gatenyo
 
Microsoft System Center 2012 R2 Overview - Presented by Atidan
Microsoft System Center 2012 R2 Overview - Presented by AtidanMicrosoft System Center 2012 R2 Overview - Presented by Atidan
Microsoft System Center 2012 R2 Overview - Presented by Atidan
David J Rosenthal
 

En vedette (16)

SAP UNIX to Linux
SAP UNIX to LinuxSAP UNIX to Linux
SAP UNIX to Linux
 
SuSE-Linux-Migration-Guide-UNIX-to-SLES9-vIBM
SuSE-Linux-Migration-Guide-UNIX-to-SLES9-vIBMSuSE-Linux-Migration-Guide-UNIX-to-SLES9-vIBM
SuSE-Linux-Migration-Guide-UNIX-to-SLES9-vIBM
 
Modernize your Solaris Apps
Modernize your Solaris AppsModernize your Solaris Apps
Modernize your Solaris Apps
 
Migrate from WS2003 to WS2008 or WS2012 in One Step
Migrate from WS2003 to WS2008 or WS2012 in One Step Migrate from WS2003 to WS2008 or WS2012 in One Step
Migrate from WS2003 to WS2008 or WS2012 in One Step
 
Windows Server 2003 Migration - Presented by Atidan
Windows Server 2003 Migration - Presented by AtidanWindows Server 2003 Migration - Presented by Atidan
Windows Server 2003 Migration - Presented by Atidan
 
Webinar: Windows Server 2003 End of Support
Webinar: Windows Server 2003 End of SupportWebinar: Windows Server 2003 End of Support
Webinar: Windows Server 2003 End of Support
 
Move Enterprise Applications WS2003 to WS2008 (6.19.2012)
Move Enterprise Applications WS2003 to WS2008 (6.19.2012)Move Enterprise Applications WS2003 to WS2008 (6.19.2012)
Move Enterprise Applications WS2003 to WS2008 (6.19.2012)
 
How to Solve the Challenge of Windows Server 2003 End of Life
How to Solve the Challenge of Windows Server 2003 End of LifeHow to Solve the Challenge of Windows Server 2003 End of Life
How to Solve the Challenge of Windows Server 2003 End of Life
 
System Center 2012 Technical Overview
System Center 2012 Technical OverviewSystem Center 2012 Technical Overview
System Center 2012 Technical Overview
 
Lift Your Legacy UNIX Applications & Databases into the Cloud
Lift Your Legacy UNIX Applications & Databases into the Cloud Lift Your Legacy UNIX Applications & Databases into the Cloud
Lift Your Legacy UNIX Applications & Databases into the Cloud
 
Microsoft System Center 2012 R2 Overview - Presented by Atidan
Microsoft System Center 2012 R2 Overview - Presented by AtidanMicrosoft System Center 2012 R2 Overview - Presented by Atidan
Microsoft System Center 2012 R2 Overview - Presented by Atidan
 
Alexander Naydenko - Nagios to Zabbix Migration | ZabConf2016
Alexander Naydenko - Nagios to Zabbix Migration | ZabConf2016Alexander Naydenko - Nagios to Zabbix Migration | ZabConf2016
Alexander Naydenko - Nagios to Zabbix Migration | ZabConf2016
 
Key Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to PostgresKey Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to Postgres
 
Migration From Oracle to PostgreSQL
Migration From Oracle to PostgreSQLMigration From Oracle to PostgreSQL
Migration From Oracle to PostgreSQL
 
UNIX to SUSE Linux Enterprise Server : Tools and Tips for a Successful Migration
UNIX to SUSE Linux Enterprise Server : Tools and Tips for a Successful MigrationUNIX to SUSE Linux Enterprise Server : Tools and Tips for a Successful Migration
UNIX to SUSE Linux Enterprise Server : Tools and Tips for a Successful Migration
 
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
Dev-Ops与Docker的最佳实践 QCon2016 北京站演讲
 

Similaire à Automating System Center 2012 R2 (MVP Roadshow CPH 2015)

Kåre Rude Andersen - Create a scombot – automate and monitor azure
Kåre Rude Andersen - Create a scombot – automate and monitor azureKåre Rude Andersen - Create a scombot – automate and monitor azure
Kåre Rude Andersen - Create a scombot – automate and monitor azure
Nordic Infrastructure Conference
 
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
SQUADEX
 
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
Xiaoman DONG
 

Similaire à Automating System Center 2012 R2 (MVP Roadshow CPH 2015) (20)

The Best of MMS 2013
The Best of MMS 2013The Best of MMS 2013
The Best of MMS 2013
 
HHM 6887 Managing Your Scalable Applications in an MQ Hybrid Cloud World
HHM 6887 Managing Your Scalable Applications in an MQ Hybrid Cloud WorldHHM 6887 Managing Your Scalable Applications in an MQ Hybrid Cloud World
HHM 6887 Managing Your Scalable Applications in an MQ Hybrid Cloud World
 
Sc2012 sp1varenps clouds
Sc2012 sp1varenps cloudsSc2012 sp1varenps clouds
Sc2012 sp1varenps clouds
 
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
 
Kåre Rude Andersen - Create a scombot – automate and monitor azure
Kåre Rude Andersen - Create a scombot – automate and monitor azureKåre Rude Andersen - Create a scombot – automate and monitor azure
Kåre Rude Andersen - Create a scombot – automate and monitor azure
 
NEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
NEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at ScaleNEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
NEW LAUNCH! Amazon EC2 Systems Manager for Hybrid Cloud Management at Scale
 
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...
 
Deploying and managing IBM MQ in the Cloud
Deploying and managing IBM MQ in the CloudDeploying and managing IBM MQ in the Cloud
Deploying and managing IBM MQ in the Cloud
 
AWS re:Invent 2016: How to Manage Inventory, Patching, and System Images for ...
AWS re:Invent 2016: How to Manage Inventory, Patching, and System Images for ...AWS re:Invent 2016: How to Manage Inventory, Patching, and System Images for ...
AWS re:Invent 2016: How to Manage Inventory, Patching, and System Images for ...
 
Microservices @ Work - A Practice Report of Developing Microservices
Microservices @ Work - A Practice Report of Developing MicroservicesMicroservices @ Work - A Practice Report of Developing Microservices
Microservices @ Work - A Practice Report of Developing Microservices
 
Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...
Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...
Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...
 
IBM Think 2018 - IBM Connections Troubleshooting
IBM Think 2018 -  IBM Connections TroubleshootingIBM Think 2018 -  IBM Connections Troubleshooting
IBM Think 2018 - IBM Connections Troubleshooting
 
ML_Development_with_Sagemaker.pptx
ML_Development_with_Sagemaker.pptxML_Development_with_Sagemaker.pptx
ML_Development_with_Sagemaker.pptx
 
Social Connections 13 - Troubleshooting Connections Pink
Social Connections 13 - Troubleshooting Connections PinkSocial Connections 13 - Troubleshooting Connections Pink
Social Connections 13 - Troubleshooting Connections Pink
 
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
 
Give your little scripts big wings: Using cron in the cloud with Amazon Simp...
Give your little scripts big wings:  Using cron in the cloud with Amazon Simp...Give your little scripts big wings:  Using cron in the cloud with Amazon Simp...
Give your little scripts big wings: Using cron in the cloud with Amazon Simp...
 
Francisco Javier Ramirez Urea - Hopla - OSL19
Francisco Javier Ramirez Urea - Hopla - OSL19Francisco Javier Ramirez Urea - Hopla - OSL19
Francisco Javier Ramirez Urea - Hopla - OSL19
 
SCORCH: Tying it All Together
SCORCH: Tying it All TogetherSCORCH: Tying it All Together
SCORCH: Tying it All Together
 
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
Kubernetes Clusters At Scale: Managing Hundreds Apache Pinot Kubernetes Clust...
 
Interconnect 2017: 6885 Deploying IBM MQ in the cloud
Interconnect 2017: 6885 Deploying IBM MQ in the cloudInterconnect 2017: 6885 Deploying IBM MQ in the cloud
Interconnect 2017: 6885 Deploying IBM MQ in the cloud
 

Dernier

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 

Dernier (20)

%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 

Automating System Center 2012 R2 (MVP Roadshow CPH 2015)

  • 1. Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Automating System Center 2012 R2 @JakobGSvendsen http://blog.coretech.dk/jgs/
  • 2. Who am I • Chief Developer / Consultant / Trainer • Coretech A/S, System Center Gold Partner – Offices in • Titles – System Center Cloud and Data Center Management MVP – Member of the System Center Influencers Team • Areas – Orchestrator / Service Management Automation / Windows Azure Pack – Extensions for System Center (PS,VB.NET,C#.NET) • Communities – Co-Founder of the Danish PowerShell User Group (www.psug.dk) • Author / Training – Service Manager 2012 Unleashed (contributing author – Released October 2014) – Mastering System Center Orchestrator 2012 – 3 day workshop – Service Management Automation - 3 day Workshop (New!)
  • 3. Agenda • Short Introduction • Scenario: Azure Pack Integration • Scenario: SCCM/Intune – Monitor Jailbreaks • Monitors in SMA • Scenario: SCOM/SCVMM – Extend VM Drive • SCOM – Using Recovery Action • Scenario: SCSM/SCCM – Import Computer(s)
  • 4. Core Resource clouds Automation Billing Tenant management Hosting plan Hardware IaaS Virtual machines PaaS Service bus PaaS Websites IaaS Network PaaS DatabaseAzure Pack Operations Manager Infrastructure& application monitoring,alerting& usage Data Protection Manager Continuousprotectionof key applications& workloads Service Manager IT servicemanagement& requestauthoring Orchestrator Integration& automationof key technologies& processeswith SMA & Service Manager Virtual Machine Manager Fabric,library& cloud management Service Delivery stack
  • 5. Service Management Automation (SMA) • System Center 2012 R2 Orchestrator adds support for PowerShell Workflows through the SMA feature • Browser-based runbook authoring integrated into the Azure Pack Portal • Supports requirements for scale and high availability • Import PS modules and create additional modules and runbooks • Check out the Building Clouds Blog for an Introduction to SMA http://aka.ms/IntroToSMA
  • 7. SCOM CI Connector Service Manager Operations Manager Monitored Instances Operations Manager CI Connector Any Monitored Resources *nix / bsd Network Custom classes Import All MPs from Operations Manager to Service Manager OPTIONS
  • 8. • GridPro – Designed the same way as the original Out-Of-The-Box Orchestrator connector – Strict relationship runbook and template, using SMA runbook templates – Self Service Integration into Windows Azure Pack Gallery with GridPro Request Management • Cireson – Works is a more flexible – less strict way – Workflow event subscription – Stand alone Self service portal Contact Coretech / Me for more info / purchase
  • 9. Scenario: SCCM/Intune – Monitor Jailbreaks Microsoft Intune Mobile devices
  • 10. Building PowerShell Monitors • Monitor using a loop (While) • Check the target (New alerts etc.) • Trigger Action • Sleep for x seconds
  • 11. Building PowerShell Monitors - Refresh • Refresh Monitor every once in a while – Depends on purpose and output size of runbook • 24 hours, 1 hour, 20 minutes etc. – Loop until refresh time – Restart runbook using web service • Use $WorkFlowCommandName
  • 12. SCCM/Intune – Monitor Jailbreaks – Extension • Day 1: Warn User • Day 3: Block User (Mail etc.) • Day 7: Wipe Phone! • 2nd time….. Get-Employee | Remove-Employee New-Employee
  • 13. SCOM – SMA Monitor
  • 14. Scenario: SCOM/SCVMM – Extend VM Drive
  • 15. Demo SCOM/SCVMM Extend VM Drive Basic – Using Resolution State
  • 16. Building PowerShell Monitors - Query • Limit Query to minimum – “Mark” the objects • SCOM Alert – Resolution State – Use last search date/time • SCOM Alert – TimeRaised • Active Directory – WhenChanged • NOTICE – Assets are Universal Time!
  • 18. Monitors – Not too many • Try not to get too many Monitors connecting to the same system – Consolidate Monitors into one – Use other techniques to trigger the runbook • SCSM – Workflows • SCOM - Recovery Action
  • 19. SCOM – Using Recovery Action
  • 21. SCOM/SCVMM – Extend VM Drive - Extension • The source of the alert/problem is not fixed! • Make sure you monitor when this happens – SCSM – Incidents – Reports
  • 22. Did I Cheat?? Just a little bit! Logical disk space check interval was 5 seconds Compared to every 15 minutes by default.
  • 23. Scenario: SCSM/SCCM – Import Computer(s)
  • 24. Mac Address Barcode • Some manufacturers add extra text • Needs to be removed before import This manufacturer adds “23S”
  • 26. SCSM –> SMA Connectors • GridPro – Designed the same way as the original Out-Of-The-Box Orchestrator connector – Strict relationship runbook and template, using SMA runbook templates – Self Service Integration into Windows Azure Pack Gallery with GridPro Request Management • Cireson – Works is a more flexible – less strict way – Workflow event subscription – Stand alone Self service portal
  • 27. SCSM/SCCM – Import Computer(s) –Extension • Import List of Computers – Submit a CSV File via Form • Add other properties – Primary User (SCSM/SCCM) – Serial Number etc. • Cireson Assset Management – Create Hardware Asset – Contact Coretech!
  • 28. Best Practice • Modularity! Modularity! Modularity! • Example: Keep Monitor, Check and Fix in seperate runbooks for simplicity and easy testing
  • 29. Best Practice • One Monitor + Multiple Actions on different results • Example: – One Monitor for all SCOM Alerts. – One ”Dispatcher” runbook to execute an action based on alert details
  • 30. Best Practice • Error Handling! • Use Try / Catch
  • 31. Links • My Blog http://blog.coretech.dk/jgs’ • Building Clouds Blog http://blogs.technet.com/b/privatecloud/ • Tips & Tricks Wiki – Ryan Andorfer http://social.technet.microsoft.com/wiki/contents/articles/26616.quick-tips- and-tricks-for-runbook-writing.aspx