1.3 prepare for self service-final

35
Day 1, Session 3 Preparing for Self-Service

Upload: paulo-freitas

Post on 27-Jul-2015

72 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: 1.3 prepare for self service-final

Day 1, Session 3

Preparing for Self-Service

Page 2: 1.3 prepare for self service-final

• 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

Page 3: 1.3 prepare for self service-final

Planning and Building Your Templates

Page 4: 1.3 prepare for self service-final

Advanced Service Template FunctionalityService templates bring a number of advanced deployment capabilities • Generic Command Execution• SQL Profiles • Configurable Service Settings • Application Hosts • Custom Resources

Page 5: 1.3 prepare for self service-final

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

Page 6: 1.3 prepare for self service-final

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

Page 7: 1.3 prepare for self service-final

Creating a WebDeploy PackageDemo

Page 8: 1.3 prepare for self service-final

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

Page 9: 1.3 prepare for self service-final

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

Page 10: 1.3 prepare for self service-final

Deployment Preview

Deploy to Cloud

Settings to override

Deploy the service

Page 11: 1.3 prepare for self service-final

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

Page 12: 1.3 prepare for self service-final

Deploy a Multi-tier Service Template

Demo

Page 13: 1.3 prepare for self service-final

Runbook Automation

Page 14: 1.3 prepare for self service-final

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

Page 15: 1.3 prepare for self service-final

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

Page 16: 1.3 prepare for self service-final

Tour of the Orchestrator Consoles

Demo

Page 17: 1.3 prepare for self service-final

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

Page 18: 1.3 prepare for self service-final

Runbook Automation Reality Funnel

Best candidates for runbook automation

Recovery Tasks

Incident Remediati

on

User Provisionin

g

Frequency of Use

Automation Effort

Exceptions / Variance

Page 19: 1.3 prepare for self service-final

Runbook Best PracticesRename activitiesRe-color links

StructureNaming convention

VariablesNo hard-coded valuesLeft to rightFunctions as runbooksPlan! Test! Test! Test!

Success

Unknown

Warning / Critical

Page 20: 1.3 prepare for self service-final

Developing Runbooks to Best Practices in 5 Minutes

Demo

Page 21: 1.3 prepare for self service-final

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!

Page 22: 1.3 prepare for self service-final

Initiating Runbooks Externally Demo

Page 23: 1.3 prepare for self service-final

Provisioning Cloud CapacityAka Configuring Clouds, User Roles, and Quotas

Page 24: 1.3 prepare for self service-final

Data Center TwoData Center One

Development Production

Create the Private Cloud

Logical & Standardized

Cloud Abstraction

Production

Development

Page 25: 1.3 prepare for self service-final

Logically Group Your Resources into Clouds1. Create clouds for specific needs

2. View deployed services and VMs

3. Overprovision across cloud resources

Page 26: 1.3 prepare for self service-final

Connect to Physical Infrastructure Components1. Aggregate capacity of underlying resources

2. Choose your logical network abstractions

3. Choose the types of storage available

Page 27: 1.3 prepare for self service-final

Control the Amount of Cloud Resources

1. Place limits around physical resources consumed by cloud2. Dynamically adjust resource limits as needs change

Page 28: 1.3 prepare for self service-final

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

Page 29: 1.3 prepare for self service-final

Data Center TwoData Center One

DevelopmentProduction

Delegating Access to Private Cloud Capacity

Cloud Abstraction

Delegated Capacity

Production

Development

Page 30: 1.3 prepare for self service-final

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

Page 31: 1.3 prepare for self service-final

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

Page 32: 1.3 prepare for self service-final

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

Page 33: 1.3 prepare for self service-final

Provisioning Access for a Self-Service User Role

Demo

Page 34: 1.3 prepare for self service-final

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

Page 35: 1.3 prepare for self service-final

©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.