login vsi company logo login vsi company logo 250x40
header-02.jpg

normal RHEV VDI

  • s4v0
  • s4v0's Avatar Topic Author
19 Nov 2013 00:35 #1493 by s4v0
s4v0 created the topic: RHEV VDI
Login VSI Version: 4.0.7.162
Test system: Red Hat Enterprise Virtualization 3.2
Operating system version target: Windows 7
Operating system version launcher(s): Windows 7
Office version target: Office 2010

Hello,

I would like to utilize LoginVSI to load test Red Hat Enterprise Virtualization VDI environments. I was wondering if anyone provide assistance for getting this type of testing scenario in place? I saw that LoginVSI was used in a white paper put together by Red Hat:

www.principledtechnologies.com/Red%20Hat/RHEV_sizing_0812.pdf

What do I need to do for RHEV VDI testing? Use a custom csv file? Can you provide me an example file? Also, once I verify that I can benchmark my VDI cluster with the Express config, I am going to need to purchase an license upgrade to get up to at least 250 users. Maybe higher depending on what the price looks like.

Thanks!

Please Log in to join the conversation.

More
19 Nov 2013 00:39 #1494 by d.geerlings
d.geerlings replied the topic: RHEV VDI
Mike,

The idea is that you need to have a command line method of connecting to the environment. Does the SPICE client offer a command line method of connecting a user to the environment? If so then we can test it.

I don't know how Principled Technologies connected to the environment but it must be possible :)

Please Log in to join the conversation.

  • s4v0
  • s4v0's Avatar Topic Author
19 Nov 2013 01:00 #1495 by s4v0
s4v0 replied the topic: RHEV VDI
Dennis,

When you log in to the RHEV User Portal and launch a console, behind the scenes, the RHEV Manager knows what hypervisor system that your target virtual desktop is running on and what port it is using. That information is passed back to IE, which then launches "%APPDATA%\Local\virt-viewer\bin\virt-viewer.exe" with the appropriate connection information, as well as AD credentials to do single sign-on. I've started doing some session tracing with Fiddler...looks like IE does a POST of a application/json type to a web service on the RHEV Manager system. Might have to so something similar...I'm familiar with Python, maybe I can put together some code that can perform the same type of POST to the RHEV Manager and get back the connection information that I would need to pass along to the virt-viewer executable?

Thanks for the quick response!

Please Log in to join the conversation.

More
19 Nov 2013 01:03 #1496 by d.geerlings
d.geerlings replied the topic: RHEV VDI
Alternatively you can write a Python (or different language) script that simply automates IE? We do something similar for the Citrix web interface. It is not ideal due to timing issues etc but it works.

Please Log in to join the conversation.

  • s4v0
  • s4v0's Avatar Topic Author
26 Nov 2013 19:28 #1507 by s4v0
s4v0 replied the topic: RHEV VDI
Dennis,

Current status....I wrote a Python script that allows you to pass the name of the target Windows desktop VM that you want to login to. The script then grabs all of the things it needs via the RHEV RESTful API and passes all of that over to remote-viewer.exe which established a Spice session to the hypervisor where the Windows desktop VM is running. Then, installed Python on a launcher to test and I can get the test scenario tool to launch a remote-viewer session to a Windows virtual desktop system. However, I don't think the current iteration of remote-viewer allows the passing of the Windows AD SSO credentials as part of the launch of the remote-viewer session (or at least if it does, I can't figure out how to do it as of yet). Over on the launcher machine, the remote session is sitting at the Windows login screen. Once I logged in the LoginVSI test user, the workload session became active and I can see Word being opened, web sites being visited, etc. Is there a way to add the login of the user to the scripting? Can it be added to basephase.txt? Or some other way?

Thanks in advance for your assistance. Greatly appreciated!

Please Log in to join the conversation.

  • s4v0
  • s4v0's Avatar Topic Author
27 Nov 2013 08:15 #1508 by s4v0
s4v0 replied the topic: RHEV VDI
Progress! Researching the SSO issue, I came across this Bugzilla entry: bugzilla.redhat.com/show_bug.cgi?id=955261

"Otherwise you can use vdsClient to pass desktopLogin to the guest parallel to the remove-viewer invocation."

I added some code that would first SSH to the hypervisor where the VM was running, and then execute the vdsClient desktopLogin command, passing the VM ID, Active Directory name, LoginVSI AD user and password. At that point, launching remote-viewer for the VM specified will SSO the LoginVSI AD user and the test workload begins.

Now to see about getting the test suite to iterate over multiple users...

Please Log in to join the conversation.

More
27 Nov 2013 22:24 #1513 by d.geerlings
d.geerlings replied the topic: RHEV VDI
By testsuite you mean Login VSI?

You can do that by adding [count] to the command line. The VSI launcher agent will replace {count} with the current session number. For example.

Command line:
MyExecutable.exe /username Testuser{count}

Will result in the following command lines being executed by the agent:
MyExecutable.exe /username Testuser1
MyExecutable.exe /username Testuser2
MyExecutable.exe /username Testuser3
MyExecutable.exe /username Testuser4
etc

If you need to format the number use the following format
MyExecutable.exe /username Testuser{count/n}
Where n is the number of digits the number needs to have at minimum. For example:
MyExecutable.exe /username Testuser{count/3}

results in
MyExecutable.exe /username Testuser001
MyExecutable.exe /username Testuser002
...
MyExecutable.exe /username Testuser100
MyExecutable.exe /username Testuser101
...
MyExecutable.exe /username Testuser1000

Makes sense?

Please Log in to join the conversation.

  • s4v0
  • s4v0's Avatar Topic Author
27 Nov 2013 22:52 #1514 by s4v0
s4v0 replied the topic: RHEV VDI
Yes, it does make sense. I found the examples on the online documentation. I ended up using this method...

MyExecutable.exe /username Testuser{count/3}

I have run four 50 session tests today and my RHEV VDI environment yawned at the load. I think I'm ready to "go Pro" :)

I've sent a couple e-mails to vsi at loginvsi.com asking for more information on how to purchase the Pro version, however, I haven't received a response as of yet. Would I be better off submitting a request for a quote here? www.loginvsi.com/price-request

Thanks!

Please Log in to join the conversation.

What our customers are saying

Rob Girard - Tintri

"You would be somewhat nuts to go to production with VDI without first and constantly re-evaluating with Login VSI. Always run all your changes through it so there are no surprises. Surprises in VDI never just hit one or two users--it's all or nothing.”

Rob Girard, Technical Marketing Engineer at Tintri


Chris Gebhardt - NetApp

“We use Login VSI to make sure that what we are recommending to our customers is much better than what their guesses are. Because if you don't do proper assessment and if you don’t use Login VSI, your architecture is just a guess.”

Chris Gebhardt, Senior Technical Marketing Engineer at NetApp


Michael Bernas - Workers' Compensation Board Alberta

“We've used Login VSI for the past 3 years as part of our Disaster Recovery Exercise. It's not only helped us in validating the functionality of our Citrix XenApp farm, but it's also been an invaluable tool in proving the number of concurrent connections into the environments. It’s allowed us to take our theoretical numbers and put actual real life data behind them.”

Michael Bernas, Workers' Compensation Board of Alberta

Login VSI, Inc.

300 Tradecenter

Suite 3460
Woburn, MA 01801

Phone: +1 844 828 3693

Login VSI B.V.

De Entree 85
1101 BH Amsterdam
The Netherlands

Phone: +31 20 705 1200