ControlUp Advanced Monitoring for Horizon - Dynamically Tune User Experience with Automated Actions

In this quick walkthrough we're going show you how dynamically tune user experience with the user input delay metric and Automated Actions with ControlUp Advanced Monitoring for Horizon.

Overview


  • Section 1: Connect to all monitored resources.
  • Section 2: Focus on the TD-Windows10-Dallas folder then the Default Dashboard in the Machines View.
  • Section 3: Switch to local Horizon Client. Then double click on the icon for TD-WINDOWS10.
  • Section 4: Open the 3D drawing in Acrobat on the Windows 20 virtual desktop.
  • Section 5: Resize ControlUp Remote App window and Windows 10 window so you can see both on your screen.
  • Section 6: Rapidly rotate the 3D drawing to activate an automated action that raises the process priority and dynamically tunes user experience.

 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.

In the scenario, we are going to show a simple automated action. Automated actions work via our alerting system.  Triggers can be activated by a number of different scenarios, including when

  • the Stress level on an object hits a threshold.
  • when an individual metric hits a defined threshold.
  • when a specific Windows event is detected.
  • when a machine goes down.
  • when a process starts or stops.
  • when a specific user logs on or logs off.
  • when a session state changes.

The trigger and alert system can notify you via email, event log, smtp etc... when a trigger is activated. Automated actions adds the ability to also take an action when a trigger is activated. Here is a short video that explains Automated Actions.

In this scenario, we are going to run an automated action that automatically raises a process priority from "Normal" to "AboveNormal" when user input delay raises above a pre-defined threshold. In this scenario you will cause one of our Automated Actions to activate. This Automated Action is configured via a Trigger. The trigger is set up so that when the Process "AcroRd32.exe" reaches a a User Input Delay of 15 ms (this threshold is lower than you would use in a production environment for demo purposes), the Automated Action is raise the process priority of the "AcroRD32.exe process from "Normal" to "AboveNormal". You will see the Process Priority increase automatically then see the User Input Delay stay lower than it was previously. This demonstrates how ControlUp can help you dynamically tune user experience.

Here is a very short video example of this automation - Dynamically Tune UX with ControlUp Automation

 

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.

 TestDrive-Connect.png

Section 2: Focus on the TD-WINDOWS-Dallas folder then the Default Dashboard in the Sessions View.

In the left pane, right click on the upper most folder that is titled "TD-WINDOWS-Dallas" and select "Focus" in the context menu.

TestDrive_DynamicUX_Focus.png

In the central dashboard grid view, click on the "Sessions" object to view the Sessions in the Horizon environment.

TestDrive_Win10_SessionsView.png

Section 3: Switch to local Horizon Client. Then double click on the icon for TD-WINDOWS10.

Switch over to your local Horizon client. Then double click on the icon for TD-Windows10 to open a Windows 10 desktop.

 

TestDrive_HorizonClientApps.png

Section 4: Open the 3D drawing in Acrobat on the Windows 20 virtual desktop.

Once the Windows 10 desktop opens, click the Start menu, the select "mower_carb".

 

TestDrive_WIN10_mower_carb.png

If the "Start Tour" wizard opens up in Acrobat, click the "X" at the top right of the window to close it. Click the arrow on the right side of the left panel, to close that panel. You may have to click in the box to make the 3D drawing appear on the screen.

testDrive_Acrobat_mower_carb_opened.png

mceclip1.png

Section 5: Resize ControlUp Remote App window and Windows 10 window so you can see both on your screen.

Resize the ControlUp Remote app session window and the Windows 10 session window so both are visible on your screen.

mceclip3.png

In the ControlUp window, find your active Windows 10 session in the sessions view. You will see your TestDrive user name in the user field, and the machine name will begin with "TD-WIN10"

TestDrive_Win10_FindActiveSession.png

Double click on your active Win10 session to drill down to the Processes view for your Win10 session.

mceclip4.png

In the Home menu in ControlUp, select the User Input Delay Dashboard in the Column preset dropdown on the far right. You may have to widen the Horizon window to see this option on the far right. 

TestDrive_Win10_UserInputDelayDashboard.png

Click and drag the bottom scroll bar to view all the metrics in the dashboard view. Click and drag the "Priority" metric and the "User Input Delay" so both are next to the user field. You should see "AcroRd32.exe in the top two lines in the Processes view. Notice the process priority is at "Normal" and there is currently no User Input Delay.

mceclip5.png

You should now have both windows arranged so that you can both see the Windows 10 window with the 3D drawing open, and you can see both the Priority column and the User Input Delay column in ControlUp.

mceclip6.png

The next step is to click on the 3D drawing in the Windows 10 window, and very rapidly rotate and move it around in all directions. As you do this, you will begin to see the User Input Delay to rise above 15 ms. Because TestDrive has ample resources and no full time production users, it can be at times difficult to generate enough of a loud to keep User Input Delay high for more than a few seconds. If it takes you more than 10-20 seconds to to get the User Input Delay to rise to a high level, it may help to open the browser in the Windows 10 session to play a video on YouTube (it may help to open two tabs to play two videos at once or open a site such as www.fishgl.com  (use menu on left side to enable 200 or more fish)), then switch back to the 3D drawing and continue rapidly rotating the object.

Depending on your connection you may see it rise to several hundred ms as you rotate the drawing. Once the User Input Delay stay at a high level for a few seconds, you will see the process priority automatically change from "Normal" to "AboveNormal".

TestDrive_Win10_processPriority_AboveNormal.png

This demo highlights how you can leverage ControlUp's UX metrics such as User Input Delay and ControlUp Automated Actions to dynamically tune user experience.

 

 

Have more questions? Submit a request

Article is closed for comments.