Tutorial: Create a host pool to validate service updates
This content applies to Windows Virtual Desktop with Azure Resource Manager Windows Virtual Desktop objects. If you're using Windows Virtual Desktop (classic) without Azure Resource Manager objects, see this article.
Host pools are a collection of one or more identical virtual machines within Windows Virtual Desktop environment. We highly recommend you create a validation host pool where service updates are applied first. This allows you to monitor service updates before the service applies them to your standard or non-validation environment. Without a validation host pool, you may not discover changes that introduce errors, which could result in downtime for users in your standard environment.
To ensure your apps work with the latest updates, the validation host pool should be as similar to host pools in your non-validation environment as possible. Users should connect as frequently to the validation host pool as they do to the standard host pool. If you have automated testing on your host pool, you should include automated testing on the validation host pool.
We recommend that you leave the validation host pool in place to test all future updates.
Windows Virtual Desktop with Azure Resource Management integration currently has trouble enabling and disabling validation environments. We'll update this article when we've resolved the issue.
Before you begin, follow the instructions in Set up the Windows Virtual Desktop PowerShell module to set up your PowerShell module and sign in to Azure.
Create your host pool
You can create a host pool by following the instructions in any of these articles:
Define your host pool as a validation host pool
Run the following PowerShell cmdlets to define the new host pool as a validation host pool. Replace the values in brackets with the values relevant to your session:
Update-AzWvdHostPool -ResourceGroupName <resourcegroupname> -Name <hostpoolname> -ValidationEnvironment:$true
Run the following PowerShell cmdlet to confirm that the validation property has been set. Replace the values in brackets with the values relevant to your session.
Get-AzWvdHostPool -ResourceGroupName <resourcegroupname> -Name <hostpoolname> | Format-List
The results from the cmdlet should look similar to this output:
HostPoolName : hostpoolname FriendlyName : Description : Persistent : False CustomRdpProperty : use multimon:i:0; MaxSessionLimit : 10 LoadBalancerType : BreadthFirst ValidationEnvironment : True
Enable your validation environment with the Azure portal
You can also use the Azure portal to enable your validation environment.
To use the Azure portal to configure your validation host pool:
- Sign in to the Azure portal at https://portal.azure.com.
- Search for and select Windows Virtual Desktop.
- In the Windows Virtual Desktop page, select Host pools.
- Select the name of the host pool you want to edit.
- Select Properties.
- In the validation environment field, select Yes to enable the validation environment.
- Select Save. This will apply the new settings.
Service updates happen monthly. If there are major issues, critical updates will be provided at a more frequent pace.
If there are any service updates, make sure you have at least a small group of users signing in each day to validate the environment. We recommend you regularly visit our TechCommunity site and follow any posts with WVDUPdate to stay informed about service updates.
Now that you've created a validation host pool, you can learn how to use Azure Service Health to monitor your Windows Virtual Desktop deployment.