jakob gottlieb svendsen system center orchestrator service management automation introduction...

31
Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen http://blog.coretech.dk/jgs/

Upload: margery-fowler

Post on 17-Dec-2015

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Jakob Gottlieb Svendsen

System Center OrchestratorService Management AutomationIntroduction

@JakobGSvendsenhttp://blog.coretech.dk/jgs/

Page 2: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

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!)

Page 3: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Introduction

Page 4: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Core

Resource clouds

Automation Billing Tenantmanagement

Hostingplan

Service administration

Fabric

Hardware

Customer services & infrastructure

IaaSVirtual

machines

PaaSService

bus

PaaSWebsites

IaaSNetwork

PaaSDatabase

IT admin

Customers Azure Pack Operations ManagerInfrastructure & application monitoring, alerting & usage

Data Protection ManagerContinuous protection of key applications & workloads

Service ManagerIT service management & request authoring

OrchestratorIntegration & automation of key technologies & processes with SMA & Service Manager

Virtual Machine ManagerFabric, library & cloud management

Service Delivery stack

Page 5: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

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

Page 6: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Demo

First runbook

Page 7: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Portal• Centralized library for all Automation– Create runbooks within portal– Call existing runbooks in library

• Manage Assets– Modules– Variables (standard and encrypted)– Credentials (PowerShell Credentials and Certificates)– Certificates– Connections

• Test– Run runbook and see results within authoring window– Troubleshoot issues

• Publish– Edit draft before publishing

Page 8: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Demo

Assets + Schedules

Page 9: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

SMA : Architecture and Installation

• Authoring• Debugging• Operating

Service Management Portal

• Runbook service• PowerShell Modules

Runbook Workers

•REST oData web service•Authorizes users

Web Service

•Runbooks•Runbook Resources• Tracks runbook job state

SMA DatabaseSubmit requestsRunbooks

Jobs

Modules Activies

Return results

SQL Database

&

ODATA REST Web Service

Persist State

Pick up Jobs

Runbook Workers

Http Response Http Request

Service Management Portal

Page 10: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

SMA : Installation

Page 11: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Minimum Setup

http://technet.microsoft.com/en-us/library/dn296433.aspx

WAPAdmin API

Admin PortalAdmin Auth

Orchestrator/SMAWeb Service

Runbook WorkerPowershell Module

WAP Database SMA Database

Page 12: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

SMA Advantages Over Classic Orchestrator

• 64-bit support• Native PowerShell execution and PowerShell 3+ support• Checkpoint/Resume inside runbooks• Runbook servers architecture is more scalable• Save/Test drafts• Schedule runbooks• Parallel processing inside runbooks

• Text authoring vs. Visual Designer

Page 13: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Demo

Check Points

Page 14: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Tools

Page 15: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

SMA : Runbook Authoring Tools

• Azure Pack Portal

• PowerShell ISE – Emulated Automation Activities

– Get it at TechNet Gallery: Joe Levy

• SMA Studio 2014– FREE! – Open Source

– http://www.sekurbit.se/

Page 16: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

SMA : Other Tools – Import / Export

• SMA Toolkit

• Visualization and Dependency Mapping Tool • Import and Export Tool

• Import complete folders + other options

• Documentation and Conversion Helper Tool

• For Classic Orchestrator

• SMART for Runbook Import and Export

http

://blogs.technet.com/b/privatecloud/archive/2014/09/23/updated-sma-runbook-toolkit-smart-download-with-new-visualization-and-dependency-mapping-tool.asp

x

Page 17: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Demo

Logging / Progress

Page 18: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

PowerShell Workflow

Engine

UI Runbook Engine

Process Automation

InteroperabilityPowerShell Authoring

Graphical Authoring

SMA Orchestrator

SMA with Orchestrator

Integration into each other via PowerShell modules

Page 19: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Orchestrator Roadmap

Page 20: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Today: Orchestrator and AutomationOrchestrator for Datacenter Azure Automation, SMA and Azure PackUser Interface• Standalone Management Console • Access Permissions (RBAC)

User Interface• Web portal

Authoring• Graphical, forms-based authoring of runbooks• Visualize end-to-end orchestration• Testing console to validate end to end process

Authoring• PowerShell Authoring• Service Administrator can create runbooks to automate all aspects of cloud

infrastructure, plan delivery, and maintenance activities

Runbook Engine• Highly available • Custom workflow engine • Databus to easily pass information between activities

Runbook Engine• Highly available• PowerShell Workflow based engine

Integration• Integration packs for Microsoft and 3rd party systems• Orchestrator toolkit to extend into custom systems

Integration• PowerShell Module based integration• Use existing PowerShell modules for Microsoft and 3rd party systems• Create PowerShell modules for additional resources/systems

Page 21: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

New Web portal

• Based on the new Azure Portal

• Role Based Access Control– Grant permissions to Automation resources

Page 22: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Graphical Authoring• Visual Process– Design your end to end processes using a visual experience– Share easily with co-workers responsible for different parts of the process– Document end to end process based on visual representation

• Data Bus– Subscribe to previous activities published data at design time– Publish results to data bus during runtime.

• Authoring– Create runbooks using forms based authoring – Easily identify where the process failed for enhanced debugging

Page 23: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Managing Runbooks & Jobs• Dashboard View – View runbook jobs over time– Find jobs that may need attention

• Runbooks View– Filtering of jobs based on status and date– Identify authoring state (New, In edit, Published)– Filter by tags to group related runbooks

• Jobs View– History of jobs per runbook– Who last updated and when– Input parameters and output– Drill into each job to view streams generated to help troubleshooting– Stop, Suspend and Resume job

Page 24: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Consistent Runbooks / Assets / API• Runbooks– Runbooks can be moved between Azure & On premises– Export & Import without changing PowerShell script

• API / PowerShell Module– Consistent API so you can automate runbooks in Azure

& on premises the same way– Azure module for Automation to work against Azure

and on premises

Page 25: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Gallery• Content– Bring in Runbooks, PowerShell scripts, workflows and modules from

Microsoft & community locations.

• Integrated Experience– Customers can find and import content from within portal

experience

• Ecosystem– Customers can contribute runbooks and modules to community

Page 26: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Coming: Orchestrator and AutomationOne Automation Solution for Azure and On PremisesUser Interface• Web portal• Access Permissions (RBAC)

Authoring• Graphical Authoring• PowerShell Authoring• Visualize end-to-end orchestration• Gallery• Service Administrator can create runbooks to automate all aspects of cloud infrastructure, plan delivery, and

maintenance activities

Runbook Engine• Highly available• PowerShell Workflow based engine

Integration• PowerShell Module based integration• Use existing PowerShell modules for Microsoft and 3rd party systems• Create PowerShell modules for additional resources/systems

Tools• Tools to convert SCO Integration Packs and runbooks

Page 27: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Orchestrator Investments move forward• Integration packs– Migration tool to convert Orchestrator Integration packs to PowerShell

modules– Write PowerShell module for built in Orchestrator activities

• Runbooks– Migration tool to export runbooks from Orchestrator and import into new

system– Some fix up of runbooks required for things not directly supported

• Service Manager connector– New SM connector to allow it to work with the new Orchestrator solution.– Update existing SM processes to use new connector

Page 28: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Orchestrator Roadmap

System Center 2012 / SP1 •Orchestrator for traditional datacenter Automation•Heterogeneous support with Integration Packs

System Center 2012 R2 •Updated Orchestrator with additional integration packs and customer feedback•Released Service Management Automation for the Azure Pack

Azure Automation •Released Automation in Azure (Generally available now)•Multi-tenant solution for Azure operational tasks

vNext •Single Automation solution for cloud and datacenter automation•Graphical authoring•Consistent solution delivered in Azure and on premises•Convert non-PowerShell-based runbooks to PowerShell Workflow runbooks. Convert integration packs to PowerShell modules

Page 29: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

Demo

Automate Everything!

Page 30: Jakob Gottlieb Svendsen System Center Orchestrator Service Management Automation Introduction @JakobGSvendsen

SMA Sessions at NIC 2015Thursday• PowerShell Workflows: Prepare yourself for SMA and Azure Automation

– 10:00 - 11:00 - Room 1 - Aleksandar Nikolic• System Center - Service Management Automation - Introduction

– 11:20 - 12:20 - Room 1 - Jakob Gottlieb Svendsen• SMA - real-life experiences and troubleshooting

– 13:20 - 14:20 - Room 1 - David O'Brien & Trond Hindenes• Automating DevOps between SCSM and TFS using SMA

– 14:40 - 15:40 - Room 6 - Travis Wright• System Center - Service Management Automation – Automating System Center 2012 R2

– 16:00 - 17:00 - Room 1 - Jakob Gottlieb Svendsen

Friday• Hangovers (and other subjects like SCSM in the cloud!)