1 / 22

System Center 2012 R2 Windows Azure Pack

System Center 2012 R2 Windows Azure Pack. Service Management Automation 101. Who am I. Jakob Gottlieb Svendsen - @ JakobGSvendsen Profession Chief Developer, Coretech A/S, System Center Gold Partner Titles System Center Cloud and Data Center Management MVP Windows Azure Pack / SMA

Télécharger la présentation

System Center 2012 R2 Windows Azure Pack

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. System Center 2012 R2Windows Azure Pack Service Management Automation 101

  2. Who am I • Jakob Gottlieb Svendsen - @JakobGSvendsen • Profession • Chief Developer, Coretech A/S, System Center Gold Partner • Titles • System Center Cloud and Data Center Management MVP • Windows Azure Pack / SMA • Orchestrator + Extensions for SCSM + SCOM • VBScript / PowerShell / VB.NET / C#.NET • Communities • Co-Founder of the Danish PowerShell User Group (www.psug.dk) • Moderator on Microsoft TechNet Forums • Author • Service Manager 2012 Unleashed (contributing author – Release June 2014) • Mastering System Center Orchestrator 2012 – 3 day workshop • Windows Azure Pack - SMA Workshop/course (in development) • Advanced SCOM management pack design/development Workshop/course (in development)

  3. Service Management Automation (SMA) • System Center 2012 R2 Orchestrator adds support forPowerShell Workflows through the SMA feature • Browser-based runbook authoring integrated into the WAP Admin 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

  4. Service Management Automation Introduction Demo

  5. Introducing PowerShell Workflows • Workflows are a PS construct similar to a function or cmdlet • Converted to and executed as a Windows Workflow Foundation workflow • Workflows are different from a function/script/cmdlet • Workflows can execute commands in parallel or in sequence • Workflows can persist state • You can suspend/resume a workflow • Workflows “survive” OS shutdowns or network outages • Runs activities. Cmdlets are run inside of an InlineScript block

  6. Service Management Automation First runbook Demo

  7. SMA enhancements to PowerShell Workflow • High availability workflow execution backed by SQL Server • Centralized, machine-independent store • Variables, Credentials, Connections, Certificates • Schedules, Actions (Trigger on Events) • Modules, Workflows, Checkpoints • Built-in versioning for workflows and modules • API interface over HTTP (Odata web service) • Historical view of all workflow jobs and their output

  8. Service Management Automation Triggers + Schedules Demo

  9. SMA : Architecture and Installation Web Service • Standard interface for all of SMA • Security group controls access • HTTPS support to secure connection to clients Runbook Worker • All runbook jobs are picked up by one or more runbook workers • Runs under a service account PowerShell Module • SMA PowerShell module to enable management of SMA through cmdlets Service Admin Portal integration • Connect the Service Admin portal to the SMA web service

  10. SMA : Architecture and Installation Service Management Portal Http Request Http Response Return results ODATA REST Web Service SQL Database Runbook Workers Submit requests Runbooks Pick up Jobs Jobs Persist State Modules & Activies

  11. Service Management Automation – Minimum Setup http://technet.microsoft.com/en-us/library/dn296433.aspx

  12. Service Management Automation Check Points Demo

  13. SMA Architecture with Service Manager Cireson SMA Connector SCSM Console SCSM Workflows Cireson SMA Connector Windows Azure Pack Admin Portal SMA PowerShell Module/Cmdlets Service Management Automation Web Service API SMA Service Management Automation Runtime PowerShell Windows Workflow Foundation

  14. SMA : Runbook Authoring and Tools • Things to consider when creating SMA Runbooks • Check Out: http://aka.ms/IntroToSMA • Tags • Logging • Progress • “Atomic” Runbooks that are modular in nature

  15. Service Management Automation Logging / Progress Demo

  16. SMA : Runbook Authoring and Tools • Easy Import / Export • Use SMART for Runbook Import and Export • http://blogs.technet.com/b/privatecloud/archive/2013/10/23/automation-service-management-automation-sma-runbook-toolkit-spotlight-smart-for-runbook-import-and-export.aspx

  17. Service Management Automation Import Export Demo

  18. SMA : Working with modules • Creating SMA friendly PowerShell modules • Include for every cmdlets • Synopsis • Description • Help uri • Cmdletshould be able to take in a connection object as a parameter. • Cmdlets in the module should be stateless • Define output type for all cmdlets(IntelliSense)

  19. 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 • Versioned runbooks • Schedule runbooks • Parallel processing inside runbooks Text authoring vs. Visual Designer

  20. Integration of Orchestrator and SMA Graphical Authoring PowerShell Authoring • Orchestratorsupports • PowerShell Workflow • Graphical Authoring • Call SMA from Orchestrator • Call Orchestrator from SMA http://bit.ly/1ciQZZc PowerShell Workflow Engine UI Runbook Engine Process Automation

  21. Moving Runbooks and Conceptsfrom Orchestrator to SMA • Sample migration case & Tools available to help • 2-part blog post series about calling an Orchestrator Runbook from SMA, and integrating with Service Manager • http://blogs.technet.com/b/privatecloud/archive/2013/11/01/calling-an-orchestrator-runbook-from-sma-part-1.aspx • Orchestrator and SMA integration in action • http://blogs.technet.com/b/privatecloud/archive/2013/12/11/automation-fun-with-orchestrator-and-sma-integration-points.aspx • Smart for Runbook Conversion • http://blogs.technet.com/b/privatecloud/archive/2013/11/25/automation-service-management-automation-sma-runbook-toolkit-spotlight-smart-runbook-conversion-helper.asp

  22. Thank You • Jakob Gottlieb Svendsen - @JakobGSvendsen • http://blog.coretech.dk/jgs • PowerShell User Group • http://www.psug.dk

More Related