63
Planning for Optimal Management Server Performance and Scalability Ben Fersenheim App-V Sustained Engineering Microsoft VIR302

VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Embed Size (px)

Citation preview

Page 1: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Planning for Optimal Management Server Performance and Scalability

Ben FersenheimApp-V Sustained EngineeringMicrosoft

VIR302

Page 2: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Introduction

An overview of what’s to come

Page 3: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Session Overview

Tech Review• Review the components of the App-V Management

Server infrastructure

Key Considerations• Discuss the specific factors that affect server

operations

Deployment Guidance• Present sample figures and specific guidance to

inform deployment decisions

Page 4: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureA survey of the components of the App-V Management Server

Page 5: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureIn this section we will answer the following

What is the App-V Management Server and what value does it provide?What are the primary components of the App-V Management Server?What are the fundamental operations performed by the App-V Management Server?

Page 6: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureValue proposition

Applications are isolated

Isolation allows the application to behave consistently regardless of the changes in the OS or other

applications in the system

Lowers application testing costs for enterprises

Applications are delivered on demand (SaaS)

Brings the benefits of SaaS to rich Windows applications

Applications can be streamed from a variety of locations: locally, IIS server, App-V Server, Config

Mgr Server, or other ESDs and devices

Centralized management and servicing

Service in one central location, stream to all users

User based application targeting

Simplified management and deployment of applications to an enterprise

Page 7: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

And now, a word from our audience

What are the major components that the comprise the App-V management infrastructure?

interactive

Page 8: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureMajor components

In-box components

• Management Server

• Management Web Service

• Management Console

External dependencies

• SQL Server DB• IIS• PKI• Content directory• Active Directory• Network load

balancer

Page 9: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureArchitectural diagram

Page 10: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureManagement Server

Point of service for App-V clientsWindows serviceBalances load across cooperating procesesScale out across multiple Management Servers

Page 11: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureManagement Web Service

Point of service for the Management ConsoleImplemented as an ASP.NET web serviceCan be deployed independently of the Management Server

Page 12: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureManagement Console

Administrative portalMMC 3.0 snap-inConsumer of the Management Web ServiceCan be deployed independently

Page 13: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureApp-V SQL Database

Hosts application, package, entitlement, and reporting dataServes content for Management Server and Management Web Service

Page 14: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureActive Directory

Provides user and group data for entitlementsRead-only

Page 15: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureExternal dependencies

Network load balancersSoftware-based NLBHardware load balancers

Content directoryHosts icons, OSD files, and SFT files for client accessLocated on a share on or off the Management Server

Page 16: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

App-V Management Server InfrastructureOperations

The App-V Management Server performs four fundamental operations

PublishingStreamingMeteringManagement

Page 17: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server Operations

Examining the fundamental operations in more detail

Page 18: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsIn this section we will

Identify the factors that affect performance and scalabilityExamine the fundamental operations performed by the Management Server in more detail

Page 19: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsPerformance vs. scalability

Performance

Measurable behaviorFocused on end-user tasksCumulative effects

Scalability

Change of measurable behaviorSustained rates vs. burstsThroughput vs. bandwidth

Page 20: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsWhat affects scalability?

Architectural

• Inter-component dependencies

• Fixed configuration

Environmental

• CPU• Memory• Storage• Network• Mutable

configuration

Workload

• Mixture of operations

• Package profile

• User distribution

Page 21: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsIntroducing the model

• What does this operation do?

Purpose

• Under what circumstances is the operation performed?• User-driven? Periodic?

Frequency

• How is performance measured?

Performance

Page 22: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsIntroducing the model (cont.)

Step 1 Step 2 Step 3

Page 23: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsIntroducing the model (cont.)

A list of the key factors that affect the scalability of the management server infrastructure when performing the operation under study

Page 24: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsPublishing refresh

• Provides end-users access to the virtualized applications to which they are entitled

Purpose

• At user login (default)• Every X minutes/hours/days (configurable)

Frequency

• Time to visible availability of new applications

Performance

Page 25: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsPublishing refresh (cont.)

Query Active Directory to

determine the list of groups based

on the user token

Query the SQL DB to collect the entire list of applications

registered with the system

Return filtered list based on the applications

entitled to the user

Client requests OSD and ICO files

from content directory

Page 26: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsPublishing refresh (cont.)

Overall CPU load on the Management ServerVolume of concurrent requestsPackage profile

SQL Server capacityEntitlement queriesApplication catalog retrieval

Content directory latency

Page 27: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsPackage load

• Delivers virtual application content to App-V clients

Purpose

• Before first application launch (FB1)• During application usage (OOS)• During idle CPU cycles (Auto-load)

Frequency

• Time to launch (FB1)• Responsiveness of virtual applications (OOS)• Impact of loading on other network operations (Auto-load)

Performance

Page 28: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsPackage load (cont.)

Query AD to authenticate the

user

Query AD to verify that the user is authorized to

access the resource

Load the requested package content

and deliver it to the client

Page 29: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsPackage load (cont.)

FB1-optimized packagesNetwork load balancingAuto-load settings

Page 30: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsApplication launch

• Ensures user is authorized to launch an application

Purpose

• Before each virtual application launch

Frequency

• Time to launch application

Performance

Page 31: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsApplication launch (cont.)

Acquire token representing the

user’s credentials

Query AD to authenticate the

user

Query AD to verify that the user is authorized to

access the resource

Page 32: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsApplication launch (cont.)

Disconnected operation modesVolume of concurrent requestsNetwork load balancing

Page 33: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsMetering data upload

• Accepts usage data from App-V clients

Purpose

• Dependent on publishing refresh (occurs at the same time)

Frequency

• Degree of impact on publishing/streaming

Performance

Page 34: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsMetering data upload (cont.)

(Optional) Record the client as a new reporting

source

Update state of the client cache

in the DB

Update application usage information in the

DB

Page 35: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsMetering data upload (cont.)

Volume of data collectedPublishing refresh intervalApplication launch frequency

Volume of publishing refreshesSQL Server capacity

CPUAPPLICATION_USAGE table

Page 36: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsManagement

• View and edit application, package, entitlement, and reporting data

Purpose

• Defined by business need

Frequency

• Responsiveness of the Management Console

Performance

Page 37: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsManagement (cont.)

Query Management Web

Service for the data relevant to

the current display/task

Management Web Service consults DB for requested data and returns to the console

Invoke Management Web Service to make the requested

changes

Management Web Service modifies DB accordingly

Page 38: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Management Server OperationsManagement (cont.)

Package profileComplexity of operation

Package with 100+ OSDsApplication with 100+ entitlements

SQL Server capacityConcurrent non-management activity

Page 39: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Guidance

Best practices and recommendations to guide deployment planning

Page 40: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceIn this section

Sample deployment figuresImportant configuration parametersAdditional deployment optionsHelpful toolsResources

Page 41: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceSample deployment figures

Machine specsWindows Server 20082x Dual core 3GHz4GB RAM1 GigE network

Single Management ServerDedicated SQL Server

Page 42: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceSample deployment figures

Operation CPU loadMemory usage

Net bandwidth

Max. per minute

Publishing refresh (x100)

1.2% 0.05 MB 0.5 Mbps 8,000

Package load

0.18% 0.1 MB 1.0 Mbps N/A

Application launch (x100)

4.3% 0.1 MB 0.3 Mbps 1,800

Table 1 – Impact of sample operations on App-V Management Server

Page 43: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceSample deployment figures

Object Frequency Max size

PackageOne per version

1K

Application One per OSD 2K

ShortcutOne per OSD

shortcut2K

File type ext.One per OSD

FTA1K

Table 2 – Impact of sample operations on App-V data store growth

Object Frequency Max size

Each App-V client

One per distinct client

0.5K

Client cache info

One per cached pkg

0.5K

Metering upload

One per app launch

1K

Page 44: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceUnderstanding your model

Distribution of user load on the systemWhen do publishing refreshes happen?What triggers streaming activity?How many launches per day?

Package and application profileHow many total packages?Average/max applications per packageAverage/max FTAs per package

Page 45: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceUnderstanding your model (cont.)

Administrative tasksHow frequently are packages deployed?How frequently do entitlements change?Can tasks be scheduled off-hours?

Page 46: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceImportant client configuration points

Configuration Impact For more information

Default refresh policyControls when App-V clients perform publishing refresh

http://technet.microsoft.com/en-us/library/cc817137.aspx

Disconnected / offline modeControls whether App-V client will

launch loaded apps without a server connection

http://technet.microsoft.com/en-us/library/cc843704.aspx

Auto load target / triggersControls which packages the

client with auto-load, and when

http://blogs.technet.com/b/appv/archive/2009/07/28/

understanding-the-autoload-feature-of-microsoft-app-v-4-

5.aspx

ASR/ISR/OSRControls where client will obtain

SFT/OSD/ICO datahttp://technet.microsoft.com/en-

us/library/cc843817.aspx

RequireAuthorizationIfCachedControls whether auth is required

for fully cached app launchhttp://technet.microsoft.com/en-

us/library/dd464849.aspx

Page 47: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceImportant server configuration points

Configuration Impact For more information

Max DB sizeSets a high watermark for purging

old usage datahttp://technet.microsoft.com/en-us/library/cc843727.aspx

Enable/disable usage reportingDetermines whether client usage

information is kepthttp://technet.microsoft.com/en-us/library/cc843811.aspx

Enable/disable authenticationDetermines whether Windows auth is used to control access

http://technet.microsoft.com/en-us/library/cc843646.aspx

Enable/disable licensingDetermines whether application

licensing is enabledhttp://technet.microsoft.com/en-us/library/cc843792.aspx

Page 48: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceImportant server configuration points (cont.)

Configuration Impact For more information

DCCacheTimeoutControls how often server refreshes application data

See App-V 4.5 Server Sizing Guide

LoadConsoleIconsControls whether the MMC will load icons for packages in the

Management Console

http://blogs.technet.com/b/appv/archive/2009/04/30/resolving-a-couple-common-softgrid-app-v-management-console-issues.aspx

Page 49: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceAdditional deployment options

Streaming ServerFile streamingHTTP streamingHTTP reportingSCCM

Page 50: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceHelpful tools

ADInsight – monitor client-side Active Directory activitySQL Profiler – collect and analyze trafficPerfmon – track OS resource usageNetwork Monitor – analyze network trafficVSTT – author and conduct performance tests

Page 51: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

GuidanceResources

Application Virtualization Whitepapers - http://technet.microsoft.com/en-us/appvirtualization/cc843994.aspx

Includes links to the Server Sizing Guide

Infrastructure Planning and Design Guides – http://microsoft.com/ipd

Includes IPD guides for Virtualization and System Center

App-V on TechNet - http://technet.microsoft.com/en-us/appvirtualization/default.aspx

Page 53: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Conclusion

Page 54: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Conclusion

The Management Server infrastructure performs a small number of fundamental operationsFocus on understanding the scalability factors that affect these operationsUse this understanding to make informed deployment decisions

Page 55: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Postscript

Page 56: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

ColophonPracticing what I preach

Presentation authored usingA virtualized deployment of PowerPoint 2010App-V client 4.6 SP1 (with hotfix package 1, KB2532192)App-V management server 4.5 SP2 (with hotfix package 2, KB2507096)

Publishing and streaming from management server

Page 57: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Related Content

VIR305 – How to Create App-V Packages More Efficiently with the New App-V 4.6 SP1 SequencerVIR318 – How to Set Up App-V and Get the Most Out of Your RDS and VDI Deployments

OSP379-HOL – Virtualizing Microsoft Office 2010 with Microsoft Application Virtualization 4.6 SP1VIR380-HOL – Leveraging Microsoft Application Virtualization 4.6 with Windows Server 2008 R2 Remote Desktop ServicesVIR381-HOL – Microsoft Application Virtualization 4.6 SP1 Sequencer

Page 58: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

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 59: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

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 60: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

Complete an evaluation on CommNet and enter to win!

Page 61: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

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

Page 62: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect

© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

Page 63: VIR302. Tech Review Review the components of the App-V Management Server infrastructure Key Considerations Discuss the specific factors that affect