Planning for High Availability with App-V 5.1
Microsoft Application Virtualization (App-V) 5.1 system configurations can take advantage of options that maintain a high level of available service.
Use the information in the following sections to help you understand the options to deploy App-V 5.1 in a highly available configuration.
Support for Microsoft SQL Server clustering
You can run the App-V Management database and Reporting database on computers that are running Microsoft SQL Server clusters. However, you must install the databases using scripts.
For 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 to configure a highly available environment for computers running the App-V 5.x Management, Publishing, and Reporting services which are deployed through IIS.
Review the following for more information about configuring IIS and Network Load Balancing for computers running Windows Server operating systems:
Configuring Microsoft Windows Server
This information also applies to IIS Network Load Balancing (NLB) clusters in Windows Server 2008, Windows Server 2008 R2, or Windows Server 2012.
Note
The IIS Network Load Balancing functionality in Windows Server 2012 is generally the same as in Windows Server 2008 R2. However, some task details are changed in Windows Server 2012. For information on new ways to do tasks, see Common Management Tasks and Navigation in Windows Server 2012 R2 Preview and Windows Server 2012.
Support for clustered file servers when running (SCS) mode
Running App-V 5.1 in Share Content Store (SCS) mode with clustered file servers is supported.
The following steps can be used to enable this configuration:
Configure App-V 5.1 to run in client SCS mode. For more information about configuring App-V 5.1 SCS mode, see How to Install the App-V 5.1 Client for Shared Content Store Mode.
Configure the file server cluster configured in both the Microsoft Server 2012 scale out mode and pre 2012 mode with a virtual SAN.
The following steps can be used to validate the configuration:
Add a package on the publishing server. For more information about adding 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 5.1 client and open an application.
Switch cluster nodes mid-publishing refresh and mid-streaming to ensure fail-over works correctly.
Review the following for more information about configuring Windows Server Failover clusters:
Support for Microsoft SQL Server Mirroring
Using Microsoft SQL Server mirroring, where the App-V 5.1 management server database is mirrored utilizing two SQL Server instances, for App-V 5.1 management server databases is supported.
Review the following for more information about configuring Microsoft SQL Server Mirroring:
How to: Prepare a Mirror Database for Mirroring (Transact-SQL)
Establish a Database Mirroring Session Using Windows Authentication (SQL Server Management Studio)
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 5.1 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 will only help when the primary on the mirror has failed over to the secondary and the computer running the App-V 5.1 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 topic describes how to change the Windows registry by using Registry Editor. If you change the Windows registry incorrectly, you can cause serious problems that might require you to reinstall Windows. You should make a backup copy of the registry files (System.dat and User.dat) before you change the registry. Microsoft cannot guarantee that the problems that might occur when you change the registry can be resolved. Change the registry at your own risk.
Login 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>.
Restart management service using the IIS console.
Note
Database Mirroring is on the list of Deprecated Database Engine Features for Microsoft SQL Server 2012 due to the AlwaysOn feature available with Microsoft SQL Server 2012.
For more information, see the following articles:
How to: Prepare a Mirror Database for Mirroring (Transact-SQL).
How to: Configure a Database Mirroring Session (SQL Server Management Studio).
Establish a Database Mirroring Session Using Windows Authentication (SQL Server Management Studio).
Support for Microsoft SQL Server Always On configuration
The App-V 5.1 management server database supports deployments to computers running Microsoft SQL Server with the Always On configuration.