automation 2.0 - automation tools for hybrid cloud environments
DESCRIPTION
An overview on Datacenter- and Cloud-Automation tools for Microsoft private-, hybrid and public clouds as well as a sneak peak on upcoming versions.TRANSCRIPT
![Page 1: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/1.jpg)
Automation 2.0
![Page 2: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/2.jpg)
• Cloud Architect @ Itnetx Switzerland
• Focused on Fabric / IAS / Automation
• Microsoft MVP for Cloud and Datacenter Management
• Blogging on www.miru.ch
• Tweeting as: @drmiru
About_Me
![Page 3: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/3.jpg)
• Understand automation solutions from System Center
and Microsoft Azure
• Learn how the solutions work together
• Sneak peak on the roadmap for System Center
Orchestrator and Azure Automation
Session Objectives
![Page 4: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/4.jpg)
Central execution
Line of business processes
System deployment
Maintenance tasks
Self Service
Use cases for IT process automation«…Automate things or get automated….»
![Page 5: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/5.jpg)
• 32Bit-engine
• Graphical process authoring
• Integration Packs for 3rd
party systems
• oData Web Service API
System Center Orchestrator 2012 R2
![Page 6: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/6.jpg)
Limited Powershell support
IP development requires dev knowledge
Scalability
Parallel execution
No pausing / resuming of runbooks
SC Orchestrator 2012 Challenges
![Page 7: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/7.jpg)
![Page 8: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/8.jpg)
What is SMA?
• A feature shipped with SC Orchestrator 2012 R2
• Scalable, 64bit automation engine based on Powershell
Workflows
• No drag n' drop GUI (yet)
• Basic administration via Windows Azure Pack
![Page 9: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/9.jpg)
SMA Architecture
WAP Admin Portal
REST APIWeb Service
WorkerWorkerWorker
SMA DB
SCOM
SCSM
SCCM
SCVMM
SCORCH
3rd Party
![Page 10: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/10.jpg)
• On premise collection of public Microsoft Azure features
• HTML 5 Portal with REST APIs
• Admin / Tenant cloud like experience
• Self Service
What is WAP (Windows Azure Pack) ?
![Page 11: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/11.jpg)
• Part of Powershell / WinRM since version 3.0
• Common Powershell syntax
• Windows Workflow Foundation (WF) execution
• Supports checkpoints / resuming
• Selective parallel / sequential execution OOB
Powershell Workflow
![Page 12: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/12.jpg)
Powershell Workflow Anatomy
Runbook Input
Get Variables, Credentials
Logic / Work
Inline Script
![Page 13: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/13.jpg)
Helper Objects that help to keep the runbook portable and
clear of hardcoded values
Assets
• Variables
• Credentials
• Connections
• Modules
![Page 14: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/14.jpg)
• Creates a separate Powershell workspace (sandbox)
• Used to execute code not available as native WF activity
• Used for Remoting inside WF
• No WF checkpoints inside
Inline Script
![Page 15: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/15.jpg)
Runbook nesting• Invoke Inline: starting a Runbook by name
• Parent and all nested compiled into one job
• Output of all Runbooks will be ‘rolled up’
• Synchronous execution
• Start-SmaRunbook: starting using PS cmdlet• Starts a second job
• Output is specific to each job
• Asynchronous execution
![Page 16: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/16.jpg)
Returning Data• InlineScript
$data = inlinescript { script content }
• Inline runbook$data = invoked-runbook
• Started runbook
returns Job ID which can be used with Get-SMAJob
-> only simple objects!
![Page 17: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/17.jpg)
![Page 18: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/18.jpg)
Which to choose?SC Orchestrator SMA
Better together ?
![Page 19: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/19.jpg)
• Powershell skills exist
• If deploying private cloud with WAP
• No IP for your 3rd party systems exist
• Need for parallel execution, long running, suspendable /
restartable jobs
• If no SC Orchestrator investments / know how exist
When to go for SMA?
![Page 20: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/20.jpg)
Combine where needed
![Page 21: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/21.jpg)
Leverage Powershell Modules• SMA PS Module
Start-SMARunbook
• Orchestrator PS ModuleStart-OrchestratorRunbook
![Page 22: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/22.jpg)
![Page 23: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/23.jpg)
Azure
Monitoring
Systems
Change
Control
Systems
Anything
Automation
Azure Automation
![Page 24: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/24.jpg)
• Automate Azure operational tasks
• Enhance ASR with pre/post processing runbooks
• Automate on premise / hybrid processes
Azure Automation Scenarios
![Page 25: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/25.jpg)
![Page 26: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/26.jpg)
![Page 27: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/27.jpg)
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 28: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/28.jpg)
Coming up…One 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
• Databus
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 29: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/29.jpg)
Graphical Authoring
• Rich graphical authoring
• Progress visualization
• Data bus
![Page 30: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/30.jpg)
• Wizard driven
• Integration Packs -> Modules
• Runbooks -> PS Workflows
Migration
![Page 31: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/31.jpg)
• Use modular runbook constructs
• Use write-verbose | write-progress as much as you can
• Use assets to keep runbooks reusable and elastic
• Use credential assets instead of privileged service account
Notes from the field
![Page 32: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/32.jpg)
• SMA Whitepaperhttps://gallery.technet.microsoft.com/Service-Management-fcd75828
• Building Clouds Bloghttp://blogs.technet.com/b/privatecloud/
• Orchestrator Engineering Bloghttp://blogs.technet.com/b/orchestrator/
• Runbook authoring guidelineshttp://social.technet.microsoft.com/wiki/contents/articles/26616.quick-tips-and-tricks-for-runbook-writing.aspx
• Authoring SMA Runboooks using ISEhttp://blogs.technet.com/b/orchestrator/archive/2014/03/27/authoring-sma-runbooks-in-the-powershell-ise.aspx
How to get started with SMA….
![Page 33: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/33.jpg)
• System Center provides powerful automation solutions today for the datacenter and Azure Pack
• Azure Automation enables you to move workloads to Azure and automate operational tasks
• System Center Orchestrator & Azure Automation will unify technology for both datacenter, private and public cloud automation.
Key Takeaways
![Page 34: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/34.jpg)
Q+A
![Page 35: Automation 2.0 - Automation Tools for Hybrid Cloud Environments](https://reader034.vdocuments.us/reader034/viewer/2022052400/5599e07f1a28ab3f318b4688/html5/thumbnails/35.jpg)
© 2014 Microsoft Corporation. All rights reserved. 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.