In this quick walkthrough we're going show you how you can use the script actions feature within ControlUp to do a health check on Horizon UAG connections from Horizon virtual machines. This script action connects to all pod's in a Cloud Pod Architecture(CPA) or only the local one if CPA hasn't been initialized and pulls all health information for configured UAG's.
- Section 1: Connect to all monitored resources.
- Section 2:Focus on the ControlUp-Demo-Targets folder.
- Section 3: Click on the "Machines" Object, then select all the virtual machines in this folder.
- Section 4: Run the "Get Horizon UAG Health" script action on multiple virtual machines all at once.
Before you Begin
In order to complete this product walkthrough please make sure you have the following:
- A valid account in the VMware TestDrive environment, sign up here if you do not have one.
- TCP & UDP ports 80, 443, 8443; and if using PCoIP, both TCP & UDP 4172
- Latest Horizon Client installed, available via direct download here.
- A ControlUp user account on TestDrive. See this article for info on how to access ControlUp on TestDrive and create an account.
Here is a short demo video of the steps in the steps in this walk through.
SECTION 1: Connect to all monitored resources.
Right Click on the TestDrive-vmwtd.com folder in the left pane, then select "Connect" in the context menu to connect to all the monitored resources.
Section 2: Focus on the ControlUp-Demo-Targets" folder.
In the left pane, right click on the upper most folder that is titled "ControlUp-Demo-Targets" and select "Focus" in the context menu.
Section 3: Click on the "Machines" Object, then select all the virtual machines in this folder.
In the center Dashboard view, click on "Machines" to view only the virtual machines in the ControlUp-Demo-Targets folder.
Next, click and drag your mouse down to the bottom of list to select all the virtual machines in this folder (or just type -Control-A to select all).
Section 4: Run the "Get Horizon UAG Health" script action on multiple virtual machines all at once.
Right click on any server name in the list. A context menu will appear.
In the search box, type "Horizon UAG Health". Then hover your mouse over "Script Actions", then when it appears, click on "Get Horizon UAG Health".
A command line arguments window will now appear. This allows you to enter the credentials required for this script action. As we are leveraging the shared credentials store, do NOT change anything and click "Ok".
You should see the results screen pop up next.
Because this Script Action was invoked and run on multiple machines at once, there may be multiple different results. ControlUp will group the results in this case. You can click on any Group on the left hand side of the window to see the specific results for each group.
This script action will list the following info:
- POD Name
- Gateway Name
- Gateway Address
- Gateway Zone
- Gateway Version
- Gateway Type
- Gateway Active
- Gateway Stale
- Gateway Contacted
- Gateway Active Connections
- Gateway Blast Connections
- Gateway PCOIP Connections