login vsi company logo login vsi company logo 250x40

 

Get the best possible VDI performance, density and availability with Login VSI
Our Solutions

Debugging Login PI Workloads

Debugging Login PI Workloads

Login PI offers two out of the box workloads to monitor your virtualized desktop environment from the perspective of an end-user. These workloads use the same applications as your regular users like native Windows and Microsoft Office apps, but it’s also possible to customize the workloads. When you create a new workload in Login PI you can run into several issues. In this blog I will provide some tips and tricks to debug your customized workloads.

There are usually three common issues with workload errors, from a simple typo, to focusing on the wrong window or using the wrong parameters. By default Login PI generates warnings to help you isolate the issues in the workload. These warnings can be found in the Windows Event Viewer, Login PI web interface but also on the console of the launcher itself.

1. Event Viewer

Typos can be easily located by opening the Event Viewer and clicking on “PI – Alerts”. In the example below I wrote “MSPaint.ex” instead of “MSPaint.exe”. This is just a small typo but it will definitely cause errors in your workload.

debugging login pi workloads event viewer

Alerts in the Event Viewer

2. Login PI Dashboard

In the Login PI Dashboard you can find alerts that indicate that the workload is focusing on the wrong window. In this case I have misconfigured the title of the Calculator. Instead of using Calculator I used “Calculating”. The timeout appears in the Alerts Panel of the dashboard.

debugging login pi workloads alerts panel

Alerts in the Login PI Dashboard (logname/executable/title)

3. Console on the Launcher

An error like “Invalid parameter count” is visible in the console on the launcher.

debugging login pi workloads console on the launcher

Invalid parameter count in the console on the launcher

Workload Debugging

These three places will help you to locate the root cause of the most common workload issues, but sometimes these warnings require additional information. To gather more details about what Login PI is doing you can enable Engine and Workload debugging. This can be enabled in the database:

1. Open the MS SQL Management Studio and go to the Login PI database.

2. Edit the table dbo.WorkloadSettings

debugging login pi workloads dbo workloadsettings

3. Change the EngineDebug and WorkloadDebug value to true

debugging login pi workloads enginedebug workloaddebug true

After enabling debugging, the Login PI engine will be displayed in red instead of green within the session. During the session Login PI will now write all actions into the debug folder. The debug folder can be found in the temp directory of the virtual user (%Temp%\PI\DebugLogging).

debugging login pi workloads console on the launcher debug status bar

The default status bar and with debugging enabled

In case you are not able to locate a workload issue with debugging enabled, our support team is always willing to help you!

 


 

Start using Login VSI today

Our industry-standard software is built to help you avoid problems, lower costs and improve performance. Request a Quote or get your free Trial below, and benefit from our award-winning services.

Free Price Request  Your Free Trial

 


About the company Login VSI

The company Login VSI provides end-user performance insights for virtualized desktop and server-based computing environments. Enterprise IT departments use flagship product Login VSI (for load testing) and Login PI (for continuity testing) in all phases of their virtual desktop deployment—from planning to deployment to change management—to build and safeguard a good performance, a high availability, and (as a result) a good and consistent end-user experience. For more information about Login VSI or for a free test license contact us.

About the author

Jasper Geelen (@jaspergeelen) has a background in ICT and joined Login VSI as a pre-sales engineer in 2015. He loves drinking a lot of coffee (some might call him an addict). In his spare time, Jasper enjoys a beer and he is part of a football / soccer team. He also coaches a team of younger football players.


Tags: How-to, Login PI, Workloads, Best Practices, Support

Popular Blogs

Login VSI Blog - Ongoing Effects CPU Flaws

The Ongoing Effects of Intel CPU Flaws

The Ongoing Effects of Intel CPU Flaws Over the last year, we’ve seen many Intel CPU hardware flaws come to light and when news first broke about Meltdown & Spectre there was a lot of panic: "should we patch?", "What’s the performance impact?", "Can we still rely on this hardware?" Continue Reading
Login VSI Blog - Updating to Windows 10 1903? Make Sure to Test!

Updating to Windows 10 1903? Make Sure to Test!

Updating to Windows 10 1903? Make Sure to Test! It’s that time of the year again. Microsoft have released their spring update and the first IT-Pro’s are getting ready to move their VDI environment over. Continue Reading
Login AT Express offers Application Compatibility Testing for up to 50 applications for FREE

[Press Release] Login VSI introduces free license for award winning solution, Login AT

Login AT Express offers Application Compatibility Testing for up to 50 applications for FREE Atlanta, USA, May 22, 2019: Login VSI, the industry standard for VDI and SBC performance testing, announced today the availability of a new, free version of Login AT for Bulk Application Compatibility Testing. Continue Reading
Login VSI Blog - LVTE 2109 - Technology Advocates & Experts

Login VSI Technology Advocates and Experts 2019

About a year ago Login VSI, the industry standard in VDI performance testing, announced a new program Recognizing those individuals that have built and displayed extensive knowledge of the Login VSI software solutions, and visibly contribute to the End-User Computing (EUC) Community. Continue Reading
Introducing Login PI 3.4

Introducing Version 3.4 of Login PI

What’s New & Different - Introducing Version 3.4 of Login PI We've updated Login PI, the benchmark in unplanned-change and gradual-deterioration detection for VDI. New features include improving the way information is collected & distributed, the way customized workloads are created & the way actual tests are executed. Continue Reading
Login VSI Blog - What's New in Login PI 3.5

What's New in Login PI 3.5?

What's New in Login PI 3.5? Netscaler, SLA Reporting, Event Logging features and so much more! At the end of June, we released a new version of Login PI 3 bursting with new features and enhancements. There are so many that I could write pages of blog about it, but let’s just keep it simple and focus on some of the big items. Continue Reading
Cookie Settings