App-V 5.0 Capacity Planning
Platí pro: Application Virtualization 5.0, Application Virtualization 5.0 SP1, Application Virtualization 5.0 SP2, Application Virtualization 5.0 SP3
The following recommendations can be used as a baseline to help determine capacity planning information that is appropriate to your organization’s App-V 5.0 infrastructure.
Důležité
Use the information in this section only as a general guide for planning your App-V 5.0 deployment. Your system capacity requirements will depend on the specific details of your hardware and application environment. Additionally, the performance numbers displayed in this document are examples and your results may vary.
Determine the Project Scope
Before you design the App-V 5.0 infrastructure, you must determine the project’s scope. The scope consists of determining which applications will be available virtually and to also identify the target users, and their locations. This information will help determine what type of App-V 5.0 infrastructure should be implemented. Decisions about the scope of the project must be based on the specific needs of your organization.
Task | More Information |
---|---|
Determine Application Scope |
Depending on the applications to be virtualized, the App-V 5.0 infrastructure can be set up in different ways. The first task is to define what applications you want to virtualize. |
Determine Location Scope |
Location scope refers to the physical locations (for example, enterprise-wide or a specific geographic location) where you plan to run the virtualized applications. It can also refer to the user population (for example, a single department) who will run the virtual applications. You should obtain a network map that includes the connection paths as well as available bandwidth to each location and the number of users using virtualized applications and the WAN link speed. |
Determine Which App-V 5.0 Infrastructure is Required
Důležité
Both of the following models require the App-V 5.0 client to be installed on the computer where you plan to run virtual applications.
You can also manage your App-V 5.0 environment using an Electronic Software Distribution (ESD) solution such as Microsoft Systems Center Configuration Manager. For more information see Deploying App-V 5.0 Packages by Using Electronic Software Distribution (ESD).Standalone Model - The standalone model allows virtual applications to be Windows Installer-enabled for distribution without streaming. App-V 5.0 in Standalone Mode consists of the sequencer and the client; no additional components are required. Applications are prepared for virtualization using a process called sequencing. For more information see, Planning for the App-V 5.0 Sequencer and Client Deployment. The stand-alone model is recommended for the following scenarios:
With disconnected remote users who cannot connect to the App-V 5.0 infrastructure.
When you are running a software management system, such as Configuration Manager 2012.
When network bandwidth limitations inhibit electronic software distribution.
Full Infrastructure Model - The full infrastructure model provides for software distribution, management, and reporting capabilities; it also includes the streaming of applications across the network. The App-V 5.0 Full Infrastructure Model consists of one or more App-V 5.0 management servers. The Management Server can be used to publish applications to all clients. The publishing process places the virtual application icons and shortcuts on the target computer. It can also stream applications to local users. For more information about installing the management server see, Planning for the App-V 5.0 Server Deployment. The full infrastructure model is recommended for the following scenarios:
Důležité
The App-V 5.0 full infrastructure model requires Microsoft SQL Server to store configuration data. For more information see App-V 5.0 Supported Configurations.
When you want to use the Management Server to publish the application to target computers.
For rapid provisioning of applications to target computers.
When you want to use App-V 5.0 reporting.
End-to-end Server Sizing Guidance
The following section provides information about end-to-end App-V 5.0 sizing and planning. For more specific information, refer to the subsequent sections.
Poznámka
Round trip response time on the client is the time taken by the computer running the App-V 5.0 client to receive a successful notification from the publishing server. Round trip response time on the publishing server is the time taken by the computer running the publishing server to receive a successful package metadata update from the management server.
20,000 clients can target a single publishing server to obtain the package refreshes in an acceptable round trip time. (<3 seconds)
A single management server can support up to 50 publishing servers for package metadata refreshes in an acceptable round trip time. (<5 seconds)
App-V 5.0 Management Server Capacity Planning Recommendations
The App-V 5.0 publishing servers require the management server for package refresh requests and package refresh responses. The management server then sends the information to the management database to retrieve information. For more information about App-V 5.0 management server supported configurations see App-V 5.0 Supported Configurations.
Poznámka
The default refresh time on the App-V 5.0 publishing server is ten minutes.
When multiple simultaneous publishing servers contact a single management server for package metadata refreshes, the following three factors influence the round trip response time on the publishing server:
Number of publishing servers making simultaneous requests.
Number of connection groups configured on the management server.
Number of access groups configured on the management server.
The following table displays more information about each factor that impacts round trip time.
Poznámka
Round trip response time is the time taken by the computer running the App-V 5.0 publishing server to receive a successful package metadata update from the management server.
Factors impacting round trip response time | More Information |
---|---|
The number of publishing servers simultaneously requesting package metadata refreshes. |
|
The number of connection groups configured on the management server. |
|
The number of access groups configured on the management server. |
|
The following table displays sample values for each of the previous factors. In each variation, 120 packages are refreshed from the App-V 5.0management server.
Scenario | Variation | Number of connection groups | Number of access groups | Number of publishing servers | Network connection type publishing server / management server | Round trip response time on the publishing server (in seconds) | CPU utilization on management server |
---|---|---|---|---|---|---|---|
Publishing servers simultaneously contacting management server for publishing metadata. |
Number of publishing servers |
|
|
|
|
|
|
Publishing metadata contains connection groups |
Number of connection groups |
|
|
|
|
|
|
Publishing metadata contains access groups |
Number of access groups |
|
|
|
|
|
|
The CPU utilization of the computer running the management server is around 25% irrespective of the number of publishing servers targeting it. The Microsoft SQL Server database transactions/sec, batch requests/sec and user connections are identical irrespective of the number of publishing servers. For example: Transactions/sec is ~30, batch requests ~200, and user connects ~6.
Using a geographically distributed deployment, where the management server & publishing servers utilize a slow link network between them, the round trip response time on the publishing servers is within acceptable time limits (<5 seconds), even for 100 simultaneous requests on a single management server.
Scenario | Variation | Number of connection groups | Number of access groups | Number of publishing servers | Network connection type publishing server / management server | Round trip response time on the publishing server (in seconds) | CPU utilization on management server |
---|---|---|---|---|---|---|---|
Network connection between the publishing server and management server |
1.5 Mbps Slow link Network |
|
|
|
|
|
|
Network connection between the publishing server and management server |
LAN / WIFI Network |
|
|
|
|
|
|
Whether the management server and publishing servers are connected over a slow link network, or a high speed network, the management server can handle approximately 15,000 package refresh requests in 30 minutes.
App-V 5.0 Reporting Server Capacity Planning Recommendations
App-V 5.0 clients send reporting data to the reporting server. The reporting server then records the information in the Microsoft SQL Server database and returns a successful notification back to the computer running App-V 5.0 client. For more information about App-V 5.0 Reporting Server supported configurations see App-V 5.0 Supported Configurations.
Poznámka
Round trip response time is the time taken by the computer running the App-V 5.0 client to send the reporting information to the reporting server and receive a successful notification from the reporting server.
Scenario | Summary |
---|---|
Multiple App-V 5.0 clients send reporting information to the reporting server simultaneously. |
|
Requests per second processed by the reporting server. |
|
Reporting Database. |
|
Calculating random delay:
The random delay specifies the maximum delay (in minutes) for data to be sent to the reporting server. When the scheduled task is started, the client generates a random delay between 0 and ReportingRandomDelay and will wait the specified duration before sending data.
Random delay = 4 * number of clients / average requests per second.
Example: For 500 clients, with 120 requests per second, the Random delay is, 4 * 500 / 120 = ~17 minutes.
App-V 5.0 Publishing Server Capacity Planning Recommendations
Computers running the App-V 5.0 client connect to the App-V 5.0 publishing server to send a publishing refresh request and to receive a response. Round trip response time is measured on the computer running the App-V 5.0 client. Processor time is measured on the publishing server. For more information about App-V 5.0 Publishing Server supported configurations see App-V 5.0 Supported Configurations.
Důležité
The following list displays the main factors to consider when setting up the App-V 5.0 publishing server:
- The number of clients connecting simultaneously to a single publishing server.
- The number of packages in each refresh.
- The available network bandwidth in your environment between the client and the App-V 5.0 publishing server.
Scenario | Summary |
---|---|
Multiple App-V 5.0 clients connect to a single publishing server simultaneously. |
|
Number of packages in each refresh. |
|
Network between the App-V 5.0 client and the publishing server. |
|
Poznámka
The publishing server CPU usage is always high during the time interval when it has to process simultaneous requests (>90% in most cases). The publishing server can handle ~1500 client requests in 1 second.
Scenario | Variation | Number of App-V 5.0 clients | Number of packages | Processor configuration on the publishing server | Network connection type publishing server / App-V 5.0 client | Round trip time on the App-V 5.0 client (in seconds) | CPU utilization on publishing server (in %) |
---|---|---|---|---|---|---|---|
App-V 5.0 client sends publishing refresh request & receives response, each request containing 120 packages |
Number of clients |
|
|
|
|
|
|
Multiple packages in each refresh |
Number of packages |
|
|
|
|
|
|
Network between client and publishing server |
1.5 Mbps Slow link network |
|
|
|
|
|
App-V 5.0 Streaming Capacity Planning Recommendations
Computers running the App-V 5.0 client stream the virtual application package from the streaming server. Round trip response time is measured on the computer running the App-V 5.0 client, and is the time taken to stream the entire package.
Důležité
The following list identifies the main factors to consider when setting up the App-V 5.0 streaming server:
- The number of clients streaming application packages simultaneously from a single streaming server.
- The size of the package being streamed.
- The available network bandwidth in your environment between the client and the streaming server.
Scenario | Summary |
---|---|
Multiple App-V 5.0 clients stream applications from a single streaming server simultaneously. |
|
Size of the package being streamed. |
|
Network between the App-V 5.0 client and the streaming server. |
|
The following table displays sample values for each of the factors in the previous list:
Scenario | Variation | Number of App-V 5.0 clients | Size of each package | Network connection type streaming server / App-V 5.0 client | Round trip time on the App-V 5.0 client (in seconds) |
---|---|---|---|---|---|
Multiple App-V 5.0 clients streaming virtual application packages from a streaming server. |
Number of clients. |
|
|
|
|
Size of each package being streamed. |
Size of each package. |
|
|
|
|
Network connection between client and App-V 5.0 streaming server. |
1.5 Mbps Slow link network. |
|
|
|
|
Each App-V 5.0 streaming server should be able to handle a minimum of 200 clients concurrently streaming virtualized applications.
Poznámka
The actual time to it will take to stream is determined primarily by the number of clients streaming simultaneously, number of packages, package size, the server’s network activity, and network conditions.
For example, an average user can stream a 100 MB package in less than 2 minutes, when 100 simultaneous clients are streaming from the server. However, a package of size 1 GB could take up to 30 minutes. In most real world environments streaming demand is not uniformly distributed, you will need to understand the approximate peak streaming requirements present in your environment in order to properly size the number of required streaming servers.
The number of clients a streaming server can support can be significantly increased and the peak streaming requirements reduced if you pre-cache your applications. You can also increase the number of clients a streaming server can support by using on-demand streaming delivery and stream optimized packages.
Combining App-V 5.0 Server Roles
Discounting scaling and fault-tolerance requirements, the minimum number of servers needed for a location with connectivity to Active Directory is one. This server will host the management server, management server service, and Microsoft SQL Server roles. Server roles, therefore, can be arranged in any desired combination since they do not conflict with one another.
Ignoring scaling requirements, the minimum number of servers necessary to provide a fault-tolerant implementation is four. The management server, and Microsoft SQL Server roles support being placed in fault-tolerant configurations. The management server service can be combined with any of the roles, but remains a single point of failure.
Although there are a number of fault-tolerance strategies and technologies available, not all are applicable to a given service. Additionally, if App-V 5.0 roles are combined, certain fault-tolerance options may no longer apply due to incompatibilities.
Got a suggestion for App-V?
Add or vote on suggestions here. For App-V issues, use the App-V TechNet Forum.
Viz také
Koncepty
App-V 5.0 Supported Configurations
Planning for High Availability with App-V 5.0
Další materiály
-----
You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.
-----