Single-click Installation of eG Agent on Individual AVD Session Hosts
This approach is ideal if you want to install eG agents on specific AVD session hosts in a host pool, and not on all of them.
The broad steps to achieve this are as follows:
-
Create the agent installation script
-
Run the installation script on the target AVD session hosts
The procedure below includes all the steps mentioned above.
-
Login to the admin portal of the Nerdio Manager.
-
Figure 13 will then appear.
-
To create the agent installation script, first. expand the SCRIPTED ACTIONS node in the left panel, and click on the Windows scripts option within. The right panel will then change as depicted by Figure 14. Click on the Add scripted action button in the right panel to add a new script.
-
Figure 15 will then appear. Here, provide a unique NAME for the new script.
Figure 15 : Assigning a NAME to the new agent installation script
-
Then, proceed to configure the entire agent installation script in the SCRIPT text area of Figure 15. For that, using another browser tab page, connect to the eG manager to which the eG agents on AVD session hosts should report. Login to the admin interface of the eG manager. Figure 16 will then appear.
-
Click on the button indicated by Figure 16 above. Figure 17 will then appear. Click on Microsoft AVD Session Hosts in Figure 17.
Figure 17 : Choosing to discover/monitor Microsoft AVD Session Hosts
-
This will open Figure 18. Select Command Line as the Installation Method. Then, pick an Operating System and Environment that match the OS and flavor of the session hosts on which the agent is to be installed. The agent installation PowerShell script that corresponds to your specification will then be displayed. Click on the Copy button below the script.
Figure 18 : Copying the agent installation PowerShell script
-
Then, switch back to Figure 15 of the Nerdio Manager , and paste the copied script in the SCRIPT text area (see Figure 19). Finally, click the Save & close button in Figure 19.
-
Now, proceed to run this script on target AVD session hosts. For that, first, click on the WORKSPACES node in the left panel of Figure 14. The right panel will change as depicted by Figure 21.
Figure 20 : List of workspaces
-
Click on the workspace that contains the host pools of interest to you. By default, the Dynamic host pools in the chosen workspace will be listed (see Figure 21).
-
Let us say that the AVD session hosts to be monitored are within Static host pools. In this case, click on the Static host pools option under WORKSPACES in the left panel of Figure 21. This will open Figure 22.
-
Click on the static host pool that contains the target AVD session hosts.Figure 23 will then appear, displaying the AVD session hosts in the chosen pool.
Figure 23 : The list of AVD session hosts in the static host pool
-
To install the eG agent on any of the session hosts displayed therein, first, click on the down arrow button adjacent to the Power off button corresponding to that session host. From the menu that pops out, select the Run script option (see Figure 24).
Figure 24 : Running the eG agent installation script on an AVD session host
-
Figure 25 will then appear. From the 'Run the following Scripted actions . . .' drop-down, select the agent installation script you created previously.
-
Finally, click the Run now button in Figure 25.
-
Now, repeat steps 12-15 on every AVD session host on which you want the agent deployed.