Date post: | 15-Jan-2016 |
Category: |
Documents |
Upload: | homer-hoover |
View: | 216 times |
Download: | 0 times |
Datacenter Integration Using Service Management Automation in Microsoft System Center 2012 R2 Orchestrator Eamon O’Reilly, Joe Levy
Session Objectives and TakeawaysSession ObjectivesOpen with introductions and overview and graduate to in depth examplesIntroduction to Service Management Automation (SMA)Orchestrator and SMA – Integrate Enterprise & CloudIntegrate SMA into processes with PowerShell and ODataExtend SMA with custom PowerShell modules to integrate 3rd party systems
Key TakeawaysExisting systems can integrate into the Cloud OS stack through SMAOrchestrator and SMA have complimentary strengths that enable end-to-end scenariosPowerShell extensibility = SMA extensibility
Service Management Automation
Integration Integrate into existing systems with PowerShell integration modulesBuild additional PS modules to enable integrating into other systems
OrchestrationAccelerate time to value with flexible process workflowsImprove service reliability across multiple tools, systems, and department silos
AutomationEnable Cloud providers to focus on work that adds business valueReduce error-prone manual activities while lowering costs
Optimize and extend existing investments
Deliver flexible and reliable services
Lower costs and improve predictability
Process automation that simplifies cloud management
CMDB
Ticketing
Billing
Management Systems
Web based Runbook Authoring:Service Administrator can create runbooks to automate all aspects of cloud infrastructure, plan delivery, and maintenance activities
Highly Available EngineSupport 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 3rd party systems (ticketing system, billing system, user store, CMDB)
AutomationAdd bulk
user accounts
Add additional
SQL capacity
Notify users of
plan updates
Service Ticket for
failed resources
VIRTUAL MACHINE CLOUDS
12
SQL SERVER
9
PLANS
12
WEBSITE CLOUD
12
MYSQL SERVERS
0
NOTIFICATIONS
0
USER ACCOUNTS
4
AUTOMATION
8
ALLITEMS
Service Management Automation Capabilities
Demo
Intro to Service Management Automation
Built on PowerShell Workflow
PowerShell Workflow
• Use Windows PowerShell syntax• Multi-device management • Running a single task to manage complex,
end-to-end processes • Automated failure recovery • Connection and activity retries
Centralized store
• Credentials / certificates• Global variable • Global connection for runbooks• Modules• Runbooks (draft / published versioning)• Scheduling
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
PowerShell Workflow
Centralized store
Highly Available
Historical Analysis
Service Manageme
nt Automation
ODATA REST Web Service
Runbooks
Jobs
Modules & Activies
Submit requests
Return results
Http RequestHttp Response
Persist State
Pick up Jobs
SQL DatabaseRunbook Workers
Service Management Portal
• Authoring• Operating
Service Management Portal
• PowerShell Workflow engine• PowerShell Modules
Runbook Workers
• REST oData• Authorization
Web Service
• Administration• Operation
Powershell Cmdlets
• Runbooks• Runbook resources• Runbook job state
SMA Database
PowerShell
ModuleHttp
SMA Architecture
Orchestrator and SMA
PowerShell Workflow
Engine
UI Runbook Engine
Process Automation
InteroperabilityPowerShell Authoring
Graphical Authoring
Use Orchestrator for datacenter automation – integration packs
Use SMA for Cloud OS automation
Integration into each other via PowerShell modules
Blog:http://blogs.technet.com/b/orchestrator/archive/2013/10/29/using-the-service-management-automation-feature-of-orchestrator-in-system-center-2012-r2.aspx
Positioning SMA with Orchestrator
Demo
Use SCO & SMA to Integrate Enterprise Cloud Resource Requests (SharePoint & Windows Azure Pack)
User Creates VM request
on SharePoint Site
Admin reviews request
and approves
SCO Monitors for approved
requests
SCO calls SMA to add user to WAP plan for required VMs
SCO updates SharePoint
request with link to WAP and notifies user
Fulfill WAP request
Create new user in WAP if required
Add subscriptio
n to VM Plan
Add VM AddOn for number of requested
VMs
SharePoint or other request offering system like Service Manager
SCO – Monitors SharePoint and fulfills request
WAP SMA – Fulfills request with WAP
User logs into WAP
portal and has
requested VM capacity
Integrate into SMA with PowerShell and OData
SMA IntegrationTwo ways to integrate applications with SMA
1. Connect through SMA OData web service2. Use cmdlets in the SMA PowerShell module
SMA OData Web ServiceAll Automation WAP portal actions go through SMA web service
Self-documenting API using OData
Can generate client library from API
Authentication:- Windows Auth- Basic Auth
Authorization via the smaAdminGroup local group on each SMA web service host
Demo
Working with the SMA OData web service
SMA PowerShell ModuleProvides 40 cmdlets to remotely manage SMA from any host
Talks to SMA web service
Separate install in the SMA installer
Cmdlets for most Automation WAP portal actions
Cmdlets for SMA administration:- Runbook Worker Deployments - Administration Settings - Product License / Expiration Date
Comes out of box as an SMA integration module for use in runbooks
Demo
Working with the SMA PowerShell module
Integrate into 3rd party systems with SMA
Extending SMA with Integration ModulesIntegrate into 3rd party systems•Extend SMA like you would PowerShell
- Import PowerShell modules that function against other systems•Dozens of 1st + 3rd party PowerShell modules exist today•SMA Integration Module = PowerShell Module + one extra optional file•Some constraints on PowerShell modules that can be imported into SMA:
- Must not have any dependencies outside of the module folder- If does have dependencies, generate a “portable module” (details in
this blog post)
Write your own modules•Write SMA modules for custom solutions
- Simply by writing PowerShell modules in C# or PowerShell
Creating SMA-friendly modulesIf a module works against a remote system, it should contain a <ModuleName>-Automation.json file defining the information needed to connect to the remote system
Demo
Reaching into a 3rd party system from an SMA runbook
In ReviewSession ObjectivesOpen with introductions and overview and graduate to in depth examplesIntroduction to Service Management Automation (SMA)Orchestrator and SMA – Integrate Enterprise & CloudIntegrate SMA into processes with PowerShell and ODataExtend SMA with custom PowerShell modules to integrate 3rd party systems
Key TakeawaysExisting systems can integrate into the Cloud OS stack through SMAOrchestrator and SMA have complimentary strengths that enable end-to-end scenariosPowerShell extensibility = SMA extensibility
DCIM-B334 In-Depth Introduction to Service Management Automation DCIM-B375 Microsoft System Center 2012 R2 Orchestrator: Runbook Design DCIM-B321 Windows Azure Pack: Automation Essentials for Tenant Provisioning DCIM-B347 Introduction to Microsoft Azure Automation
Hands on labDCIM-H319 Windows Azure Pack: Service Management Automation
Related content
Come Visit Us in the Microsoft Solutions Experience!
Look for Datacenter and Infrastructure ManagementTechExpo Level 1 Hall CD
For More InformationWindows Server 2012 R2http://technet.microsoft.com/en-US/evalcenter/dn205286
Windows Server
Microsoft Azure
Microsoft Azurehttp://azure.microsoft.com/en-us/
System Center
System Center 2012 R2http://technet.microsoft.com/en-US/evalcenter/dn205295
Azure PackAzure Packhttp://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack
Resources
Learning
Microsoft Certification & Training Resources
www.microsoft.com/learning
msdn
Resources for Developers
http://microsoft.com/msdn
TechNet
Resources for IT Professionals
http://microsoft.com/technet
Sessions on Demand
http://channel9.msdn.com/Events/TechEd
Complete an evaluation and enter to win!
Evaluate this session
Scan this QR code to evaluate this session.
© 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.