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

Understanding Server App-V, Sequencing and Deploying Datacenter Applications

  • Upload
    nedaa

  • View
    31

  • Download
    0

Embed Size (px)

DESCRIPTION

VIR314. Understanding Server App-V, Sequencing and Deploying Datacenter Applications. Derrick Isoka Program Manager Microsoft. Session Overview. Server App-V. Understand the scenarios Application support. Sequencing. Review of the sequencing process Demo. Configuration. - PowerPoint PPT Presentation

Citation preview

Page 1: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Derrick IsokaProgram ManagerMicrosoft

VIR314

Page 2: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

• 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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

What is Server Application Virtualization?

An Introduction and Scenario Overview

Page 5: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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 filePackage Manifest

Configuration

Page 12: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Application SequencingDeployment Configuration Review

SQL Server Reporting Services

demo

Page 17: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Testing your Virtual Server Application

Quick deployment using PowerShell cmdlets

demo

Page 23: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

BenefitsWhy deploy using PowerShell cmdlets?

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

Page 24: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Server App-V in the Datacenter

VMM2012

Page 27: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Service Lifecycle Management in VMM 2012

Create Service

Template

CustomizeDeployment

DeployService

UpdateService

Template

Apply to Service

Instances

Page 29: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Deployments in VMM2012

Service Creation Workflow

Page 31: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

VMM2012 Service Creation WorkflowUser Experience

demo

Page 33: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Management in VMM2012

Service Update Workflow

Page 34: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

VMM2012 Service Update WorkflowUser Experience

demo

Page 37: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Server Application Virtualization Application Support

Page 40: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Application CompatibilityApplications

ApacheBuildTracker Server and clientBusiness Objects Xi 3.1 (SAP)Commerce Server 2007DasBlogDexterity Sample Application (Dynamics GP)DotNetNukeDrupalDynamics AXDynamics GPDynamics NAVDynamics Point of SalesDynamics Retail Management SystemeScrumHarmony(Sliq)IBM DB2Malevinch 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

ApplicationsPetshopPHP 5.3.3PHPMyAdminPostgreSQLSQL Server ExpressSQL Server Web Data AdministratorSSRS 2005SSRS 2008StockTraderWordPressReal Server G2AppV Management ServerDiskeeper Server EditionHP OpenView 8.1IBM Tivoli Workload SchedulerLieberman - Enterprise Randmon Password ManagerPrint Queue Manager (PQM)Tivoli Storage Manager(IBM)XenApp(Citrix)

Page 42: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Postponed from V 1.0 Release

HostsSharePointJ2EE Application ServersSQL ServerExchange Server

Out of ScopeOS ComponentsDevice Drivers

Page 47: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Track Resources

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

[email protected]

Page 50: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

Complete an evaluation on CommNet and enter to win!

Page 53: Understanding Server App-V, Sequencing and Deploying Datacenter Applications

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

Page 54: Understanding Server App-V, Sequencing and Deploying Datacenter Applications