1.3 prepare for self service-final
TRANSCRIPT
Day 1, Session 3
Preparing for Self-Service
• Planning and Building Your Templates • VM Templates and Service Templates • Installing Your Applications
• Runbook Automation • RBA best practices for cloud • Building a reliable provisioning workflow • Closing the Loop: ITSM integration, Notification
• Provisioning Cloud Capacity • VMM capabilities for defining tenants and clouds
Session 3 Overview
Planning and Building Your Templates
Advanced Service Template FunctionalityService templates bring a number of advanced deployment capabilities • Generic Command Execution• SQL Profiles • Configurable Service Settings • Application Hosts • Custom Resources
Generic Command Execution• Execute custom scripts within service instance
VMs• Can specify run as account, script restart behavior,
logging properties• Script parameters can leverage configurable service
settings
• Multiple entry points available• Application level• Pre/post install, pre/post uninstall, pre/post service,
save/restore state • Application Profile level• Pre/post install, Pre/post uninstall
• Pre/post install supports multiple, ordered scripts
SQL Profiles• Used to deploy SQL Server to a virtual machine• SQL 2008 R2• SQL 2012
• Requires a sysprepped SQL instance
• Allows for SQL Server specialization during provisioning• Instance Name• Security mode• Protocol enablement• SA account password• Service account identities
Creating a WebDeploy PackageDemo
Application Hosts• Deploy applications to shared platform
• Virtual machine• Standalone physical server• Physical cluster/farm
• Application host types• SQL Server
• Can only contain SQL .dacpac objects and SQL scripts• Web Server
• Can only contain Web Deploy objects
• Target server name can be a configurable service setting• Allows user to specify server at deployment time
Configurable Service Settings• Allows user to enter setting values during deployment• Denoted by @VariableName@ nomenclature
• Service setting properties• Mandatory• Encrypted• Default value
• Several pre-defined service settings available such as • @computerName@ - Computer Name• @vmid@ - ID of the VM
Deployment Preview
Deploy to Cloud
Settings to override
Deploy the service
VMM Library
• VMM library can store the following types of resources:• File-based resources (including custom resources)• Templates and profiles• Equivalent objects• Private cloud libraries• Self-service user content• Stored virtual machines and services
Deploy a Multi-tier Service Template
Demo
Runbook Automation
Powerful Out-of-Box Standard Activities
Connect Execute Manage Communicate
• Connect to Web Services
• Poll Internet Applications
• Leverage existing integration methods
• Cross Platform activities
• Run system level tasks
• Run Programs and Commands
• Execute code from PowerShell, .Net, Jscript and VB.Net
• Work with Databases
• Set up Monitors and Schedules
• Work with files and folders
• Create multi-part Runbooks
• Leverage decision trees
• Merge Runbook execution paths and information
• Compare results• Send Notifications• Integrate with e-
mail• Publish results
Integration with MS & 3rd Party PlatformsIntegration packs from Microsoft • Active Directory Integration Pack • Windows Azure• Exchange Admin and User Ips• REST • System Center 2007 – 2012 SP1 • • HP iLO and OA
• BladeLogic Operations Manager • HP Operations Manager • HP Service Manager • IBM Tivoli Netcool/OMNIbus• VMware vSphere
Free integration packs from the System Center community available on
CodePlex.com
Tour of the Orchestrator Consoles
Demo
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
Identify Best Candidate Processes for RBA
Runbook Automation Reality Funnel
Best candidates for runbook automation
Recovery Tasks
Incident Remediati
on
User Provisionin
g
Frequency of Use
Automation Effort
Exceptions / Variance
Runbook Best PracticesRename activitiesRe-color links
StructureNaming convention
VariablesNo hard-coded valuesLeft to rightFunctions as runbooksPlan! Test! Test! Test!
Success
Unknown
Warning / Critical
Developing Runbooks to Best Practices in 5 Minutes
Demo
Reduce Cost Reduce Time Reduce Errors
Patching
Provisioning VM’s
Deploying applications
Automated SLA-driven responses
Self-service
Service Manager
Orchestrator
PowerShell
Organization Process and Knowledge
Workflow Management
System Execution
People processes
Runbooks
Executing scripts
Automation to Manage the CloudService Manager + Orchestrator
Why Service Manager + Orchestrator is Key:• Intuitive User Experience• Approval Workflow • Validation of User Input• Close the Loop with ITSM
Applies to both Private + Public (Hybrid) Cloud!
Initiating Runbooks Externally Demo
Provisioning Cloud CapacityAka Configuring Clouds, User Roles, and Quotas
Data Center TwoData Center One
Development Production
Create the Private Cloud
Logical & Standardized
Cloud Abstraction
Production
Development
Logically Group Your Resources into Clouds1. Create clouds for specific needs
2. View deployed services and VMs
3. Overprovision across cloud resources
Connect to Physical Infrastructure Components1. Aggregate capacity of underlying resources
2. Choose your logical network abstractions
3. Choose the types of storage available
Control the Amount of Cloud Resources
1. Place limits around physical resources consumed by cloud2. Dynamically adjust resource limits as needs change
Control the Types of VMs for Self-Service Users
1. Set constraints and limits around VMs with capability profiles
2. Attach to clouds to control usage
Data Center TwoData Center One
DevelopmentProduction
Delegating Access to Private Cloud Capacity
Cloud Abstraction
Delegated Capacity
Production
Development
Infrastructure Operations
AdministratorDelegated AdministratorInfrastructur
e Administrator
Infrastructure Administrator
• Entire system
• Can take any action
• Host groups and clouds
• Can take any action at that level
Read-Only Administrator
• Host groups and clouds
• No actions
Role-Based Access
Self-Service User Application Owner• Clouds only
• Revocable actions
• Quota controlled
Assign Actions to User Roles
1. Create custom roles
2. Choose actions and change actions dynamically as needed
Note: Uses Active Directory users and groups
Assign Quota Capacity
1. Ability to set quota at the “all members combined” level
2. Ability to set quota at the “individual member” level
For Example: • 50 VM limit for all
members of user role• 10 VM limit per individual
member
Provisioning Access for a Self-Service User Role
Demo
In this module, you learned about:• Planning and Building Your Templates • VM Templates and Service Templates • Installing Your Applications
• Runbook Automation • RBA best practices for cloud • Building a reliable provisioning workflow • Closing the Loop: ITSM integration, Notification
• Provisioning Cloud Capacity • VMM capabilities for defining tenants and clouds
Module Summary
©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics 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.