Planning for high availability with App-V server
Applies to:
- Windows 10
- Windows 11
Microsoft Application Virtualization (App-V) system configurations can take advantage of options that maintain a high available service level.
The following sections will help you understand the options to deploy App-V in a highly available configuration.
Support for Microsoft SQL Server clustering
You can run the App-V Management and Reporting databases on computers running Microsoft SQL Server clusters. However, you must install the databases using scripts.
For deployment instructions, see How to deploy the App-V databases by using SQL scripts.
Support for IIS network load balancing
You can use Internet Information Services' (IIS) network load balancing (NLB) to configure a highly available environment for computers running the App-V Management, Publishing, and Reporting services that are deployed through IIS.
Review the following articles to learn more about configuring IIS and NLB for computers running Windows Server operating systems:
Achieving High Availability and Scalability - ARR and NLB describes how to configure IIS 7.0.
Network load balancing overview will tell you more about how to configure Microsoft Windows Server.
This information also applies to IIS NLB clusters in Windows Server 2008, Windows Server 2008 R2, or Windows Server 2012.
Note
The IIS NLB functionality in Windows Server 2012 is generally the same as in Windows Server 2008 R2. However, some task details have changed in Windows Server 2012. To learn how to work with these changes, see Common management tasks and navigation in Windows.
Support for clustered file servers when running SCS mode
Running App-V Server in Shared Content Store (SCS) mode with clustered file servers is supported.
To enable SCS mode configurations, follow these steps:
- Configure the App-V client to run in SCS mode. For more information, see Deploying the App-V Sequencer and Configuring the Client.
- Configure the file server cluster, configured in either the scale-out mode (which started with Windows Server 2012) or the earlier clustering mode, with a virtual SAN.
The following steps can be used to validate the configuration:
- Add a package on the publishing server. To learn how to add a package, see How to add or upgrade packages by using the Management console.
- Perform a publishing refresh on the computer running the App-V client and open an application.
- Switch cluster nodes mid-publishing refresh and mid-streaming to ensure failover works correctly.
Review the following articles to learn more about configuring Windows Server failover clusters:
Support for Microsoft SQL Server mirroring
With the Microsoft SQL Server mirroring being used, where the App-V management server database is mirrored utilizing two SQL Server instances, for App-V management server databases is supported.
Review the following to learn more about how to configure Microsoft SQL Server mirroring:
- Prepare a mirror database for mirroring (SQL Server)
- Establish a database mirroring session using Windows Authentication (SQL Server Management Studio) (FIX LINK)
The following steps can be used to validate the configuration:
- Initiate a Microsoft SQL Server Mirroring session.
- Select Failover to designate a new master Microsoft SQL Server instance.
- Verify that the App-V management server continues to function as expected after the failover.
The connection string on the management server can be modified to include failover partner = <server2>
. This modification will only help when the primary on the mirror has failed over to the secondary and the computer running the App-V client is doing a fresh connection (say after reboot).
Use the following steps to modify the connection string to include failover partner = <server2>
:
Important
This process involves changing the Windows registry with Registry Editor. If you change the Windows registry incorrectly, you can cause serious problems that might require you to reinstall Windows. Always make a backup copy of the registry files (System.dat and User.dat) before changing the registry. Microsoft can't guarantee that problems caused by changing the registry can be resolved, so change the registry at your own risk.
Log in to the management server and open regedit.
Navigate to HKEY_LOCAL_MACHINE \ Software \ Microsoft \ AppV \ Server \ ManagementService.
Modify the MANAGEMENT_SQL_CONNECTION_STRING value with the
failover partner = <server2>
value.Restart management service using the IIS console.
Note
Database Mirroring is on the list of deprecated database engine features in SQL Server 2012 due to the AlwaysOn feature available starting with Microsoft SQL Server 2012.
For more information, see the following articles:
- Prepare a mirror database for mirroring (SQL Server).
- Establish a database mirroring session using Windows Authentication (SQL Server Management Studio).
- Deprecated database engine features in SQL Server 2012.
Support for Microsoft SQL Server Always On configuration
The App-V management server database supports deployments to computers running Microsoft SQL Server with the Always On configuration. For more information, see Always On Availability Groups (SQL Server).