Automatizace Private Cloud Petr Košec, Microsoft MVP, MCT, MCSE www.kosecsolutions.cz, @PetrKosec
Session Objectives and Takeaways Introduction to Orchestrator Introduction to Service Management Automation (SMA) Orchestrator and SMA Integrate Enterprise & Cloud OS on premises Common scenarios using SMA and Windows Azure Pack Orchestrator Roadmap Existing systems can integrate into the Cloud OS stack through SMA Orchestrator and SMA have complimentary strengths that enable end-to-end scenarios
Automation Author Automate Operational Tasks Integrate Automation Operate Achieve On Demand Delivery Integration Orchestration Automation Optimize and extend existing processes Integrate into existing systems with PowerShell integration modules Extend by building PS modules to enable integrating into other systems Deliver flexible and reliable services Accelerate time to value with flexible process workflows Improve service reliability across multiple tools, systems, and department silos Lower costs and improve predictability Enable operations to focus on work that adds business value Reduce error-prone manual activities while lowering costs
System Center 2012 R2: Orchestrator Petr Košec, MCP, MCT www.kosecsolutions.cz, @PetrKosec
Orchestrator in System Center 2012 R2 IT Pro Operator Designer and SDK toolkit Web Service.
Orchestrator Architecture Runbook Servers Orchestrator Web Service Management Server Orchestration Console Orchestrator Database Orchestrator Console Runs in a browser Orchestrator Runbook Designer Runbook Designer Runbook Tester
Orchestrator 2012 R2 Heterogeneous datacenter automation System Center Integration Packs Operations Manager Data Protection Manager Configuration Manager Virtual Machine Manager Service Manager Datacenter Integration Packs Active Directory VMware vsphere IBM Netcool HP Operations Manager HP Service Manager HP ilo & OA: Azure Exchange User / Admin FTP SharePoint 3rd Party Integration Packs OEM Integration Packs Hardware vendor IPs Partner IPs for 3 rd party management systems Community IPs on codeplex
Orchestrator Features Activities Standard Activities Runbook Integration packs
Identify Best Candidate Processes There are several questions that should be answered before authoring begins: Is Orchestrator the right tool for this task? Is it technically feasible? Development cost and effort? Time to recoup investment What ports and permissions will this use? Closing the loop with ITSM integration
Example 1 Automate manual task 1 time every month Takes 20 minutes to do 1 week to build runbook
Example 2
Demo Using Orchestrator for datacenter automation
Tips SC12 Solution Runbook Examples Kelverion Integration Packs BMC: Remedy, Atrium, Bladelogic, Event Manager CA: ServiceDesk, Spectrum CISCO: ANM, NEXUS 1000V CITRIX: XenDesktop, XenServer MICROSOFT: Azure, Azure Automation, System Center Nagios XI ServiceNow Amazon: EC2 Email
Service Management Automation Petr Košec, MCP, MCT www.kosecsolutions.cz, @PetrKosec
Service Delivery stack Virtual Machine Manager Operations Manager Service Manager Orchestrator Data Protection Manager
Service Management Automation Capabilities Centralized Authoring & Asset Management Service Administrator can create runbooks to automate all aspects of cloud infrastructure, plan delivery, and maintenance activities Highly Available Engine Support 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 3 rd party systems (ticketing system, billing system, user store, CMDB) ALL ITEMS WEBSITE CLOUD 12 VIRTUAL MACHINE CLOUDS 12 SQL SERVER 9 MYSQL SERVERS 0 Automation CMDB Ticketing NOTIFICATIONS 0 PLANS 12 Billing USER ACCOUNTS 4 AUTOMATION 8 Management Systems
Built on PowerShell Workflow PowerShell Workflow Use Windows PowerShell syntax Multi-device management Running a single task to manage complex, end-toend processes Automated failure recovery Connection and activity retries PowerShell Workflow Centralized store Credentials / certificates Global variable Global connection for runbooks Modules Runbooks (draft / published versioning) Scheduling Centralized store Highly Available Service Management Automation Highly Available Runbook servers to process jobs Odata Web service to submit / retrieve status SQL Server clustering / always on Historical Analysis Historical view of runbook jobs Reporting through Excel PowerPivot for ROI View runbook used for all jobs Historical Analysis
Demo Introduction to Service Management Automation
Orchestrator and SMA Petr Košec, MCP, MCT www.kosecsolutions.cz, @PetrKosec
SMA with Orchestrator SMA Orchestrator Use Orchestrator for datacenter automation integration packs PowerShell Authoring Interoperability Graphical Authoring Use SMA for Cloud OS automation PowerShell modules Integration into each other via PowerShell modules PowerShell Workflow Engine UI Runbook Engine Process Automation
Typical Windows Azure Pack Scenarios Change Control & Provisioning Integrate into SCCM / WSUS / 3 rd party system for orchestrated patching of WAP infrastructure Automate backup of WAP infrastructure as new capacity is added / removed Orchestrate DR solution for WAP services Integrate into Service Manager / 3 rd party systems for change control on WAP services / plans / infrastructure Deploy new infrastructure and WAP services by integrating all of the management systems. Integrate WAP services into CMDB to enable change control Alert on operations manager or 3 rd party monitoring system, perform diagnostics & remediation. Monitor for SLA issues in the environment (SQL server space running out) and automatically add new capacity based on policy. Notify users of a subscription who have underutilized VMs and shutdown / delete if not used.
Orchestrator Roadmap Petr Košec, MCP, MCT www.kosecsolutions.cz, @PetrKosec
Automation Automation investments over time Automate the creation, deployment, monitoring, and maintenance of resources Rich workflow consistency through PowerShell Workflow based runbooks One automation solution for Azure, on-premises and Service Providers Cloud first investment enables hardened scenarios and capabilities on-premises
Today: Orchestrator and Automation Orchestrator for Datacenter User Interface Standalone Management Console Access Permissions (RBAC) Authoring Graphical, forms-based authoring of runbooks Visualize end-to-end orchestration Testing console to validate end to end process Runbook Engine Highly available Custom workflow engine Databus to easily pass information between activities Integration Integration packs for Microsoft and 3rd party systems Orchestrator toolkit to extend into custom systems Azure Automation, SMA and Azure Pack User Interface Web portal Authoring PowerShell Authoring Service Administrator can create runbooks to automate all aspects of cloud infrastructure, plan delivery, and maintenance activities 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
Coming: Orchestrator and Automation One Automation Solution for Azure and On Premises User 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 Runbook Engine Highly available PowerShell Workflow based engine Integration PowerShell Module based integration Use existing PowerShell modules for Microsoft and 3 rd party systems Create PowerShell modules for additional resources/systems Tools Tools to convert SCO Integration Packs and runbooks
Web portal Centralized library for all Automation Create runbooks within portal Call existing runbooks in library Manage Assets Import Modules Create settings Create schedules Browse and insert assets in runbooks Modules and Activities Credentials (PowerShell Credentials and Certificates) Variables (standard and encrypted) Connections Test Run runbook and see results within authoring window Troubleshoot issues Publish Edit draft before publishing
Graphical Authoring Visual Process Design your end to end processes using a visual experience Share easily with co-workers responsible for different parts of the process Document end to end process based on visual representation DataBus Subscribe to previous activities published data at design time Publish results to data bus during runtime. Authoring Create runbooks using forms based authoring Easily identify where the process failed for enhanced debugging
Managing Runbooks & Jobs Dashboard View View runbook jobs over time Find jobs that may need attention Runbooks View Filtering of jobs based on status and date Identify authoring state (New, In edit, Published) Filter by tags to group related runbooks Jobs View History of jobs per runbook Who last updated and when Input parameters and output Drill into each job to view streams generated to help troubleshooting Stop, Suspend and Resume job
Consistent Runbooks / Assets / API Runbooks Runbooks can be moved between Azure & On premises Export & Import without changing PowerShell script Role Based Access Control Grant permissions to Automation resources API / PowerShell Module Consistent API so you can automate runbooks in Azure & on premises the same way Azure module for Automation to work against Azure and on premises
Gallery Content Bring in Runbooks, PowerShell scripts, workflows and modules from Microsoft & community locations. Integrated Experience Customers can find and import content from within portal experience Ecosystem Customers can contribute runbooks and modules to community
Orchestrator Investments move forward Integration packs Migration tool to convert Orchestrator Integration packs to PowerShell modules Write PowerShell module for built in Orchestrator activities Runbooks Migration tool to export runbooks from Orchestrator and import into new system Some fix up of runbooks required for things not directly supported Service Manager connector New SM connector to allow it to work with the new Orchestrator solution. Update existing SM processes to use new connector
For more information http://technet.microsoft.com/library/dn765472.aspx http://technet.microsoft.com/en-us/library/hh546785.aspx http://www.microsoft.com/en-us/server-cloud/products/ windows-azure-pack http://azure.microsoft.com/en-us/
Azure
Gopas System Center 2012 R2 and Private Cloud Courses with {Petr Košec} MOC10747: Administering System Center 2012 R2 Configuration Manager MOC10748: Deploying System Center 2012 Configuration Manager MOC10750: System Center 2012 Monitoring and Operating a Private Cloud MOC10751: System Center 2012 Configuring and Deploying a Private Cloud MOC10964: Datacenter Monitoring with System Center Operations Manager MOC20409: Server Virtualization with Windows Hyper-V and Sytem Center MOC10965: IT Service Management with System Center Service Manager MOC 20246: Monitoring and Operating a Private Cloud MOC 20247: Configuring and Deploying a Private Cloud MOC 20695: Deploying Windows Devices and Enterprise Apps MOC 20696: Managing Enterprise Devices and Apps using System Center Configuration Manager GOC184: System Center 2012 R2 Operations Manager GOC194: System Center 2012 R2 Orchestrator GOC195: System Center 2012 R2 Service Manager
Review and Takeaways Session Objectives Open with introductions and overview and graduate to in depth examples Introduction to Service Management Automation (SMA) Orchestrator and SMA Integrate Enterprise & Cloud Key Takeaways Existing systems can integrate into the Cloud OS stack through SMA Orchestrator and SMA have complimentary strengths that enable end-to-end scenarios Consistent Automation platform for Azure and on premises