/
Microsoft IT process automation – Microsoft IT process automation –

Microsoft IT process automation – - PowerPoint Presentation

min-jolicoeur
min-jolicoeur . @min-jolicoeur
Follow
401 views
Uploaded On 2018-03-16

Microsoft IT process automation – - PPT Presentation

an unexpected journey Marcel Zehner itnetx gmbh Cloud amp Datacenter MVP marcelzehner Agenda Why automating PowerShell System Center Orchestrator Service Management Automation Azure Automation ID: 653717

runbooks automation azure powershell automation runbooks powershell azure runbook microsoft service architecture based assets cmdlets delivered process runtime job access overview modules

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Microsoft IT process automation –" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Microsoft IT process automation –an unexpected journey

Marcel Zehner | itnetx gmbh

Cloud & Datacenter MVP

@marcelzehnerSlide2

Agenda

Why automating?

PowerShell

System Center Orchestrator

Service Management Automation

Azure

AutomationSlide3

Why automating?Slide4

Automation Goals

Optimize time to delivery

Optimize transparency and tracability

Reduce human errors for better consistency

Reduce costs

Afraid automation takes away your job?

Without automation you are not

competitive, THIS is critical!

Show your boss you have a solid, automated infrastructure

Be the automation guySlide5

PowerShellSlide6

Overview

Scripting language and interactive shell

The thing everything is based on

Never heard of it? Never touched it? Do it TODAY!

No PowerShell = no modern automation solutionSlide7

Cmdlets

Lightweight

thing that

executes something

Verb-Noun

construct

Get-Process

Set-AzureVM

Start-Service

Can

accept parameters

Is delivered in a PowerShell module

Hundrets of cmdlets delivered with Windows Server OOB

Applications also deliver modules

You can create your own modulesSlide8

Functions

Re-usable function

based on

multiple cmdlets

Can accept

parameters

«Function» keywordSlide9

Scripts

Sequence of

cmdlets and/or functions

Saved

to .ps1 file

Can be called from PowerShell

Execution Policy must be configured correctly

Restricted, RemoteSigned, Unrestricted etc.

Can be signedSlide10

Workflows

Looks like a script but

is NOT

a script

Compiled to a Windows Workflow Foundation assembly, then executed

Uses activities, not cmdlets

«Workflow» keyword

Supports parallel and sequencial activities

Supports checkpoints

Supports suspend & resumeSlide11

Desired State Configuration (DSC)

Declarative configuration

All your configurations live in readable text-files (MOF)

Applied over and over again

No configuration drift

2 Modes

Copy MOF file to target nodes and execute

Copy MOF file to a pull server, target nodes query pull server

Expect DSC to be the primary interface for Microsoft products and services in the futureSlide12

DEMOPowerShellSlide13

System Center OrchestratorSlide14

Overview

U

sed to be «Opalis», bought by Microsoft

Automate it processes, break up IT silos

Integrates into SCSM for business process

Limitations

32bit architecture

No efficient scaling

PowerShell 2

Not optimized for (really) long-running runbooks

And some more ...Slide15

Runbooks I

Series of activities

Advanced link logics

Databus to publish and

consume activity information

Activities delivered in

OIPs (integration packs)

Microsoft

Software/solution vendor

3rd party vendors

Community (many!)

Quick Integration Kit (QIK) available for own OIPsSlide16

Runbooks II

Variables

Store information that can be accessed by runbooks

Runbooks should not contain hardcoded information

Variables cannot be changed during runbook runtime

RBAC

Role-based access to SCORCH ressources

Protect folders, runbooks, variables etc.

Web Service

Web PortalSlide17

ArchitectureSlide18

DEMOSystem Center OrchestratorSlide19

Service Management AutomationSlide20

Overview

Scalable, HA automation platform

Multiple active runbook workers

Many advantages conmpared to SCORCH

64-bit support

Native PowerShell

3

+

support with PowerShell modules

PowerShell workflow-based

Schedule

runbooks

Delivered with SCORCH source

Web portal delivered by WAPSlide21

ArchitectureSlide22

Managing Runbooks

Browser-based editor

Color-coding

Easily access

other runbooks,

global assets

etc.

Published and draft

version of runbook

Check out/edit

Test runbooksSlide23

Global Assets

Central «store» of assets

Connections

Credentials

PowerShell modules

Variables

Schedules

Runbooks can access

and

change

assets during runtime

Use no hardcoded

information

in

runbooksSlide24

Runbook Nesting

Trigger a runbook from another runbook

O

ption 1: Inline

PAT001-ChildRunbook

Same job (synchronous)

Directly compiled during runtime into the master runbook

Option 2: Start-SMAAutomationRunbook

Different Job (asynchronous)Slide25

DEMOService Management AutomationSlide26

Azure AutomationSlide27

Overview

SMA on Microsoft Azure

Manage all Azure resources

Connect to other systems that can be reached from Azure

Automation as a Service

No need to install anything, it’s just there for you

Pricing

Free

 500 minutes job runtime per month

Basic

 Unlimited minutes, 0.002$/minute (March 4 2015)Slide28

Architecture ISlide29

Architecture IISlide30

Architecture III

Delegation at subscription level

Not at automation account level (today)

No RBAC today

Up to 30 automation accounts per subscription

Can live in different regions

Separate «dev», «int» and «prod»

Avoid suspended runbooks due to «fair use»

policySlide31

Start Runbooks From Outside Azure

Use Azure PowerShell module

Connect

to Azure subscription

Add-AzureAccount

Select-AzureSubscription

Start-AzureAutomationRunbookSlide32

DEMOAzure AutomationSlide33

Conslusion Slide34

Conslusion

Doing a task more than once? Automate it!

Invest in PowerShell, it’s all about that!

Know your IT process automation options to make the correct

decisionSlide35

Coming Soon And/Or vNext

Microsoft

goal: «One

Automation Solution» for Azure and on

premise

Graphical authoring

Create

workflows using drag’n’drop

Workflow visualization

Role-based access

Protect runbooks and

assets

New Portal for Azure

Service Manager SMA Connector

Slide36
Slide37

SCU 2015 Europe

August 24-26

Basel-Switzerland

60+ sessions

Top speakers from around the world

Exhibition area

Ask the experts area

Early bird CHF 659, everything included!

www.systemcenteruniverse.chSlide38

Microsoft IT process automation –an unexpected journey

Marcel Zehner | itnetx gmbh

Cloud & Datacenter MVP

@marcelzehner