vir314. understand the scenarios application support understand the scenarios application support...

54
Understanding Server App-V, Sequencing and Deploying Datacenter Applications Derrick Isoka Program Manager Microsoft VIR314

Upload: junior-morrison

Post on 24-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Derrick IsokaProgram ManagerMicrosoft

VIR314

Page 2: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

• Understand the scenarios• Application support

Session Overview

Server App-V

• Review of the sequencing process• DemoSequencing

• Automatic and manual discovery of configuration • DemoConfiguration

• PowerShell cmdlets & VMM 2012• DemoDeployment

Page 3: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Session Objectives and Takeaways

Understand the benefits of Server Application Virtualization [Server App-V]Review the Server App-V Sequencer and the sequencing processGrasp the benefits of deployment configuration and how to discover configuration for your virtual applicationReview virtual application deployment through Virtual Machine ManagerWe will NOT cover Server App-V/Azure scenarios

Page 4: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

What is Server Application Virtualization?

An Introduction and Scenario Overview

Page 5: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

What is Server App-V?

Technology that enables virtualization of Server ApplicationsShips as a feature of System Center Virtual Machine Manager (SCVMM) 2012

Page 6: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

What Problems Does Server App-V Solve?

“When I move my application from Dev to Test to Production, it’s NEVER the same experience and frequently problematic”“My team tells me we have a 146 page application install guide”“Updating my server applications causes me pain”

Page 7: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

What Problems Does Server App-V Solve?

Dramatically simplify the deployment and management of Data Center applications by providing a consistent,

predictable experience without requiring a rewrite.

Page 8: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Server App-V - Key Scenarios

Application Sequencing: Create configurable application images from app installers or installation procedures

Application Deployment: Deploy and configure applications in a reliable and repeatable way

Application Servicing: Easily update applications that have previously been deployed

Image Based OS Servicing: Allow lab-based updating of the underlying operating system without losing deployed application state

Page 9: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Out of Scope Scenarios for V1.0

Application Multi-tenancyWeb app support onlySingle Purpose OS instances address scenario needs for most customers

Application Streaming using App-V Server infrastructureData Center management solutions (e.g. VMM) will deliver the Server App-V packages

Page 10: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

How Does Server App-V Work?

Through the sequencing process, server applications are converted to images, which can be copied and started without installationApplication configuration and locally persisted state are separated from the underlying operating system

Page 11: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

How Does it Solve these Problems?Image Creation

Server Application

Services (IIS, Windows Services)

Resources (COM, COM+, DCOM, Java, WMI, SSRS, Local Users and Groups, Environment Variables)

Configuration (Registry, Files)

Sequencer

Server App-V Package

SFT Package file

Package Manifest

Configuration

Page 12: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

How Does it Solve these Problems?Declarative Deployment and Instance-specific Configuration

Server App-V Package

SFT Package File

Package Manifest

Configuration

Application Instance

SAV Agent

Machine A

Application Instance

SAV Agent

Machine B

Configuration A

Configuration B

Page 13: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Machine B

Application

OS

How Does it Solve the Problem?State Management Operations

Machine A

Backup State

Application

OS

State

Restore State

State

Page 14: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Environments and Scenarios

“Dev/ Test” Environment

• Create image of Server app using Server App-V Sequencer

• Validate Deployment and Management of Server App-V packages using Server App-V PowerShell Interface

Datacenter/Private Clouds

• VMM 2012 Service Creation Workflow

• VMM 2012 Service Update Workflows• Conventional• Image-based

Windows Azure Public Cloud

• Packaging Server App-V applications for Azure

• Deployment of Server App-V apps in Azure

Page 15: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Server App-V Scenarios and Environments

VMM 2012 or PowerShell

VMM 2012

Packaging Tool + Azure Portal

Configuration

App Instance

[Dev/Test]

Configuration

App Instance

[Private Cloud]

Configuration

App Instance

[Public Cloud]

Server Application

Server App-V Package

Sequencer

Page 16: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Application SequencingDeployment Configuration Review

SQL Server Reporting Services

demo

Page 17: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Server App-V Sequencer

What is it?Tool that converts applications to images

What you would you use it for?To create application images To identify instance-specific configuration

Page 18: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Key Sequencing Artifacts

SFT file: Immutable application image

Deploymentconfig.xml: Virtual application configuration

Report.xml: Identified sequencing issues

SPRJ file: Virtual application project file

Page 19: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Deployment ConfigurationIncreased flexibility in application configuration

BenefitsIdentify discovered configurationSearch and find configuration

Target ScenariosSequence once and deploy to many

FeaturesSearch text, registry, XML and config filesAdd scripts for the virtual and local environment

Page 20: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Detecting Sequencing Issues

Prepare Computer reportPending rebootsVM not revertedServices (Antivirus, Defender, Indexing, Defrag, SCCM)Applications

Installation ReportExcluded filesDriversSystem DifferencesSxS ConflictsShell Extensions

report.xml

Page 21: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Sequencing GuidelinesCandidates needing assistance to virtualize

Custom scripts can be delivered using deployment configuration

Deploy at runtime or with OS Service Template

Use VMM to deploy application dependencies

Interface with systemDevice driversWindows Roles and FeaturesServer level settings

Application and subsystemdependencies

Web Deploy

Custom configuration Script configurationMachine configuration

Page 22: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Testing your Virtual Server Application

Quick deployment using PowerShell cmdlets

demo

Page 23: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

BenefitsWhy deploy using PowerShell cmdlets?

Quickly determine validity of your package after sequencing Quickly determine deployment environment readiness in your lab environment

Page 24: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Server App-V Management InterfaceCreation and Validation of Server App-V App Images

Server App-V PowerShell CmdletsExposed by the Server App-V agent WMI ProviderSupport for local and remote scripting

Feature SupportApplication lifecycle operations (Deploy, Upgrade, Retire)Application runtime operations (Configure, Start, Stop)Application state management operations (Backup, Restore)

Does not includeOrchestration across tiersGeneral operations like package copy

Page 25: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Test Your Virtual ApplicationDeploy using Server App-V PowerShell cmdlets

• Adds a package to your target serverAdd-AppvPackage

• Applies settings in deploymentconfig to configure a packageSet-AppvPackage

• Starts a package after it’s been added and configured i.e. an application’s service is startedStart-AppvPackage

• Operation to stop a running deployed packageStop-AppvPackage

• Removes a package deployed on a serverRemove-AppvPackage

Page 26: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Server App-V in the Datacenter

VMM2012

Page 27: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

App Deployment and Management in VMM2012 Services and Templates

• Ties fabric resources and apps• Supported application types:

• Web Applications (WebDeploy)• Database Applications (SQL DAC)• Virtual Applications (Server App-V Package)

Service

• Starting point for service creation & servicing

• Deployed services always linked to templates

• Updates to services must be applied by changing the template first

Template

Page 28: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Service Lifecycle Management in VMM 2012

Create Service

Template

Customize

Deployment

Deploy

Service

Update

Service Template

Apply to Service

Instances

Page 29: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

How Server App-V fits into Service CreationImage Composition and Configuration

VM (Hardware, OS) Image

Server App-V App

Image

Dynamically created

instance of an app tier

Hardware, OS Configuration

App Deployment Configuration

Page 30: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Deployments in VMM2012

Service Creation Workflow

Page 31: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Service Creation Workflow

Create Service Template

• Create or use existing Machine Template

• Define Hardware, OS, App Profiles

Customize Profiles

• Hardware, OS• App Profile:

• App Package• Installation scripts

for Server App-V and pre-reqs

• App configuration

Deploy Service

• 1-button deployment

VMM 2012: Modeling and maintaining virtualized services in VMM 2012 Stephen Baron | 5/18 | 3:15 PM - 4:30 PM | Room C203

Page 32: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

VMM2012 Service Creation WorkflowUser Experience

demo

Page 33: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Management in VMM2012

Service Update Workflow

Page 34: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Machine B

Application

OS’

How Server App-V fits into Service UpdateState Management Operations

Machine A

Backup State

Application

OS

State

Restore State

State

Page 35: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Updating a Service

Update processClone and update the Service template Apply to deployed services

Update TypesConventional/ Regular updating

Changes applied without replacing OS image. e.g. change memory, update applications

Image based updatingReplaces old OS image with new OS image, reinstalls apps, restores state e.g. moving from WS08 to WS08 R2

Page 36: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

VMM2012 Service Update WorkflowUser Experience

demo

Page 37: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Image Based Servicing: Under the Covers

Deploy app

Backup state

Create new instance on

new machine

Restore state to

new instance

Retire original instance

Page 38: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Server App-V in the Datacenter Recap

Feature of VMM2012

Template based, relies on image composition and state operations

Walk-through of service creation, update workflows

Scenarios under the covers

Page 39: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Server Application Virtualization Application Support

Page 40: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Application CompatibilityApplication Classes

Server Applications

Management

SCCM Operations Mgr

Business

Dynamics AX SSRS

Database

Oracle SQL

Collaboration

Project Server

SharePoint Server

ExampleApps:

Source: MS Server Tracker, G7 Main MYR08

Green application classes are the highest priority targets for Server App-VThese classes represent 28% of all installed workloads

Page 41: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Application CompatibilityApplications

Apache

BuildTracker Server and client

Business Objects Xi 3.1 (SAP)

Commerce Server 2007

DasBlogDexterity Sample Application (Dynamics GP)

DotNetNuke

Drupal

Dynamics AX

Dynamics GP

Dynamics NAV

Dynamics Point of SalesDynamics Retail Management System

eScrum

Harmony(Sliq)

IBM DB2

Malevinch Code ReviewMySQLWS_FTP Server

Focus on Business ApplicationsTest groups of applications that have similar architecture and subsystems

Not feasible to test each and every application

Applications

Petshop

PHP 5.3.3

PHPMyAdmin

PostgreSQL

SQL Server ExpressSQL Server Web Data Administrator

SSRS 2005

SSRS 2008

StockTrader

WordPress

Real Server G2

AppV Management Server

Diskeeper Server Edition

HP OpenView 8.1IBM Tivoli Workload SchedulerLieberman - Enterprise Randmon Password Manager

Print Queue Manager (PQM)

Tivoli Storage Manager(IBM)

XenApp(Citrix)

Page 42: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Supported Virtualization SubsystemsServer App-V has expanded virtualization support

Hosts

• Windows Services

• IIS Applications

Resources

• COM+/DCOM• Text-based config• WMI providers• SSRS• Local users and

groups

Other

• Registry• COM• Java• .Net• State persisted to

local disk

Page 43: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

IIS Virtualization Subsystem

Support web applications that run on top of IIS 6, IIS 7, IIS 7.5 Enable admins to virtualize IIS sites, applications, and virtual directoriesDependency on Web DeployNo support for virtualizing the IIS workload

Page 44: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Windows Services Virtualization Subsystem

Core Windows Services supportedVirtualized Windows Services are registered with the Service Control Manager (SCM)All types of user accounts (LocalSystem, Network Service, Domain Accounts) are supported

Page 45: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Other Virtualization Subsystem Support

COM/COM+/DCOMSSRS 2005 and 2008Application WMI Providers

WSMAN server NOT included in VEWMI providers become part of the virtual environmentProviders exposed outside VE for remote management scenarios

Local Users and GroupsLocal users and groups created during application installation are brought into the virtual environmentACL preservation is maintained

Page 46: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Postponed from V 1.0 Release

HostsSharePointJ2EE Application ServersSQL ServerExchange Server

Out of ScopeOS ComponentsDevice Drivers

Page 47: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

In Review: Session Objectives and Takeaways

• Easy identification of configuration information and manual addition of required configuration

Flexible configuration

• Quick and easy deployment of virtual applications using PowerShell cmdlets in a test environmentFast validation

• Simplified packaging experience with step by step guidance and actionable diagnostic messagesEasy packaging

• Use Server App-V to package and deploy, via VMM, virtual applications in a reliable and repeatable way

X-Copy deployment

Page 48: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Related Content

Find me later at the MDOP Virtualization booth

VIR211 VMM 2012: What’s in it and How it enables the Private Cloud

VIR315 VMM 2012: Modeling and maintaining virtualized services in VMM 2012

VIR316 VMM 2012: Deployment, Planning, Upgrade

SIM336 VMM 2012: 1 of 3 Server Fabric Lifecycle – Configuring Network and Storage

SIM361 VMM 2012: 2 of 3 Server Fabric Lifecycle OSD, OOB, and Agent Management

SIM357 VMM 2012: 3 of 3 Server Fabric Lifecycle Cluster Creation, Update Management

VIR373-INT SCVMM 2008 R2 SP1 deep dive- Advanced Troubleshooting

SIM212 Cloud Management with System Center “Concero”

Page 49: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Track Resources

Server App-V Blog: http://blogs.technet.com/b/serverappv

[email protected]

Page 50: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Additional Track Resources

Don’t forget to visit the Cloud Power area within the TLC (Blue Section) to see product demos and speak with experts about the Server & Cloud Platform solutions that help drive your business forward.

You can also find the latest information about our products at the following links:

Windows Azure - http://www.microsoft.com/windowsazure/

Microsoft System Center - http://www.microsoft.com/systemcenter/

Microsoft Forefront - http://www.microsoft.com/forefront/

Windows Server - http://www.microsoft.com/windowsserver/

Cloud Power - http://www.microsoft.com/cloud/

Private Cloud - http://www.microsoft.com/privatecloud/

Page 51: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Resources

www.microsoft.com/teched

Sessions On-Demand & Community Microsoft Certification & Training Resources

Resources for IT Professionals Resources for Developers

www.microsoft.com/learning

http://microsoft.com/technet http://microsoft.com/msdn

Learning

http://northamerica.msteched.com

Connect. Share. Discuss.

Page 52: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Complete an evaluation on CommNet and enter to win!

Page 53: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the

Scan the Tag to evaluate this session now on myTech•Ed Mobile

Page 54: VIR314. Understand the scenarios Application support Understand the scenarios Application support Review of the sequencing process Demo Review of the