Introduction to Service Management Automation Anders Bengtsson Principal PFE John McCabe Senior PFE CDPB336 During this session we will give you a deep introduction ID: 545333
Download Presentation The PPT/PDF document "In-Depth" 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.
Slide1Slide2
In-Depth Introduction to Service Management Automation
Anders Bengtsson, Principal PFEJohn McCabe, Senior PFE
CDP-B336Slide3
During this session we will give you a deep
introduction to Service Management Automation (SMA), what it is and when to use
itSlide4
AgendaWhat is SMAHow to use SMAWhen to use SMA
?
SMA = Service
Management AutomationSlide5
How many of you are using SMA today? Slide6
What is SMA?Slide7
What is SMA… technical definitionWhat is SMA (Service Management Automation) ? An automation engine
based on PowerShell workflowsDifference
between
Orchestrator and SMA?
SMA has
its own infrastructure SMA has no drag and drop GUI (
today
),
but
can
integrated
with
Windows Azure Pack (WAP)
Where
can
I
find
SMA?
On the Orchestrator 2012 R2 installation mediaSlide8
Introduced with PowerShell 3.0Common PowerShell syntaxUtilizes Windows Workflow Foundation (WF)Benefits to PS WorkflowCheckpoint / Suspend Parallel execution across one or more systemsWell suited for long running tasks
*not all PowerShell functionality exists in PS WorkflowWhat is PowerShell WorkflowSlide9
Collection of on premise Azure technologiesMulti Tenant, Self Service, cloud experienceAdmin Portal / Tennant PortalWhat is the Windows Azure PackSlide10
WAP provides an GUI to SMANative connector between WAP actions and SMA automationWAP is not necessarily necessary for SMA to functionNo Administration Capability from the WAP Tenant PortalSMA and the Windows Azure PackSlide11
demoIntroduction to SMAAnders BengtssonPrincipal PFEMicrosoftSlide12
SMA Architecture
SMA
web service
SMA
worker
SMA
worker
SMA
database
Windows Azure Pack
WAP
Orchestrator
web service
Orchestrator
database
Orchestrator
runbook servers
Orchestrator
management
server
PS and
WebReqSlide13
Deploy SMA ComponentsDeploy multiple runbook workersEnable Log PurgeDeploy WAP
Configure WAP IntegrationInstallation / Post DeploymentSlide14
Assets: globally available combination of settingsConnections –connection information for external systemsVariable – available to all RunbooksCredentials – PSCredential or CertificateSchedules – Runbook execution schedule
AssetsSlide15
demoGlobal settings in SMAAnders BengtssonPrincipal PFEMicrosoftSlide16
Checkpoint: Snapshot of current stateCheckpoint-Workflow-PSPersist $True placed after activity$PSPersistPreference = $TrueSuspend-WorkflowSuspend: Pause
Runbook jobSuspend-Workflow: Checkpoint and Suspend Suspend-SmaJob: Suspend at next checkpointWAP UI: Suspend at next checkpoint
Workflow exception /
Runbook
worker crash
Checkpoint / SuspendSlide17
Execute true PowerShell within workflowCreates PowerShell session returning output to workflowCheck Point / Suspend not validWorkflow variables are not visible to inline Script$Using scope modifier (Example $Using:ComputerName)Inline ScriptSlide18
Invoke Inline: starting a Runbook by nameParent and all nested compiled into one jobOutput of all Runbooks will be ‘rolled up’Synchronous executionStart-SmaRunbook
: starting using PS cmdletStarts a second jobOutput is specific to each jobAsynchronous execution
Nesting
RunbooksSlide19
InlineScript: $data = inlinescript { script-content}Inline runbook: $data = invoked-runbookStarted runbook
: returns Job ID which can be used with Get-SMAJobData ReturnSlide20
demoCheckpointing and Data ReturnAnders BengtssonPrincipal PFEMicrosoftSlide21
When to use SMASlide22
When could you use SMA today?No Orchestrator IP exists for the workflow you need to build
If you need large number of runbook instances, SMA scales betterIf you are using WAP already (or looking for an excuse)
Any new scenarios where SCO offers no discernable advantage over SMA
When using Parallel
execution, for example multiple devices
When using Check Pointing, for high availability,
restartable
, interruptible
If you have PowerShell skills and no Orchestrator skills it’s easier to start with SMA than Orchestrator
If you don’t know PowerShell and you don’t know Orchestrator then you can use SMA anywaySlide23
SMA and Orchestrator can coexist and integrateBoth can function independentlyOverlap in capabilitiesEach offers a unique set of benefitNo current runbook migration capabilitySMA and OrchestratorSlide24
DemoOrchestrator and SMA integrationAnders BengtssonPrincipal PFEMicrosoftSlide25
What about Service Manager integration?Slide26
DemoService Manager and SMA integrationAnders BengtssonPrincipal PFEMicrosoftSlide27
Azure Automation
Process automation engine built on PowerShell WorkflowAutomate error-prone, long running, frequently repeated manual tasks to keep your Azure services up and running
Just announced general availability!
Want to learn more?
CDP-B344 -
Introduction to the New Microsoft Azure Automation Service
(Oct 30
th
, 12 PM)
Fault tolerant
Highly reliable
Extensible
Cloud scale
SecureSlide28
Come
visit us
in the Microsoft Solutions Experience (MSE)!
Look for the
Cloud and Datacenter Platform
area
TechExpo
Hall 7
For
more information
Windows Server Technical Preview
http://technet.microsoft.com/library/dn765472.aspx
Windows Server
Microsoft Azure
Microsoft Azure
http://azure.microsoft.com/en-us/
System Center
System Center Technical Preview
http://
technet.microsoft.com/en-us/library/hh546785.aspx
Azure Pack
Azure Pack
http://
www.microsoft.com/en-us/server-cloud/products/
windows-azure-packSlide29
Azure
Implementing
Microsoft Azure Infrastructure Solutions
Classroom
training
Exams
+
(Coming soon)
Microsoft Azure Fundamentals
Developing Microsoft Azure Solutions
MOC
10979
Implementing
Microsoft Azure Infrastructure Solutions
Online
training
(Coming soon)
Architecting Microsoft Azure Solutions
(Coming soon)
Architecting Microsoft Azure Solutions
Developing Microsoft Azure Solutions
(Coming soon)
Microsoft Azure Fundamentals
http://bit.ly
/
Azure-Cert
http://bit.ly
/
Azure-MVA
http://bit.ly
/
Azure-Train
Get
certified for
1/2 the price at TechEd Europe 2014!
http://bit.ly
/
TechEd-
CertDeal
2
5
5
MOC
20532
MOC
20533
EXAM
532
EXAM
533
EXAM
534
MVA
MVASlide30
Please Complete An Evaluation FormYour input is important!
TechEd Schedule Builder
CommNet
station
or PC
TechEd Mobile
app
Phone or Tablet
QR codeSlide31
Evaluate this sessionSlide32
CDP-B353 Automated Workload Provisioning with the Azure Pack and Windows PowerShell CDP-B412 Datacenter Integration Using Automation in System Center 2012 R2 Orchestrator
CDP-B245 Automation Roadmap in the Next Release of System Center, Azure Pack, and Microsoft Azure
CDP-H310 System Center 2012 R2 Lab 3: Automation and Self-Service
Related contentSlide33
Use SMA today together with OrchestratorUse SMA today together
with Service ManagerNo need for a Private Cloud to run SMASMA
solve
many
Orchestrator
challengesSession Summary
www.contoso.se
Thanks
!Slide34
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.