vir314. understand the scenarios application support understand the scenarios application support...
TRANSCRIPT
Understanding Server App-V, Sequencing and Deploying Datacenter Applications
Derrick IsokaProgram ManagerMicrosoft
VIR314
• 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
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
What is Server Application Virtualization?
An Introduction and Scenario Overview
What is Server App-V?
Technology that enables virtualization of Server ApplicationsShips as a feature of System Center Virtual Machine Manager (SCVMM) 2012
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”
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.
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
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
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
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
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
Machine B
Application
OS
How Does it Solve the Problem?State Management Operations
Machine A
Backup State
Application
OS
State
Restore State
State
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
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
Application SequencingDeployment Configuration Review
SQL Server Reporting Services
demo
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
Key Sequencing Artifacts
SFT file: Immutable application image
Deploymentconfig.xml: Virtual application configuration
Report.xml: Identified sequencing issues
SPRJ file: Virtual application project file
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
Detecting Sequencing Issues
Prepare Computer reportPending rebootsVM not revertedServices (Antivirus, Defender, Indexing, Defrag, SCCM)Applications
Installation ReportExcluded filesDriversSystem DifferencesSxS ConflictsShell Extensions
report.xml
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
Testing your Virtual Server Application
Quick deployment using PowerShell cmdlets
demo
BenefitsWhy deploy using PowerShell cmdlets?
Quickly determine validity of your package after sequencing Quickly determine deployment environment readiness in your lab environment
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
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
Server App-V in the Datacenter
VMM2012
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
Service Lifecycle Management in VMM 2012
Create Service
Template
Customize
Deployment
Deploy
Service
Update
Service Template
Apply to Service
Instances
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
Deployments in VMM2012
Service Creation Workflow
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
VMM2012 Service Creation WorkflowUser Experience
demo
Management in VMM2012
Service Update Workflow
Machine B
Application
OS’
How Server App-V fits into Service UpdateState Management Operations
Machine A
Backup State
Application
OS
State
Restore State
State
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
VMM2012 Service Update WorkflowUser Experience
demo
Image Based Servicing: Under the Covers
Deploy app
Backup state
Create new instance on
new machine
Restore state to
new instance
Retire original instance
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
Server Application Virtualization Application Support
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
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)
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
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
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
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
Postponed from V 1.0 Release
HostsSharePointJ2EE Application ServersSQL ServerExchange Server
Out of ScopeOS ComponentsDevice Drivers
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
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”
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/
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.
Complete an evaluation on CommNet and enter to win!
Scan the Tag to evaluate this session now on myTech•Ed Mobile