Subscribe RSS Feed | Follow on Twitter

How to optimize a VMware View Installation

with 4 comments

During my vacation I got an interesting email from my colleague Valentin Allert who’s a EUC specialist in our region. I really like the information and want to share it with you.

As many of you know VMware View is the easiest VDI deployment on the market. Most companies have vSphere already in place and by installing one single virtual machine they can start to play around with view. Customers told me that they were able to install an environment without reading any documentation just by watching installing video from youtube. Basically that’s true, but If you having issues with performance or you install your images on the wrong way most companies don’t know where to start. So I wrote down some tweaks I’m doing after installing a pilot for customers, maybe a few of you find it useful to try them. In General these settings are valid since View 4.0 but if you have the chance deploy 5.1 the new View Storage Accelerator kicks ass.

There are at least four different areas where optimization can be applied:

  1. The virtual Machine settings on vSphere
  2. Inside the virtual machine
  3. Group Policy settings in Group Policy Management Console
  4. Pool settings in View Administrator

Virtual Machine settings:

  • Make sure your golden master is installed on the latest Hardware Version of your platform (double check if this version will work with local mode, if you want to use local mode)
  • Make sure your VM has an LSI SCSI Controller and not IDE boot device (especially important for XP because as a default setting IDE got chosen from vSphere Client)
  • If you want to have good Video performance maximize the Video RAM to 128 MB
  • If you want to have good HD Video performance make sure you have 2 vCPU

Inside the virtual Machine

A good running Golden Master Image is key for user acceptance. From my point of view it is the most critical part of a View installation. Unfortunately here most mistakes are made:

  • Try to avoid that your golden image is not coming from a software deployment tool, make a fresh installation from an windows isofile.
  • Install VMware Tools• Install VMware Agent
  • In our Windows Optimization Guide for Windows 7 you will find three Text files. http://www.vmware.com/files/pdf/VMware-View-OptimizationGuideWindows7-EN.pdf Rename them one of them into .bat and run the file which fits to your scenario:
    • If you are updating from an earlier Version and you want to use the same golden Image but want to activate VMware Persona Management only use CommandsDesktopsReadyForPersonaManagement.txto
    • If you have a fresh installation and a want to use VMware Persona Management use CommandsPersonaManagement.txt
    • If you have a fresh installation and don’t want to use VMware Persona Management use CommandsNoPersonaManagement.txto
    • If you want to use AERO with glass etc. you have to delete or REM the following lines in the script:
      • Powershell Set-Service ‘UxSms’ -startuptype “disabled”
      • Powershell Set-Service ‘Themes’ -startuptype “disabled”
  • I would always delete the second line though, otherwise the new View Desktop looks like Windows 3.11 which is not good for user acceptance.
  • Run the script as administrator (yes the right click runas command)
  • One settings is most important and unfortunately I couldn’t find a way to set this settings through GPOs:
  • You must have left Themes activated when running the optimization script (step before)• Log on as Administrator• Choose Windows 7 standard theme• Go to advanced settings->performance ->enable adjust for best performance but then activate the last point visual styles again:

NewImage

  • After that create a default user profile with that settings using tools like Windows enabler etc.
  • Create a snapshot and call it first optimization• Install the apps you want to have in your master Image
  • Create your final snapshot call it Master 1.0

Changes in Group Policy Management Console

  • Create an OU where you will deploy your View Clients• Create a Group Policy Object call it like it fits in your environment
  • Right click edit -> if you are pre 2008 using adm files go to computerconfiguration -> administrative templates ->right click import/export
  • Delete all default template out of the object
  • Import PCoIP adm files located on your View Server C:\Program Files\VMware\VMware View\Extras\Group Policy Files\

Configure the following settings:

  • Computer Settings -> administrative templates -> classic administrative settings -> PCoIP settings
  • Activate -> Not to build to losless – This settings prevents PCoIP from always build the picture to a lossless condition which is only used in graphical, healthcare or construction scenarios
  • Set Min picture quality 50 / max picture quality auf 70 / 24 Frames Because of the history of PCoIP we it uses 30 FPS as a default which is way to high if we consider that an Movie has 24 FPS
  • Disable AES 256 and Salsa encryption, if using 5.1 if you are using an older Version disable only Salsa because one of the encryptions has to be activated. 5.1 has three encryptions so you can disable two, earlier version have two encryptions so you can disable one.
  • Disable all features you do not need like maybe Audio or Clipboard
  • Do not play around with settings like bandwidth floor etc. PCoIP has a pretty behavior by itself. Without many rules it works best.

Pool Settings in View Administrator

A general design approach for Desktop which are not used by users whoa have local admin rights it should be always your goal to try to be able to refresh or delete your desktops after each logoff and to be 100% floating without having the user to suffer. In most projects this is a process and not possible in the first steps because the existing processes are based on fat client management which the opposite of floating and modular. But try it, if you can achieve it nothing can harm you from an administrative perspective because pools can grow and shrink full automatically.

When creating your first pool with linked clones make sure to have at least these settings, all other settings are depending on your use case:

  • If you are on vSphere 5.x and View 5.1 make sure you have the View Storage Accelerator enabled
  • If you have Video intense workload configure the pool with 4 monitors and max resolution (even if you don not need it)
  • If you have CAD, Google Earth or any other Direct X or OpenGL Apps activate 3D (if you do not have the option you have to disable –allow users to choose protocol-) if you still do not have the possibility to activate AERO inside of the Desktop you have to make sure that the script didn’t disable UXSMS and Themes services (Dirext X and Open GL are working anyway.)
  • Place your Replica on a SSD if you have, IF you have a tiering storage with a big cache make sure to create only one Replica place it on a small extra LUN (save time and space and the Replica will end up in the cache anyway)

Additional Infos

  • If you have bad performance after connecting to your desktop try chucks log viewer to see if packets gets dropped etc. try it out even if you do not have issues, it is very interesting to use http://mindfluxinc.net/?p=195
  • If that’s the case use the Teradici Network guide to see if your configuration is right
  • Use http://repurpose.vmwaredotg.com to create a View Client Image to boot old hardware)

Similar Posts:

    None Found

Written by Christoph Harding

July 23rd, 2012 at 8:28 am

Posted in VMware View

Tagged with , ,

  • Artur Krzywdzinski

    thanks for sharing, very informative

  • Mauro Balbiani

    Thanks, it’s a very interesting post.
    You said:
    create a default user profile with that settings using tools like Windows enabler . Ok, it’s clear but, at the end, what I have to do with this default user profile? How is it possible to apply it to all the desktops generated from this master image?

  • Dsf

    If you do not have roaming profile a new user gets an profile created out of the default user profile

  • ILOVEENTERPRISEDESKTOP

    Dude you know What I read a lot of blogs and work for EUC Products but you are the best THE BEST

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close