Cloud Engineer

Poskytuji služby v oblasti podnikových informačních systémů. Mým cílem je navrhnout a udržovat spolehlivou infrastrukturu informačních systémů, která pokrývá celou řadu požadavků stanovených IT strategií.

Consultancy Optimalisation Clouds

Add existing Azure VM to session host pool (Azure WVD)

There are two solutions how to add live VM to session host pool.

  1. Uninstall DCS extension on VMs

Uninstall DCS extension on VMs and run the deployment code (Terraform, Bicep) that installs DCS extension with a new registration.

  1. Reinstall Remote desktop agents with host pool token on VMs
    1. Download the registration key from Hostpool.
      1. Sign in to the Azure portal.
      2. In the search bar, type Azure Virtual Desktop and select the matching service entry.
      3. Select Host pools, then select the name of the host pool you want to generate a registration key
      4. Select Download to download a text file containing the registration key, or copy the registration key to your clipboard to use later. You can also retrieve the registration key later by returning to the host pool overview.
    2. Connect to VM and uninstall 2 agents:
      • Remote desktop agent boot loader
      • Remote desktop service infrastructure agent
    3. Download the Agent and the Agent Bootloader installation files using the following links
      1. Run the Microsoft.RDInfra.RDAgent.Installer-x64-<version>.msi file to install the Remote Desktop Services Infrastructure Agent.
      2. Follow the prompts and when the installer prompts for the registration token, paste it into the text box, which will appear on a single line. Select Next, then complete the installation.
      3. Run the Microsoft.RDInfra.RDAgentBootLoader.Installer-x64.msi file to install the remaining components.
      4. Follow the prompts and complete the installation.
      5. After a short time, the virtual machines should now be listed as session hosts in the host pool. The status of the session hosts may initially show as Unavailable and if there is a newer agent version available, it will upgrade automatically.
      6. Once the status of the session hosts is Available, restart the virtual machines.