Top Banner
30

SCU Asia System Center: Beyond orchestrator

Dec 07, 2014

Download

Technology

To evolve beyond a dependency on integration packs as the definition vehicle for workflow tasks, to overcome scaling and multi-tenant limitations, and to provide for effective web-based remote Runbook administration, a new paradigm for achieving automation in a Microsoft network is emerging. The name of this new technology is Service Management Automation. Let’s have a look during this session at the differences and when to use SMA or Orchestrator.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SCU Asia System Center: Beyond orchestrator
Page 2: SCU Asia System Center: Beyond orchestrator

Microsoft automation Evolution:Beyond OrchestratorAlexandre VerkinderenCDM MVP

http://scug.be/scom

@AlexVerkinderen

Page 3: SCU Asia System Center: Beyond orchestrator

AgendaProcess AutomationOrchestratorService Management AutomationOrchestrator VS SMAQ&A

Page 4: SCU Asia System Center: Beyond orchestrator

Process Automation

Page 5: SCU Asia System Center: Beyond orchestrator

Include the right peopleYou NEED to include people who understand process and technology.This is a strategic and tactical tool.

Including the right people = success

Service Owner IT Mgr Admin Management

Page 6: SCU Asia System Center: Beyond orchestrator

Plan to transform processesA great tool doesn’t make a bad process better…

Transform the processes Work it out in a worksheet ahead of time Look at the end result Set the vision

Page 7: SCU Asia System Center: Beyond orchestrator

Automation

Page 8: SCU Asia System Center: Beyond orchestrator

ORCHESTRATOR

Page 9: SCU Asia System Center: Beyond orchestrator

ActivitiesIntelligent tasks that perform defined actions

RunbooksSystem-level workflows that execute a series of linked activities

DatabusUsed to publish and consume information as a Runbook executes

Standard activitiesA rich set of out-of-box activities

Get server ID from DPM

Get data sources

Create recovery point

Create incident

Create checkpoint

Start maint mode

Shut down VM

E-mail on error

Update on success

Invoke web services

Compare values

Query database

Send e-mail

Run .NET script

Return data

Check schedule

Automation Concepts

Page 10: SCU Asia System Center: Beyond orchestrator

Building automation: Runbook Designer

Easy authoring and debugging Drag and drop, Visio-like authoring, nested Runbooks, built-in features like looping and branching

DatabusAbstracts developer-level complexity from the Runbook author and enables hub-and-spoke integration model

20+ integration packs (IPs) for System Center, Microsoft, and third-party management tools

Page 11: SCU Asia System Center: Beyond orchestrator

Building your own automation

External interface to System Center

Standards-basedRESTful web interfaceUses OData (Open Data Protocol)

Take advantage of existing investments in PowerShell, .NET scripting, and third-party APIs, and build them into Orchestrator Runbooks

Page 12: SCU Asia System Center: Beyond orchestrator

DEMOto manage your cloud

Page 13: SCU Asia System Center: Beyond orchestrator

SERVICE MANAGEMENT AUTOMATION

Page 14: SCU Asia System Center: Beyond orchestrator

Service management automation

CMDB

Ticketing

Billing

Management Systems

Web based Runbook Authoring:Service Administrator can create runbooks to automate all aspects of cloud infrastructure, plan delivery, and maintenance activities

Highly Available EngineSupport requirements for scale and H/A.Built on PowerShell Workflow

Integration into other systems:

Import PS modules and create additional modules and runbooks for existing resources or to connect into 3rd party systems (ticketing system, billing system, user store, CMDB)

AutomationAdd bulk

user accounts

Add additional

SQL capacity

Notify users of

plan updates

Service Ticket for

failed resources

VIRTUAL MACHINE CLOUDS

12

SQL SERVER

9

PLANS

12

WEBSITE CLOUD

12

MYSQL SERVERS

0

NOTIFICATIONS

0

USER ACCOUNTS

4

AUTOMATION

8

ALLITEMS

Page 15: SCU Asia System Center: Beyond orchestrator

SERVICE MANAGEMENT AUTOMATION - SMA

Optimize and extend services using runbooks

Powershell workflows

Web-based runbook authoring

Manage runbooks and jobs

Integrates with other systems including System Center

Page 16: SCU Asia System Center: Beyond orchestrator

SMA ComponentsWeb Service

Connects to Windows Azure PackDistributes runbook jobs to runbook workersSupports HTTPSEnables security group to control access

Runbook WorkerExecutes runbook jobsRuns under a service account

PowerShell moduleEnables Automation management by using Windows PowerShell cmdlets

Page 17: SCU Asia System Center: Beyond orchestrator

SMA Architecture

ODATA REST Web Service

Runbooks

Jobs

Modules & Activies

Submit requests

Return results

Http RequestHttp Response

Persist State

Pick up Jobs

SQL DatabaseRunbook Workers

Service Management Portal

• 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 Database

Page 18: SCU Asia System Center: Beyond orchestrator

RunbooksSystem-level workflows that execute a series of linked activities

DatabusUsed to publish and consume information as a Runbook executes

Get server ID from DPM

Get data sources

Create recovery point

Create incident

Create checkpoint

Start maint mode

Shut down VM

E-mail on error

Update on success

ActivitiesIntelligent tasks that perform defined actions

Invoke web services

Compare values

Query database

Send e-mail

Run .NET script

Return data

Check schedule

Standard activitiesA rich set of out-of-box activities

Automation Concepts

Page 19: SCU Asia System Center: Beyond orchestrator

RunbooksSystem-level workflows that execute a series of linked activities

DatabusUsed to publish and consume information as a Runbook executes

Get server ID from DPM

Get data sources

Create recovery point

Create incident

Create checkpoint

Start maint mode

Shut down VM

E-mail on error

Update on success

PowerShell WorkflowsAre a PS Construct/CMDLET

Converted to a Windows Workflow foundation at runtime

Retry handled by workflow engine

Can persist state

Survive OS shutdown or network outage

Return data

Runs activities

Automation Concepts

Page 20: SCU Asia System Center: Beyond orchestrator

Powershell WorkflowsParameter names can only be letters, numbers, Hyphen or underscoreHyphenated parameter names must be enclosed in quotesYou can create parameter sets

Page 21: SCU Asia System Center: Beyond orchestrator

PersistenceA Checkpoint stores the current variable values, output and command to disk in the user profileCheckpoints are removed automatically-PSPersist $true

Page 22: SCU Asia System Center: Beyond orchestrator

Parallel/SequenceCommand in a parallel block execute in an indeterminate order at the “same” timeMax degree: 5 command in a sequenceCommands in a sequence block executed in order

Page 23: SCU Asia System Center: Beyond orchestrator

DEMOPowerShell Workflows

Page 24: SCU Asia System Center: Beyond orchestrator

Iaas Automation and IntegrationRunbook execution tied

to SPF IaaS API CallsSelected Set of SPF Objects Available for Automation

Tenant resourcesSubscriptionsAdmin resources

TriggersCreate, Update, DeleteVM Actions (Start, Stop, Shutdown etc)

Inputs Pass preselected object propertiesPass params

Page 25: SCU Asia System Center: Beyond orchestrator

DEMOService management

automation

Page 26: SCU Asia System Center: Beyond orchestrator

TO SMA OR NOT TO SMA?

Page 27: SCU Asia System Center: Beyond orchestrator

27

Orchestrator VS SMAOrchestrator

Visual designerOut of the box activities

SMA

64 bit supportNative PowerShell executionPowerShell 3+ supportCheckpoint/restart inside runbooksVersioned runbooksSave draftsArchitecture is more scalable

Page 28: SCU Asia System Center: Beyond orchestrator

Integration of Orchestrator and SMA

PowerShell Workflow

Engine

UI Runbook Engine

Process Automation

InteroperabilityPowerShell Authoring

Graphical Authoring

Page 29: SCU Asia System Center: Beyond orchestrator

Q&A

Page 30: SCU Asia System Center: Beyond orchestrator

Thank YouRemember to Fill Up an Evaluation

Form

It’s the Gateway to Winning Prizes