Sharing my experience with LoginVSI test run in my lab

Login Virtual Session Indexer (Login VSI) | Version : Pro 3.6.1 | (Benchmarking VDI)

FEATURES

Designed for benchmarking Server Based Computing (SBC) and Desktop Virtualization (VDI) solutions such as XenDesktop, View, Hyper-V etc.

Load-stress/scalability testing  – Simulates an environment where  users work with the same applications as your average employee such as Word, Excel, Outlook and Internet Explorer.  Also, can add our own custom applications to the tests.
Platform-Independent  – hypervisor

  • Compatible with vSphere, XenServer, Microsoft RDS/Terminal Server
  • Connects using  different protocols such as RDP, PCoIP, ICA etc.
  • Compatibility List

Change Impact Analysis  – Predictive tool

  • Example: test/predict performance with/without GAVD (GPU-accelerated virtual desktop)

Capacity planning/hardware sizing – Helps to decide the optimal hardware configuration (right sizing), to support the desired number of users and applications.

ARCHITECTURE

lvsi1

The high-level architecture of Login VSI consists of four major components:

1. Active Directory: An Active Directory domain controller is required for user accounts and standard policies for accessing the virtual desktop.

2. VSI Share: The VSI file share is a central repository for the benchmarking tools configurations and logging.

3. VSI Launcher: The VSI launcher operates in a master and slave relationship to initiate simultaneous XenDesktop sessions. Multiple launchers are required to increase the number of virtual desktop connections per test.

4. Target Machine: The target machine is defined as the XenDesktop virtual desktops where the default user workload scripts are installed.

5. Analyzer: The analyzer converts the response time measurements taken by Login VSI into clear graphs and automatically calculates the VSImax.

KEY COMPONENTS

Active Directory
VSI Share
  • Share created on remote or local storage.
  • Full permission to launcher user
VSI Launcher
  • Launcher software
  • Client software – MS TS or Citrix ICA or View WSWC client
Target Machine Setup (preparing/modifying/tweaking master image for a seamless, uninterrupted VSI script run)
Analyzer
Add-ons
  • Citrix Web Interface Connector
  • Citrix XML ICA Connector
  • Virtualized Microsoft Outlook

Login VSI Launcher environment

Since Login VSI Launchers receive their configuration from the VSI Share, Citrix Provisioning Services can be configured to rapidly provision multiple VSI Launchers. When preparing the golden VSI Launcher image, ensure that the following configurations are in place:

Citrix Receiver – Flash prompt
–Disable this prompt by configuring Flash redirection through citrix policy in AD
vsi13
Printer Policy
–Either disable local printer map OR remove all local printers
Active Desktop Ratio
–Ideal is 40-45 sessions per launcher
–Consequence of over-commit is Citrix Receiver hangs due to insufficient resources/bandwidth.
More Information:
Printer Policy: A XenDesktop policy should be created to not map the locally connected printer, or all local printers have to be removed from the launcher.
Active Desktop Ratio: It is possible to overload the launcher system if it is running too many active sessions. The session capacity is dependent on the launcher system configuration. Citrix has successfully executed testing with a range of 20-40 sessions on a single launcher. To accurately gauge the ideal ratio of active sessions suitable for an individual launcher, it is best to actively monitor the launchers to ensure that they functioning properly and are not overloaded.

LoginVSI workload Environment (Target machine/Virtual Desktop)

Disable Pop Ups using AD/citrix policy or sometimes from the registry(master image)
First-time application prompts during startup such as,
–“Welcome to your Citrix XenDesktop” screen
–Microsoft OneNote
–Adobe Product Improvement Program
–Adobe Reader EULA
–Welcome to Microsoft Office 2010
Ensure BullZip is the default printer

Type of VSI Workloads

Image

Graphical overview – Medium VSI workload

Image
Image

VIEW benchmarking Config/commands

Environment Tested:  1 ESXi 5.1 hosting 13 view virtual desktops

Launcher Settings

Auto start launcher = ON

Launch type = Sequential (parallel can also be used)

Auto logoff = ON

Auto logoff timeout = 120 seconds

Connection type = Custom Commandline with CSV = \\<<loginvsishare path>>\launch.cmd %CSV_pool%

Where,

launch.cmd = “C:\Program Files\VMware\VMware View\Client\bin\wswc.exe” -serverURL <view connection server FQDN> -domainName <name of the domain> -desktopProtocol PCoIP /novmwareaddins -Standalone -logInAsCurrentUser False –username  –password ******* -desktopLayout windowsmall -desktopname %1

%CSV_pool% = \\<<loginvsishare path>>\user.csv , contains the display name (as it appears in View Administrator) of view desktops

Simulated LoginVSI username =

Interval Settings

Sessions = 13 (i.e. 13 view virtual desktops have been benchmarked)

Start number = 1

Interval = 30 seconds

XenApp benchmarking Config/commands

Launcher Settings

Auto start launcher = ON

Launch type = Sequential (parallel can also be used)

Auto logoff = ON

Auto logoff timeout = 120 seconds

Connection type = Custom Commandline with CSV = \\<<loginvsishare path>>\launch.cmd %CSV_User%

Where,

launch.cmd = “\\loginvsixpr01\VSIShare\ICAConnect\ICAConnect.exe” /server <XenApp server name> /user %CSV_User% /password <password> /domain <domain name>

%CSV_User% = \\<<loginvsishare path>>\user.csv , contains the list of users (User1,User2,..UserN)

•Interval Settings

Sessions = 13 (i.e. 13 XenApp  user  sessions)

Start number = 1

Interval = 30 seconds

Note: Either you can truncate the command line into a batch/cmd file  OR just copy-paste the entire command  into the  connection type field in the Launcher Management Console (GUI). Sometimes script errors due to the length of the  command line.

XenDesktop benchmarking Config/commands

•Launcher Settings

Auto start launcher = ON

Launch type = Sequential (parallel can also be used)

Auto logoff = ON

Auto logoff timeout = 120 seconds

Connection type = Custom Commandline with CSV

\\<<loginvsishare path>>\CTXConnect\CTXConnector.exe” -s   “<web interface URL>  -u “%CSV_User%” -p “%CSV_Password%” -d “<domain name>” -r “%CSV_Resource%” -t1 5 -t2 5 –debug

Where,

%CSV_User% =  contains the list of usernames(User1,User2,..UserN)

%CSV_Password% = contains the passwords for users (User1,User2…)

%CSV_Resource% = contains the display name as it appears in the XenDesktop web interface page.

The CSV file format should be like below: (Multiple Desktop with multiple users)

Resource,User,Password

My XenDesktop (1),User1,Password1

My XenDesktop (2),User2,Password2

My XenDesktop (3),User3,Password3

My XenDesktop (4),User4,Password4

So on…

•Interval Settings

Sessions = 13 (i.e. 13 XenApp  user  sessions)

Start number = 1

Interval = 30 seconds

Note: Either you can truncate the command line into a batch/cmd file  OR just copy-paste the entire command  into the  connection type field in the Launcher Management Console (GUI). Sometimes script errors due to the length of the  command line.

Advertisements

About cloudray

Predominantly based around Virtualization, but will include other technology related information and anything else I find interesting and feel the need to share with you. I also use this Blog as both a place to store useful information that I think that will come in handy to me at some point in the future, and also a place to help aid my learning. I find a great way to learn about something is to research about it and then write it up in my own words. I'm Pushpal Ray, from India. As a certified VCP3/4/5 professional, I am currently working as an Independent Consultant. Over 10 years of IT-industry experience, currently focused around the Desktop Virtualization(End-User Computing). I also have extensive experience in Windows Administration, Datacenter Migration, Workload profiling & benchmarking. At my leisure, I enjoy hiking, running, photography, spend hours in my fav coffee shop & spend quality time with my wife. Occasionally, catch up with few friends for a drink!
This entry was posted in Desktop Virtualization, VMware View, XenApp, XenDesktop and tagged , , . Bookmark the permalink.

One Response to Sharing my experience with LoginVSI test run in my lab

  1. Appreciate this post. Let me try it out.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s