Forum Discussion
How to add a new host to WVD hostpool?
- May 23, 2019You should find your answer here: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell
Scroll down to the section create virtual machines for the host pool.
EvdL99 I tryed it, too. Didn't work...
The steps i've made are:
- Create a VM with the same image as the other VM
- Join VM to Domain
- Installed WVDA and entered token from Export-RdsRegistrationInfo
- Installed WVDABootloader
When i try to login via RD-App (original VM off) it says "no available resources". Shouldn't the VM be addet to the AvailabilityGroup in the ResourceGroup or at least the loadbalancer somehow?
W_Palm : Can you go to PowerShell and run Get-RdsSessionHost for your host pool? Can you see if your session host VM is listed there?
- BraguzzDec 06, 2019Brass Contributorsome steps in this direction? I'd like to create an master image from a WVD and then reuse tat image for other VMs but no way to switch the new WVD to other HostPoolName ....
- Christian_MontoyaDec 06, 2019Microsoft
Braguzz : Is the use case to "expand" the host pool with a few more VMs based on the same image? Or is it to "replace" the host pool with a new number of VMs based off a new image?
To "Expand":
- Re-run the Provision a host pool Azure Marketplace offering or Create and provision WVD host pool GitHub ARM template.
- Use the same "rdshNamePrefix".
- For the number of VMs, enter the new total you would like to have. If you are expanding from 3 VMs to 5 VMs, enter 5.
To replace:
- You can run the Update existing host pool GitHub ARM template (entering the details for the updated image). or
- You can run the create templates but provide a new "rdshNamePrefix"( Provision a host pool Azure Marketplace offering or Create and provision WVD host pool GitHub ARM template) then later remove the old VMs
- stevenzelenkoJan 08, 2020Brass Contributor
Christian_Montoya Hi Christian. I have tried three different ways to add servers to a host pool. It seems as though it is consstantly failing because of a conflict and I'm assuming because there is another computer there that it's trying to re-create with the same name? Not sure. But I've tried manually, Provision a host pool and the arm template and I cannot add more servers to the pool. This iis essential as we are ready to increase this to a wider audience so we will need to get specifics down on how to expand these pools. Thank you for your help.
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n \"error\": {\r\n \"code\": \"PropertyChangeNotAllowed\",\r\n \"message\": \"Changing property 'imageReference' is not allowed.\",\r\n \"target\": \"imageReference\"\r\n }\r\n}"}]}
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"DeploymentFailed\",\r\n \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"Conflict\",\r\n \"message\": \"{\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"PropertyChangeNotAllowed\\\",\\r\\n \\\"message\\\": \\\"Changing property 'imageReference' is not allowed.\\\",\\r\\n \\\"target\\\": \\\"imageReference\\\"\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}