Translate

13/10/10

Installing & Configuring VMware View 4.5

INTRODUCTION
This is part 5 of a ten part series on Installing and Configuring VMware View 4.5. To read parts 1-4 click the following respective links.

In part two of this series I provided detailed instructions on installing and configuring all of the necessary components that make Local Mode work. I would like to expand upon that by sharing with you some of the typical management functions that you will want to accomplish in your environment.
There are a lot of services that need to work together to make local mode successful. For that reason, running local mode can be more complex to troubleshoot. Running desktops locally could be an advantageous feature for your environment but its use cases are certainly limited from my personal hands on experience with it.
I have tested running local mode in the following scenarios. Each one of these scenarios had slightly different results.
  • On my Home Computer
  • On my Work Computer
  • On my personal laptop
  • On my personal netbook
  • On a Wyse thin Laptop with a USB Stick
This Article will review the following Topics:
  • Use cases for Local Mode and their benefits
  • Best Practices
  • The Check-in/Checkout Process
  • Data Transfers
  • Managing the Transfer Server
  • The Transfer Repository
USE CASES FOR LOCAL MODE
  1. If you have a remote office that has slow or unreliable network access then running your clients offline may be your best bet.
    1. Please note that PCoIP is a decently clean protocol that doesn’t take up a lot of network bandwidth. Your best bet is to do some network testing before you think you’re WAN as unusable.
  2. You have laptop users that don’t connect to the network for weeks or months at a time.
    1. These are your road warriors typically consultants or sales staff that work on large projects and stay out of the office for extended periods of time.
  3. Reduce Datacenter costs
    1. If you force all of your users to download a local version of their desktop you don’t have to utilize potentially expensive resources in your datacenter like disk, memory, CPU, Network, etc.
  4. Work from Home
    1. Some of your employees may not have a home Internet connection, to that I say get out of the stone age and get Internet what are you waiting for! However, if this is still the case then employees could check out their desktops and continue to operate efficiently by doing work at home.

BEST PRACTICES
  1. Replicate the least amount of information during the check-in/checkout process. With View 4.5 you can replicate the OS data as well as persistent disks. My recommendation is to only replicate the persistent disks; this is the user profile information. If you need to make an update to the Virtual Machine it’s better to recompose the desktop pool.
  2. If your virtual machines are going to be run in local mode most of the time then setup the Virtual Machine so it’s using the least amount of resources possible. For instance, for Windows 7 VM you may only allocate 1.5 GB of memory and 1 CPU. When you run your virtual machine locally it will automatically adjust the amount of memory and CPU used based on the resource availability of the client computer.
  3. If you are using linked clones its best to have to your transfer repository on faster storage to improve performance.
  4. It’s a good idea to create a separate desktop pool for just local mode desktops. The reason being is you are unable to run any Thinapps while in local mode.
  5. If the network pipe between your client computer and Transfer Server is decently robust I would not recommend turning on de-duplication and compression. These two features will bring your client machine to a halt at times because they are so CPU and memory intensive. However, if your client machine has a very fast CPU and a good amount of memory it would be more advantageous to turn these two features on.

CHECK-IN & CHECKOUT
Checkout
The first time that you check out your virtual desktop for local use you will need to download the entire virtual desktop. A progress bar will be displayed with how many Megabytes or Gigabytes are left in the download.
A few events take place after you perform a check out. The virtual machine in the datacenter becomes locked so no one can sign into it because you have it checked out locally. Finally a copy of the virtual machine is downloaded. When you power on the local desktop for the first time some drivers are installed on the local desktop. During the installation of these drivers the local desktop’s performance is greatly impacted. A few times I actually thought the local desktop was frozen and I had to wait 5-7 minutes without touching anything before it became responsive again.
The amount of RAM dedicated to the local desktop depends on the resources of the client machine. The more RAM/CPU that your client machine has readily available then the more resources dedicated to your local desktop.
In order to secure your information the local desktop uses 128-bit AES encryption with the option of increasing it to 256-bit encryption. Furthermore, you can set a policy that states if the client loses contact with View Connection server after x amount of days then connection will be refused. The same goes for user access. For instance, when one of your employees leaves your company you probably do not want them to have access to their local desktops anymore. You can set a policy that forbids this user from signing in after the cache timer expires or data is synched from the connection server.
Edit Policies:
  1. Open View Administrator à Inventory à Pools à Double Click your Pool à Click the Policies Tab
  2. Click the Edit Policies button under the Local Mode Policies heading.
  3. If your Policies are inherited from the Global policy, simply drill down to Policies à Global Policies on the left hand navigation pane of VMware View Administrator. My policy settings are below. I have said that if the user doesn’t communicate with the connection server for 7 days they are unable to use their local desktop. Furthermore, I am also only replicating the persistent disk not the OS data to cut down on replication time.

For instructions on how to perform a check out please review Installing & Configuring VMware View 4.5: Part 2 – Configuring Local Mode





Check-in
When you check-in your local desktop is uploaded to the vCenter server and the lock is released. Future connections to your virtual desktop are routed through vCenter until you check-out the desktop again.

DATA TRANSFERS
In addition to checking-in and checking-out desktops you can periodically replicate your local desktop changes with the datacenter version of your virtual desktop. When a replication occurs, a snapshot of the local desktop is created and then the changes are replicated with the datacenter. When this snapshot is created the performance of the local desktop is impacted for about 60-90 seconds.
You can schedule replication times through policy or empower your end-users to initiate a replication. If there is no communication with the Connection Server during a scheduled replication then when the local desktop host machine regains network connectivity to the Connection Server a replication will occur. However, there can only be one pending replication at a time.
Replication Policies
You can either have the replication policies set globally, per pool, or per desktop. I am going to set my replication policies globally for testing purposes.
Please note that if the “Target Replication Frequency” is set to “No Replication” users can still initiate a replication on their own provided that option is set to “Allow”. If a scheduled replication takes longer than the interval time, the next replication will wait for the first one to finish. For instance, if an end user disconnects from the network during a replication process then when they connect again the first replication will finish before a new one starts.
  1. Open VMware View Administrator à Policies à Global Policies à
    Edit Policies under the Local Mode Policies heading
  2. Change the Target Replication Frequency to “At a specified Interval”
  3. Set the interval in minutes, hours or days and specify your setting. Furthermore, chose whether or not you want to allow your end-users to defer replication.

Initiate Replication
  1. To initiate a replication open VMware View Administrator à Monitoring à Local Sessions à Select your local checked out desktop à click the Initiate Replication button.
  2. You will then be prompted to start a replication, select Yes and click the OK button.

  3. Your local desktop performance may decrease for 60-90 seconds while the local snapshot is created.
  4. After a few minutes the backup process completes
  5. The last replication date has changed and the persistent disk (user profile) has been synched with the datacenter.

Roll Back a Locally Checked-Out Desktop
The roll back feature comes in handy if the local checked out desktop becomes corrupt, if a user loses his laptop with the local checked out desktop, or any other reasons prohibiting the user from signing into his local desktop per usual. When you initiate a roll back basically the locally checked out version is discarded and the lock is removed on the datacenter version of the desktop. This allows the user to sign back into their desktop through vCenter or check the desktop out on a different laptop.
If a roll back is initiated and a user is logged into the checked out desktop their session will be immediately terminated and they will be unable to sign back into the local desktop, provided they are on the network and communicating the View Connection Server. If a replication is occurring the replication must finish before the roll back occurs.
Administrator Initiated Roll Back:
  1. Open VMware View Administrator à Monitoring à Local Sessions à Select your Desktop à Click the Rollback button
  2. Click the OK button to the warning message
  3. The local desktop state changes to “Rolling Back”
  4. The local desktop is discarded and is no longer visible under local sessions.

End User Initiated Roll back:
  1. Right click your desktop in the View Client, and click the Rollback option (this is a policy that you must have rights to)
  2. The local desktop is discarded

Delete a Local Desktop
When you perform a roll back the local desktop is not deleted from your client’s computer. You must manually delete the local desktop files. Browse to the directory where your local desktop is stored. The default locations are listed below; if you changed the location go to that directory.
Please note that these directories may be hidden.


Delete the entire folder for each local desktop at your discretion.



Other Settings
You can utilize compression and deduplication during a check-in, check-out, and replication. Compression will compress the system-image and desktop files before sending them over the network. Deduplication prevents redundant data from being sent from the client to the datacenter, thus speeding up data transfers. Both Compression and deduplication take a decent amount of CPU/Memory to run so you need to take this into consideration. If you enable deduplication and compression ensure that you turn logging on to debug mode. You can then check the impact that de-duplication and compression have.

To turn on deduplication and compression perform the following steps:
  1. Open VMware View Administrator à View Configuration à Servers à Select the View Connection Server and click the Edit button.
  2. Place a checkmark next to “Use deduplication for local mode operations” and “Use compression for Local Mode operations”, and then click the OK button.

You can also override local usage of memory and CPU by creating a group policy object that changes windows registry keys. To find out more about resource management please reference the View 4.5 Administrator Guide on page 236.

MANAGING THE TRANSFER SERVER
The View Transfer server is the mechanism that transfers data between local desktops and the datacenter. The Transfer Server is a required component when using local mode.
Add View Transfer Server
In part 2 of this series I showed you how to add a view Transfer Server à
Installing & Configuring VMware View 4.5: Part 2 – Configuring Local Mode


Remove View Transfer Server

When a transfer server is removed and is actively performing transfers those transfers will be paused. The user can resume the paused transfer operation on the client computer once a new Transfer server has been added. Furthermore, if a transfer server is removed you are unable to check-in/out, or replicate local desktops.

  1. Open VMware View Administrator à View Configuration à Servers à Select a transfer server
  2. Click the Remove button
  3. When a transfer server instance is removed from View Manager its DRS automation policy is reset to the value it had before being added to View Manager.

TRANSFER REPOSITORY
The Transfer Repository is used to store linked clone images for local desktops. Before a linked-clone desktop can be checked out for local use the base image must be published to the repository. When a user checks out a linked-clone desktop for the first time the base image is downloaded from the repository to the local computer. You should only need to download the base image one time because only the OS Delta disk and persistent disks are checked in and out again, not the entire base image.
You need to properly size the amount of disk space the repository has for all of your base images. You can quickly determine the size of your base images by selecting the parent VM, editing settings, select the hardware tab, and select the hard disk to get the OS size. I have two images that I have published and they only take up 15GB so you may not need a lot of space on your repository.
Publish Package
You will get the following error message if you do not publish the virtual desktop when you attempt a checkout.

To publish virtual desktops to the transfer repository do the following:
  1. Open VMware View Administrator à View Configuration à Transfer Server Repository
  2. Click the Publish Button à chose the parent VM you want to publish and then click the OK button.

  3. Once the parent VM snapshot has been published you can check-out your virtual desktop for local use.

Delete Package
  1. Open View Administrator à View Configuration à Transfer Server Repository à Select a package
  2. Click the Delete button, click the OK button to the warning message
  3. The status will change to Pending Delete and finally remove it.

LOCAL MODE TESTS
Here is a list of the computers that I tested local mode with. Some of them worked decently well others were unusable.
  • Home Computer – Windows 7 Ultimate 64-bit, 4GB RAM, 2 Velociraptor’s in RAID 0, 3GHZ Dual Core
  • Work Computer – Windows XP, 4GB RAM, Cheap Disk, 2.4GZ Dual Core
  • Personal Laptop – Windows 7 Ultimate 64-bit, 4GB RAM, cheap disk, 2GHZ Dual Core
  • Personal Netbook – Windows XP, 1GB RAM, cheap disk, 1.4GHZ
  • Wyse X90L – 8GB USB Stick
Virtual Desktop – Windows 7 Professional 64-bit, 2GB RAM, 1 vCPU
Home Computer
My home computer is the fastest of the group. The initial check-out process obviously took a bit longer because I was not directly connected to the network but rather through an SSL VPN. I definitely noticed the local desktop loading the quickest on my home computer. Even though the RAM and CPU were close to the same as my work computer. Everything worked on my Home PC without a hitch including USB and printer redirection as well as multiple monitor display
Work Computer
The first checkout on my work computer took about 70 seconds longer than it did on my Home Computer. If I was to guess I would attribute this slow down to a crappy 7200RPM drive compared to a rather quick 10KRPM RAID 0 Build. Like my Home computer everything worked except it was very sluggish and almost unusable.
Personal Laptop
The laptop was about the same as my work computer but even slower which was frustrating.
Netbook
As you can imagine the netbook wouldn’t even check the desktop out because it didn’t have enough RAM.
WyseX90L
This also was unable to check out the desktop for lack of memory.

Conclusion
My biggest gripe with running local mode is that your client machine needs to have quite a bit of horsepower to even run it. Furthermore, from a management standpoint you are creating more work because you are managing both the client desktop and the local desktop. Supposedly Wyse is working on a laptop that will support local mode but I haven’t heard any details on this yet. Hopefully this article filled the knowledge gap between configuring local mode and managing local mode. Stay tuned for my next article on configuring View 4.5 with an SSL VPN.
Introduction
This is part 4 of a ten part series on Installing & Configuring VMware View 4.5. To read parts 1-3 click the following respective links.
In my last article I showed you how to install and configure a linked clone pool.  This article is an in-depth review on your day to day management of your linked clones.  As you already know VMware View documentation is seriously lacking!  Hopefully this will prove to be a quality resource and forum for further questions.
The following topics will be discussed in this article
  • Windows 7 Tuning
  • Important steps when creating a Parent Virtual Machine
  • Group Policy Configuration
  • Refresh, Recompose, and Rebalance
  • Location Based Printing
  • Managing Persistent Drives
Windows 7 Tuning
Chances are if you have been a system administrator you have done profile tuning at some point in your life with Terminal Services or Citrix. The concepts here really haven’t changed. Basically you want to remove all of the stuff that users don’t need!  There are services/features that take up valuable system resources namely disk space, disk I/O, and memory that you will want to remove. Every business will need to determine on their own what features are necessary and which of those can be removed. I need to state a disclaimer, and that is that you can over tune your system to the point that your end users get frustrated because the OS is so watered down. Do everyone a favor and perform proper testing with pilot groups if you want to make this project a success. If you find out that you removed something that the users really want you can recompose the Virtual Machines and include that feature later. Below is just a list of some of the recommended items to remove/turn off, this list is not exhaustive.
  1. Turn off Windows Features
    1. Remove Tablet PC Components
    2. Games
    3. I am leaving Windows Search on even though it does take more processing I think it’s important and it hasn’t made that huge of an impact on IOPS but you may choose to disable this in your environment.
  2. Turn off the Following
    1. Windows Hibernation (High Impact) – Takes up disk space in your environment and isn’t needed
      1. Open the Command Prompt as an Administrator by going to the start button and typing cmd in the search box. Right click on the command prompt when it’s found in the search and click Run as Administrator.
      2. At the command prompt type powercfg.exe /hibernate off and press enter
    2. Windows Scheduled Disk Defragmentation (High Impact) – an unnecessary step that eats up disk space and does little for performance in a linked clone scenario. It’s better to refresh or recompose if your images get bloated.
      1. Click start and type defrag into the search box, and then click Disk Defragmenter
      2. Click Defragment Disk, and then click Configure Schedule
      3. Deselect Run on a schedule and then click Ok.
    3. Windows Update Service (Medium to High Impact) – causes numerous read writes because of often update checks. Instead recompose with a snapshot that has the latest updates.
      1. Control Panel à System and Security à Turn Automatic Updating on or off à select Next check for updates and then deselect Give me recommended updates the same way I receive important updates and deselect allow all users to install updates on this computer and click the OK button.
    4. Windows Diagnostic Policy (Medium to High Impact) –Numerous disk writes
      1. Click the Start Button and type services.msc into the search.
      2. Double click Diagnostic Policy Service and then stop the service.
      3. Under Startup type select Disabled
    5. Prefetch/SuperFetch (Medium Impact) –impacts disk I/O
      1. Open the registry navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters
      2. Set the EnablePrefetcher and EnableSuperFetch keys values to 0.
      3. Open Services.msc and double click the Superfetch service. In the SupeFetch properties dialog click Stop
      4. Under Startup type select Disabled and then click OK.
    6. Windows Registry Backup (Medium Impact) – bloats your virtual desktop by eating up disk space
      1. Start à Control Panel à System and Security à Administrative Tools à Task Scheduler
      2. In the left hand navigation pane expand Task Scheduler Library à Microsoft à Windows
      3. Double Click Registry and select RegIdleBackup, in the action pane click Disable.
    7. System Restore (Small to Medium Impact) – takes up disk space
      1. Start à Control Panel à System and Security à Administrative Tools à Task Scheduler
      2. In the left hand navigation pane expand Task Scheduler Library à Microsoft à Windows
      3. Double click SystemRestore and select SR, in the actions pane click Disable
    8. Windows Defender (Medium High Impact) – performs scans and definition updates that can impact disk I/O
      1. Click the start button and type Windows Defender in the search, and then open Windows Defender.
      2. With Windows Defender open click tools à Options à Administrator and deselect Use this program and then click Save.

Creating a Parent VM for a Linked Clone Pool
In my last article I showed you how to create a linked clone pool from a powered off snapshot of our Parent Virtual Machine. There are some special considerations to take into account, of which I learned through trial and error (again lack of documentation).
If your linked clone pool is using persistent disks (user profiles are saved after shutdowns, refresh, rebalance, and recompose) then you must ensure that before you take a snapshot of your Parent VM you do the following:
  1. The Parent VM should not be on the domain, set it up on a workgroup
  2. Remove all profiles except the administrator profile/Default Profile. DO NOT setup the Parent VM with an account that you are later going to use to sign into the virtual machines. For instance, if I signed in as domain\pslager on the parent VM and then took a snapshot and used that snapshot for the linked clones then when I try to sign in as pslager all profile information will be saved on the C: drive instead of the persistent drive and all information will be lost on a shutdown/reset.
  3. Ensure that the Parent VM computer object does not still exist in Active Directory if you had the Parent VM on the domain at one point in time.
    1. This particular issue gave me my most issues so I am posting it here just in case this happens to someone else. I originally had the Parent VM connected to the domain. Even though I took the Parent VM off of the domain the Computer Object still existed in Active Directory. I had to manually delete the computer object and then re-create my linked clone Pool.
    2. The error messages that I was getting due to this error started when I tried to access my virtual desktop from View Client. View Client was giving me the error message “This desktop currently has no desktop sources available. Please try connecting to the desktop again later”. After further research I noticed that my linked clones never fully deployed and had an error message associated with them, “View Composer Agent initialization state error (18) failed to join the domain”. Basically just manually deleting the computer object for the Parent VM and recomposing the linked clone pool with a new snapshot fixed the issue.

Group Policy Settings
When you install the View Connection server all of the Group Policy Administrative templates are installed under http://www.blogger.com/post-edit.g?blogID=3847712286280087300&postID=3101787941025052507. If you recall from my previous articles we created an organizational unit in Active Directory for all of our linked clones. Group Policy will enable us to push out computer and user policy to all virtual machines in that organizational unit. The Group Policy settings are very useful for standardizing display protocols and other features.

(VMware Admin Guide)
  1. I created a GPO under my Linked Clones OU called “VMware View”. This Group Policy object will be used to apply all my user and computer settings to all view Desktops/users.
  2. Edit the newly created GPO, expand Computer Configuration, and then right click on Administrative Templates and select Add/Remove
    Templates.
  3. Click the Add button and browse to your View Templates. The view templates are under \\viewserver\c$\Program Files\VMware\VMware View\Server\extras\GroupPolicyFiles, and select the template that you wish to use and click Open, then click Close.
  4. Now expand Administrative Templates again and you should see VMware View Agent Configuration (or something similar depending on the template you picked).
  5. I want to allow users to toggle the display settings on their Virtual Desktops so they can use multiple monitors with a clean resolution. To do this I am going to open Toggle Display Settings. I am going to change the setting to Disabled which will allow users to edit their display settings now.
  6. Not only do I want to edit the agent settings but I also want to edit some of the View Client settings so I need to add that adm template to Group Policy. Remember I need to apply this setting to all my users in the domain who will be using the View Desktop. So I am actually going to create another GPO that applies to all users/computers in the company.
  7. I want to be able to have all USB devices automatically connected on virtual desktop launch and when a user plugs in a USB device into their client machine I want it to be automatically available on the virtual desktop.
  8. Disable user GPO settings if they are not being used. What I mean by this is that if you are only using Computer Policy then disable User policy it will speed up the GPO processing time.
  9. Update GPO on view client and virtual desktops
This is just a sample of some the settings that I thought were useful in my environment. If you are unfamiliar with how Group Policy works these steps may be difficult for you and I strongly urge you to start learning because Group Policy is extremely useful.

Recompose, Refresh, Rebalance
These three tasks are there to help you manage your virtual environment. Your goal is to provide quick and streamlined virtual desktops to your clients/users. Over time these virtual desktops can become bloated or out of date.
When you recompose your linked clone desktop pool you are in essence pushing out a new snapshot to your virtual desktops. This is very useful when you need to make updates to your virtual desktop image. For instance, you may need to install the new version of Microsoft office, add additional software, and install security updates.
A refresh is used to control virtual desktop bloat. If your virtual machines are taking up to much space then you can refresh them by using the parent VM snapshot. This is slightly different from a recompose because you are not changing the snapshot you are just reverting all machines back to the existing snapshot. Typically clients and end users will install software/add-ons that can eat up space, by reverting back to the original snapshot all of these installations will be removed.
A desktop rebalance operation evenly redistributes linked-clone desktops between the available datastores that you specified. It’s important to note that when you perform a rebalance it actually also performs a refresh.
All three of these management tasks can be scheduled to run off hours. In fact it’s preferred to run them during non-peak hours or during a regularly scheduled maintenance window. A recompose can actually take quite a bit of time. When I was doing recompose operations in my test environment it would take about 15-20 minutes for 3-5 desktops before it was totally complete.
Recompose
Before you perform a recompose it’s a good idea to create a baseline to see if all of the user profile settings were saved properly on the persistent disk like you expected. Here is a short list of items that I changed on my profile to see if they would still be there after a recompose:
  • Set a desktop Background
  • Change all folder views to detailed and show hidden files
  • Save a few Internet Explorer Favorites
  • Send an email from Outlook to see if the name autocomplete is saved (profilename.nk2)
  • Uncheck Auto archive in Outlook
  • Set my Outlook Signature
  • Configure three applications that require a username and password to finish setting up
  • Place some documents on my desktop and in My Pictures Folder
  1. Power Off the Parent VM, and take a snapshot.

  2. Recompose the Parent VM by going to VMware View Administrator à Inventory à Pools à Open the Linked Clone Pool à Select the View Composer Drop Down and chose Recompose
  3. Select the newly created snapshot and check “Change the default image for new desktops.” Click the Next button to continue.
  4. You can schedule a time when you want your linked clones to be recomposed, for testing I set mine to run immediately. Click the Next button to continue.
  5. Review the Settings and Click the Finish button. The spare VM’s are deleted and re-created using the default snapshot, if a VM was already provisioned then it’s just recomposed not deleted (you can see this from the screenshot in step 6 below).
  6. Click Show Details
  7. To view the Recompose operation open View Administrator à Inventory à Pools à Your Linked Clone Pool à Tasks
  8. The spare Virtual Machines are deleted right away.
  9. Below is the message you get if you are currently signed in while a recompose is about to take place
  10. Below are the typical recompose tasks that occur.
  11. The recompose process took about 15 minutes for 3 Linked clones so plan accordingly.
  12. Finally sign into the linked clone pool and test the desktop out.
The last thing I wanted to do was check to see if the items that I changed/tweaked before the recompose persisted. Here are my findings:
  • Set a desktop Background -Saved
  • Change all folder views to detailed and show hidden files – Saved
  • Save a few Internet Explorer Favorites – Saved
  • Send an email from Outlook to see if the name autocomplete is saved (profilename.nk2) – the name autocomplete was still there but the .ost file was re-downloaded.
  • Uncheck Auto archive in Outlook – Saved
  • Set my Outlook Signature – Saved
  • Configure three applications that require a username and password to finish setting up – I was very pleased to see the entire application configuration settings saved. The only thing I noticed was one of the applications prompted you to allow a firewall rule.
  • Place some documents on my desktop and in My Pictures Folder – Saved
Overall I was very pleased with how well the recompose process worked!
Refresh
  1. Open VMware View Administrator à Inventory à Pools à Select the Linked Clone Pool à Click the drop down arrow for View Composer and select Refresh.
  2. Schedule or run the refresh immediately, and then click the Next button.
  3. Click the Finish button
  4. A refresh goes much quicker than a recompose it took about 30 seconds to complete.
  5. I signed back into my Virtual Desktop and verified that I was reverted back to the original snapshot.
Rebalance
  1. Open VMware View Administrator à Inventory à Pools à Select the Linked Clone Pool à Click the drop down arrow for View Composer and select Rebalance.
  2. A notification message is displayed below, read it and then click the Next button.
  3. Schedule or run the task immediately, and then click the Next button.
  4. Review your settings and then click the Finish button
  5. The process takes a few minutes to complete and you may notice that your virtual desktops are on a different datastore then they were originally. To check this open View Administrator à Inventory à Pools à you’re Linked clone Pool à Inventory Tab à Click the icon under the Datastore column for your desktop to see which Datastore it’s currently residing on.



Location-Based Printing
Location based printing is a really cool new feature that allows you to program some intelligence into what printers users receive based on several key factors shown below. On top of that you can finally redirect network printers instead of just USB printers.

(VMware Administrator Guide)
How it works is quite simple. You need to have the printer driver installed on the client machine. Then you need to configure group policy to setup your printers based on the variables above.
  1. Before you can configure the group policy you must register a DLL file TPVMGPoACmap.dll. This file can be found on the View Connection server under \\servername\installdirectory\Vmware\VMware View\Server\Extras\GroupPolicyFiles\ThinPrint.
  2. To register simply go to startà run à regsvr32 “C:\TPVMGPoACmap.dll” ß the dll path depends on where you have the file.
  3. Edit the VMware View GPO that I created in the Group Policy section of this article. Expand Computer Configuration à Software Settings à here you will see a new GPO called “AutoConnect Map Additional Printers”. (Lamer note, if you edit your group policy on a machine that differs from the machine that you registered the dll file the Autoconnect template will not appear).
  4. Double click Configure AutoConnect Map Additional Printers and set it to Enabled
  5. Click the Green plus icon to add more rows.  By setting an IP range I am saying that if you are on the 192.168.0/24 subnet then you can access the two printers I have listed.  You need to add the printer name, print driver, and IP address of the printer that is installed locally on your client.
  6. If you open the printer properties and click the Advanced tab you can get the driver name. On the Ports tab you can get the IP address of the printer. You must put IP_ before the actual IP address.

  7. Test it out by signing into your Virtual Desktop. You can see that it’s using ThinPrint to redirect the network printer correctly.

Managing Persistent Disks
Persistent disks are used to retain users profile and OS information. Persistent disks can actually be detached from a linked clone and attached to another linked clone. When a persistent disk is detached the linked-clone virtual machine is deleted. Several use cases for detaching and attaching persistent disks are:
  • A user with multiple desktops can consolidate profile settings to one desktop
  • When an employee leaves the company a manager can attach their persistent drive to review their files
  • When you want to delete a linked-clone you can preserve the user’s files.
Please note that you can’t detach a persistent drive from a windows 7 linked clone and attach it to a Windows XP linked clone, they must be on the same operating system.
Detach a Persistent Disk
  1. Open View Administrator à Inventory à Persistent Disks à Select the persistent disk and click the Detach button.
  2. Either use the current datastore or select a datastore. I am going to keep it on the current datastore. Click the OK button to continue.
  3. The Linked Clone Desktop is then deleted and the persistent drive is saved to the datastore.
Attach Persistent Disk to another Linked-Clone Desktop
  1. First of all you must verify that your linked clone pool is using vSphere mode and the same operating system.
  2. Open VMware View Administrator à Inventory à Persistent Disks à Click the Detached Tab à Select a persistent disk and click Attach
  3. Chose the linked-clone desktop to attach the disk to
  4. Select Attach as a secondary drive and then click the Finish button.
  5. Sign into your virtual machine and test to see if the secondary disk is present under My Computer.


Conclusion
VMware View 4.5 has some powerful tools for managing your linked clone environment. You can reduce bloat and perform updates easily using refresh, recompose, and rebalance. Furthermore, you can customize your environment with Group Policy and location based printing. I hope this article helped alleviate any problems/questions you may have had. Stay tuned for part 5: Managing VMware View 4.5 Local Desktops.
Introduction
This is part three of a ten part series on Installing & Configuring VMware View 4.5. To read parts 1 and 2 click the following respective links.
I am going to show you how to setup your View Composer Database, install View Composer, setup your linked clone pool along with some best practices, and connect to your linked clone pool.
Linked Clone technology is a catalyst for getting your Virtual Desktop project approved. By utilizing linked clones you can dramatically reduce your SAN storage footprint, which in turn will lower your capital expense. Furthermore, your operational expenses are reduced because now you only need to manage one snapshot which will be deployed to all of your users making upgrades and backups completely painless. You still will need to perform a TCO for your business but I have no problem stating that your operational expenses will be lower, your capital expense may be a break even or higher depending on what platform and design path you choose. The bottom line is if you are looking at a virtual desktop proof of concept you absolutely cannot leave out evaluating linked clones.

Creating and Configuring the View Composer Database
In order to start using Linked Clones you need to setup a SQL or Oracle database and then install the View Composer Services on your vCenter server. The vCenter Server will talk to your SQL or Oracle database through an ODBC connection that you have to configure. For the purposes of this article I will be showing you how to setup a SQL Database as I don’t have any Oracle test databases. For help with Oracle please reference the View 4.5 Installation Guide.
Requirements
  • SQL 2005/2008 Server – for my guide
  • ODBC Connection
Database Support Options Below:


Grid provided by VMware
  1. My SQL 2008 Database is on a remote machine and not installed locally on my vCenter Server which is a best practice. Sign into your SQL Server and Launch “SQL Server Management Studio” typically found by going to Start à Programs à Microsoft SQL Server 2008 à SQL Server Management Studio.
  2. Sign into the Database Engine Portion with a user that has access to create databases
  3. Right Click the Databases folder in the left hand navigation pane and choose the option “New Database”.
  4. Give the Database a Name, mine is “ViewComposer”. You should be able to accept the rest of the defaults and then click the OK button and exit the SQL Server.

Create the ODBC Connection
  1. On the vCenter server add an ODBC connection. Click the Start Button à Administrative Tools à
    Data Sources (ODBC). Click the System DSN tab, and then click the Add button.
  2. Select SQL Server Native Client 10.0 and then click the Finish button.
  3. Give your ODBC connection a Name, mine is “ViewComposer” and then choose the SQL Server that you created the ViewComposer Database on. Click the Next button to continue.
  4. Enter in the SQL Server Authentication ID and Password below. Also ensure that “Connect to SQL Server to obtain default settings for additional configuration options” is checked. Click the Next button to continue.
  5. Place a check mark next to “Change the default database to” and select the “ViewComposer” database that you created, if you don’t do this it will not work. Furthermore, I learned the hard way that you must keep the check marks next to “Use ANSI quoted identifiers” & “Use ANSI nulls, paddings, and warnings”. If you do not have these checked when you go to install the View Composer Service on the vCenter server you will get to the very end of the installation and then it will give you a message like the screenshot below. Click the Next button to continue.
  6. Ensure that you have a checkmark next to “Perform Translation for Character Data”, and then hit the Finish button.
  7. Click Test Data Source to ensure you have a proper connection to your database. You should get a message saying “TESTS COMPLETED SUCCESFULLY” if not then check your settings again.



Install View Composer
Now that the database has been created and the ODBC connection is configured properly we need to go ahead and Install VMware View Composer on the vCenter Server. The View Composer file name is VMware-viewcomposer-2.5.0-291081.exe, obviously as updates are made the build number will change at the end.
I had an issue when I tried to install View Composer for the first time where my firewall was locked down through Group Policy. I had to take my vCenter Server out of the Group Policy before I could finish the install, this may happen with you as well.
  1. Run VMware-viewcomposer-2.5.0-291081.exe as an administrator, and then click the Next button to continue.
  2. Click the Next button
  3. Accept the license agreement and click Next
  4. Choose the installation directory and click Next
  5. Enter the Database Information, if you get this information incorrect the setup will not continue. The source DSN needs to match the name that you gave your ODBC connection. I named mine “ViewComposer”, so that is what I entered in the first line.  Enter in the SA username/password and click the Next button.
  6. Accept the default SOAP Port and click the Next button.
  7. Click the Install button
  8. Click the Finish button

If you go into services you will see the VMware View Composer Service started.

View Composer Installation Troubleshooting
I had my fair share of issues when I tried installing View Composer. My first issue was the firewall was locked down through GPO so I had to remove this. The second issue which took me longer to figure out was when I was at the end of the VMware View Composer Installation I got a message stating that the services wouldn’t start.


According to VMware Knowledgebase this usually occurs because the HTTP SSL Service wouldn’t start as the View Composer Service depends on it, or I need to run View Composer with higher access. In my case the HTTP service was already running . So I thought I would try the second option. When the services failed to start I left the Installation running and opened services.msc, I changed the View Composer Service from local system to the built in “Network Service”. This still wouldn’t allow me to start the View Composer Service and finish the installation. Finally the issue was resolved when I ensured that I had all of the correct checkmarks during the ODBC connection setup.
I have also heard that if you create the View Composer database with not enough permission you can get this error. You want to ensure the SA account has DBO owner privileges over the database.


Prepare the Master Virtual Machine
By leveraging Linked Clones we can take one “Parent” or Master Virtual machine and make that the default VM in our linked Clone Pool. The parent VM then creates a replica that is used to create all of the desktops in the linked clone pool, which I will show you how to create later. However, before we can start the parent VM needs to have several key items performed to it.
  1. Install View Agent on the VM with the View Composer Option à reference Installing & Configuring VMware View 4.5 Part 1 for instructions
  2. Install VMware Tools on the VM
  3. If the Parent VM is Windows XP and your Active Directory runs on Windows 2008, apply an update patch on the Windows XP virtual machine http://support.microsoft.com/kb/944043/en-us
  4. The Parent VM can only have one volume! View Composer does not support multiple disk partitions.
  5. Disable Hibernation on the Parent VM to reduce the size of linked-clone OS Disks.
  6. Power off the Parent Virtual Machine and then take a snapshot. If you do not power off the VM before you take the snapshot you will get an error message when you try to add the VM to the linked clone pool.
  • Right Click your Parent or Master VM and choose Snapshot, Take Snapshot. In my case I am using a Windows 7 Professional Virtual Machine with customized settings.
  • Give the snapshot a name and description if you want.
  • Snapshot has been created successfully.

Prepare Active Directory, vCenter, and vSphere
  1. Sign into vSphere and right click your Datacenter à New Folder
    I named my new Folder Linked Clones
  1. Create a new Organizational Unit in Active Directory that will store all of your Linked Clone Desktops.
    1. Open Active Directory users and Computers (dsa.msc) and then create a new Organizational Unit.
  2. Create a user account in Active Directory for View Composer
    1. This account must be created in the same domain as your View Connection Server host
    2. The account doesn’t need to be a domain administrator but does need to have the following permissions to the Linked Clone OU we just created: Create Computer Objects, Delete Computer Objects, Write all Properties, Read Permissions, Read All Properties, and List Contents.
    3. Ensure that these account permissions apply to all child objects in the container.
  3. Open VMware View Administrator à View Configuration à Servers à Select vCenter à Click Edit button, Enable View Composer. Furthermore, click the Add button under the View Composer Settings. Then Type in your domain and the username/password of the account we created in step 3.

  1. In the VMware View Administrator à View Configuration à Servers à the vCenter Server Icon changes as shown below.

Create Linked Clone Pool
Are you still with me, because we are very close? The last major step is creating the linked clone pool that will serve as the repository for all of our virtual desktops.
  1. Open VMware View Administrator à Inventory à Pools à click the Add button. When the Add Pool wizard comes up choose “Automated Pool”, and click Next.
  2. Choose Dedicated and place a checkmark next to “Enable Automatic Assignment”, and then click the Next button. Dedicated means that each user has their own virtual machine. Floating means the desktops will be given out to users randomly.
  3. Select “View Composer Linked Clones” and then click the Next button.
  4. Give the Pool a Unique ID as well as a Display Name and then click the Next button.
  5. Make your pool setting customizations and then click the Next button. Please reference pages 104-108 of the VMware View 4.5 Administrator Guide for descriptions of each setting.
  6. Persistent Disks are a key factor to a proper linked clone configuration. If you refresh, recompose, or rebalance your parent VM then all of your user’s settings will be gone! It’s imperative that you create a persistent disk to store users profile information. The default size setting is 2GB; I changed mine to 4GB because our users have a lot of profile information. The good news is that you can go back in later and change the size of your persistent disks if they are not working out for you.
  7. Furthermore, you have the option of redirecting disposable files such as paging and temp files. These disposable files are then deleted when the linked clone is powered off. This will slow the growth of your linked clone’s storage size.
  8. You can either use a desktop naming convention or manually enter in every computer name you want as well as the associated users to that computer. For the sake of testing I chose to do a pattern. My pattern basically is stating that each desktop I provision will start with Laptop- and then a number. Since I set the number to only one digit (n:fixed=1), then my names will be Laptop-1, Laptop-2, Laptop-3. If I had said N:fixed=2 then the names would have been Laptop-01, Laptop-02, and Laptop-03. For more help on Desktop Naming please check the VMware View 4.5 Administrator Guide pages 102-104.
  9. Finally, I said that my pool was going to have a max of three desktops. I have one spare desktop powered on for faster access. For instance, let’s say that I was using Laptop-01, Laptop-02 would automatically power on so I always have a spare powered on in case someone needs to use one. The last option is to have the desktops all provisioned at once. Since I only had three desktops in the pool I decided to provision all of them at once.
    Click the Next button to continue.
  10. Click The Browse Button next to Default Image, and then click the Browse Button again next to Parent VM.
  11. Select the Parent VM and click the Ok button. If you don’t see any parent VM’s show up, re-follow my directions on preparing the parent VM.
  12. New to View 4.5 you can now have your linked clones use Local Mode; therefore, I put a checkmark next to “Publish snapshot to Transfer Server repository for use with Local Mode” and then click the OK button.
  13. Below is a picture of the View Transfer Server Repository after the Linked Clones were created.
  14. Select the Linked Clones folder that you created in vSphere earlier and click the OK button.
  15. Select Your ESX Cluster and then click the OK button.
  16. Select your Resource Pool (this is created in vSphere, you don’t have to create one) and then click the OK button
  17. There is a lot of planning and consideration that goes into just this portion of the setup. It is a best practice to store the replica (Master) Virtual Machine on high performance disk like SSD or Fiber Channel, and the linked clones can be stored on slightly slower disk like SATA. You can see that my Linked Clones are set to use a SATA Datastore and my Replica is using Fiber channel.
  18. When you chose a Datastore you will get an estimated Min Recommended (GB), 50% Utilization (GB), and Max Recommended (GB). My screenshots below do not show these values because I changed my DataStore Configuration later on.
    • Selected Free Space – is the total available space on all of the datastores you select
    • Min Recommended – is just that the minimum recommended space
    • 50% Utilization – shows the recommended storage space when the linked clones are 50% the size of the parent VM.
    • Max Recommended – recommended storage when the linked clone is almost the full size of the parent VM.
Below these screenshots I have gone into further detail on using the storage overcommit and sizing.

Choose to put Replica on different datastore.

Put the Replica on Fast Fiber Channel Disk

Storage Overcommit:
Allows you to customize how aggressive you want to be with your storage. As the level increases, more linked clones can fit on the Datastore leaving less space for the individual clones to grow. With Storage Overcommit linked clones can use a logical storage space several times the physical capacity of a Datastore.
Options:
  • None – Storage is not overcommitted
  • Conservative – 4 times the size of the datastore, Default option
  • Moderate – 7 times the size of the datastore.
  • Aggressive – 15 times the size of the datastore.
To illustrate storage overcommit let’s say you have 5 full virtual machines that are each 20GB this would require a 100GB datastore. If you set your storage overcommit level to conservative you can have 4 times that number of linked clones, remember linked clones take up a fraction of the space of the full VM. Now you can have 20 linked clones on your 100GB datastore.
The most important thing to remember is that you want to be monitoring your storage especially if you use an Aggressive strategy. An Aggressive storage overcommit can actually be useful when you are using Floating desktops, especially if you refresh/recompose often to ensure the clones never grow in size.
Storage Sizing
There are quite a few factors to consider when trying to properly size your environment. I can’t review every scenario but here is a list of a few of those factors:
  • Amount of Memory on the Parent VM – the more memory the more space is consumed
  • Frequency of Refreshes – the more your refresh the less space your clones will consume
  • Redirecting page and temp files – I addressed this in step 6 with disposable file redirection
  • If you configure persistent disks – reduces profile bloat on the linked clones
Sizing Formula for Linked Clones
(Provided By VMware Administrator Guide)
My next article “Managing Linked Clones” will delve deeper into storage sizing.
  1. Review your settings and click the OK button.

  1. Select the Domain that you configured in step 4 of the Active Directory preparation. Then chose the AD container that you created earlier for your Linked Clones by clicking the Browse Button.
    In order for your linked clones to operate as unique computers they need to either have QuickPrep or Sysprep done to them. The major difference between the two is that Sysprep generates a unique SID and QuickPrep does not. You may think this is grounds for not using QuickPrep but there really aren’t too many applications that require a unique SID like you may think so test first!
    SysPrep is only supported on vSphere 4.1. Other than the SID issue QuickPrep and Sysprep basically do the same thing but Sysprep takes quite a bit longer to run so I am using QuickPrep for my test.

Select the Linked Clones Organizational Unit that you created, and then click the OK button.

  1. Click Finish button after reviewing

  1. If you jump back over to vCenter you will see the following tasks take place. After all of the tasks are completed one of the linked clones will be powered on. If you remember during the setup I configured the pool to have one spare powered on desktop (Step 7).


  1. Finally we need to add Entitlements to the Linked Clone Pool. To do this open VMware View Administrator à Inventory à Pools à Click the Entitlements button à Click the Add button to add your users. A green checkmark is then placed in the Entitlement column.

Testing the Linked Clone Pool
Whew, you finally made it to the end! Now to the fun part let’s actually test our Linked Clone Pool.
  1. Start VMware View Client and sign into the View Connection Server. I have entitlements to a Manual Pool and now a Windows 7 Linked Clone Pool.

    Since I already have one of the linked clones powered on I signed into my desktop in less than 20 seconds. After I signed into my desktop one of the other linked clones automatically powered on because I have the setting to always have one spare powered on which dramatically reduces the sign in time to your virtual desktop, without this setting it takes about 5-6 minutes.

If I shut down my VM and then sign back in I will get the same VM and it will power on



Conclusion
Leveraging Linked Clones can help you dramatically reduce your storage footprint especially when coupled with storage overcommit. My next article in the series will discuss managing linked clones where I will take a deep dive into Windows 7 configuration best practices, and provide more detail on storage sizing. In addition, I will be covering refresh, recompose, and rebalance stay tuned and thanks for reading!
Introduction
Welcome aboard for part two of this ten part series on Installing & Configuring VMware View 4.5. Click the following link to read Installing & Configuring VMware View 4.5 Part 1.
Local mode was the feature that I was most excited about when I started reading reviews on View 4.5. Having over 90% of our staff as traveling laptop users makes a virtual desktop implementation extremely difficult. If all of our users had desktops it would be much easier to purchase some zero/thin clients and be off and running. However, this isn’t the case for us and it’s not the case for many companies. The questions we need to ask are, Is Local Mode going to be able to combat all of our roaming user’s issues in the virtual desktop space? Is Local Mode going to provide a quick and seamless check-in/out processes for users, is it going to slow down their machines to the point that productivity is greatly impacted? After all I certainly don’t want my users carrying around a 5 pound brick of a laptop because they can’t connect to their virtual machine.
There is no better way to get these answers than to start testing, so let’s get right into it!


Installing the VMware View Transfer Server
In order to utilize Local Mode you need to install a View Transfer Server and setup a Transfer Repository. The Transfer server should be installed on a new virtual machine preferably a Windows 2008 VM.
  1. Create a new Windows 2008 Virtual Machine. **IMPORTANT** before you install the operating system you must ensure that your SCSI Controller is a “LSI Logic Parallel”. By default Windows 2008 virtual machines are set to “LSI Logic SAS”

If you don’t do this when you try to install the Transfer Server role this is the error you will get.
  1. To install the Transfer server run the connection server setup file à VMware-viewconnectionserver-x86_64-4.5.0-293049.exe (note the build number at the end will change as later versions are released). Once the setup launches click Next, Next Again, Accept the Terms, and click Next.

  1. Chose the Destination Folder and click Next

  1. In Part 1 we installed the Standard Server, this time you need to select “View Transfer Server” and click Next.

  1. Enter in your domain, server name, and email address then click Next

  1. Select “Configure Windows Firewall Automatically” and click Next. I think if you install this on a Windows 2003 Server you are unable to automatically configure the firewall but I haven’t been able to test this.

  1. Click Install

  1. Finally Click the Finish button

A nice and simple install right?

Add View Transfer Server to View Manager
Now we need to add the Transfer Server to View Manager so we can complete the configuration.
  1. Sign into the VMware View Administrator https://servername/admin ; ex: https://viewconnectionserver/admin
  2. Expand View Configuration à Servers
  3. Click the Add button Under the Transfer Servers Section and select the vCenter Server, and then click Next.

  1. From the List of Virtual Machines chose the Transfer Server VM and click Finish.

  1. You will then notice that your Transfer Server status changes to Pending. At this time the View Connection Server shuts down the VMware View Transfer Server and reconfigures it with four SCSI controllers and restarts the VM. The multiple controllers allow View Transfer Server to perform an increased number of disk transfers concurrently. After the reboot has completed the status will change to “Missing Transfer Server Repository” as shown below.

Create the Transfer Repository
You guessed it the next item on the list is to create a Transfer Repository. The Repository actually stores the View Composer base images which I will be discussing in part three of this series. Each Composer image could be several gigabytes so the repository needs to be large enough to handle all of these. Furthermore, if you have multiple Transfer Servers your repository needs to be setup as a network share. Multiple Transfer Servers will not be able to access the repository on a local drive.
  1. Create a network share to house the repository. I just added an E drive to my VM with 100GB of space.
  2. Then I created a folder on that new drive called “TransferRepository”, as seen below.
  3. In View Administrator, click View Configuration > Servers.
  4. Put all View Transfer Server instances into maintenance mode by highlighting them and clicking the button “Enter Maintenance Mode” and then click Ok.



  5. The View Transfer Server status changes to “Maintenance mode.”

  6. When all View Transfer Server instances are in maintenance mode, current transfer operations are stopped.
  7. In the Transfer Servers panel, next to Transfer Server repository, click the link “Not Configured.” Optionally you can click View Configuration à
    Transfer Server Repository; this will bring you to the Transfer Repository page.
  8. Click the Edit button under the General heading to begin configuring your repository.
  9. I setup my repository to be a network share, you can see my UNC path below: \\servername\sharename. The username/Password needs to be the account that accesses the Network Share. In my screenshot I show my name but it’s better to create a separate account for this.

  1. Now that we are finished configuring the repository we can Exit Maintenance Mode. To do this go back to View Configuration à Servers à Transfer Servers àSelect your Transfer Server à Click the Button to “Exit Maintenance Mode.”

  1. It took roughly two minutes for my Transfer Server status to change to “Ready”!


Local Mode Requirements
  1. You need to install View Client with Local Mode on one of the following supported Operating Systems. Please reference Installing & Configuring VMware View 4.5 Part 1 on how to install the View Client. You can also go to https://viewconnectionserver to download the View Client with Local Mode.
  2. Local Mode is only supported on physical computers.


(Grid from VMware Installation Guide)
  1. When you use local mode your client computer needs to be able to support running the View Desktop or Virtual Machine. It’s basically like running a virtual machine on your desktop with VMware Workstation. Your underlying hardware now needs to be able to run two operating systems; your local machine and now the view desktop. Check the grid below to see if your machine is up to spec.



(Grid from VMware Installation Guide)
  1. You need enough disk space on your local machine to support downloading the View Desktop. Only the space used on the View Desktop will be downloaded to your client machine. For instance, let’s say your View Desktop is 20GB but only 12GB of it are being used, when Checkout your desktop only 12GB will be downloaded to your local client. Be aware that snapshots will also take up space on your local machine if you perform them.
  2. For a full requirements review please reference the VMware View 4.5 Installation Guide.

Testing Local Mode Checkout/In
  1. Launch the View Client from your desktop and click the Options button. You can set your client to AutoConnect to the Connection Server that you have specified to speed up the sign in process. To enhance security I left SSL checked. When you are satisfied with your options click the “Connect” button.
  2. Enter in your username/password and Domain
  3. Click the Down Arrow next to your desktop and chose the “Check Out” Option. You will notice you can also reset your desktop (provided the administrator allowed this on the pool settings), and change your display protocol (provided your administrator allowed this on the pool settings).
  4. The follow Message is displayed go ahead and click the Ok button.



  1. Your View Desktop gets downloaded to your client computer into the Local Desktop Folder by default.

Furthermore, when you check out your desktop two folders get created under the Transfer Repository directory as seen below

If you sign into your VMware View Administrator and go to Inventory à Desktops, you will see that the desktops status is changed to Local Mode with a Status of “Checked out” and a Mode of “Local.”

  1. Finally click the Connect button to sign into your desktop and start the fun! Remember that if you are using the Local Mode your client computer will slow down quite a bit because now you are running two operating systems.


Local Mode Rollback/Request Backup
When your desktop is checked out you have two more options at your disposal. You can Rollback and Request a Backup.
  1. If you chose Request a Backup, you get a prompt asking you to confirm the backup request. Then your status gets changed to “Backup Request Pending.” I am not entirely sure what this really does and haven’t been able to find too much information on it; nothing in the administration or installation guide. I will update this article when I know more.

  1. The other Option is Rollback, click the Ok button if you chose to Rollback a change.

    You can also initiate a Rollback from the VMware View Administrator making remote management convenient. To do this simply open your VMware View Administrator à Inventory à Desktops à
    Select the Desktops you want to rollback à click the More Commands Button à Chose Rollback
    Click the Ok button when the dialog box launches explaining what the Rollback does.
    The Desktop Status then changes to “Provisioned” with a mode of “Remote”
    The View Client status also displays a message to reflect that the checkout has been rolled back. At this point you must connect to the View Desktop through the connection server, the local desktop is no longer valid.

View Desktop Checkout Over WAN
Just for testing purposes I wanted to see how long it would take me to check out my desktop over the WAN on my home computer. My Windows 7 Virtual Machine is quite large at 30GB. The initial check out was 21.6GB and took roughly 4.5 hours over a 10MB WAN Link. The office upload speed is 10MBps and my download speed at home is 50MBps.
My next test was to make about 20MB worth of changes and then Check the View Desktop back in. This check in process took about 3 minutes to complete.
Most likely you wouldn’t need to have the initial check out process occur offsite unless users were checking out to their home computers. Otherwise the initial check out should be done while connected to the network if at all possible.

Conclusion
Local mode is a great new feature that is part of VMware View 4.5. Basically Local Mode is a type of insurance that grants one the ability to continue working on their desktop when they don’t have a network connection. If you do have a network connection running Local Mode is completely pointless. The biggest drawback that I ran across with Local Mode is that most client machines are not going to have the system resources to run two operating systems simultaneously. I have a dual core with 4GB of RAM on my work computer and it was running rather sluggish. The check-in/out process can take some time as well which may frustrate your end users.
Some use cases where I thought Local Mode may be useful is for the road warriors, sales staff, frequent flyers, and potentially home users who don’t have a constant network connection.
I am probably not going to look at Local Mode as a viable option for my laptop users. Instead I am going to check the feasibility of getting a Wyse Mobile Thin client with Windows 7 Embedded. All of our users have Blackberry’s with the tether feature enabled. This will allow them to turn their BB into a modem so when they don’t have a Wi-Fi or a LAN connection they can still access their View Desktop. There will still be times where there is no data coverage and in that case I am going to investigate how easy it is going to be to sync files from the Windows 7 embedded desktop to the network.
Overall Local Mode is a great feature but most businesses will probably not be using it. Stay tuned for my next article on View Composer and Linked Clones.

Introduction
While I was at VMworld a few weeks ago VMware announced its latest release of its virtual desktop platform, VMware View 4.5! I have been closely watching the VDI market this past year but haven’t felt compelled to start doing any thorough tests because of several issues. First there was a battle over which protocol would reign supreme. I didn’t want to jump on any technology before that issue was clearly sorted out. Second, most of our users are laptop users and the offline desktop feature now called local mode was seriously lacking some luster. Third, I was waiting to perform a Windows 7 upgrade in alignment with the Virtual Desktop Project. Finally I wasn’t sure that the cost savings were quite there yet after performing a few preliminary TCO’s.
I believe that VMware has sorted out the protocol issue by implementing PCOIP and RDP. PCOIP still has issues over the WAN just like any of the other protocols that have come out but it’s much more efficient then RDP. Local desktops have been vastly improved and now you can even have your linked clones go “offline”. I am currently preparing for a Windows 7 upgrade so now is as good as time as any. Hold tight because this is going to be quite a ride. A virtual desktop project is no small project. I truly think that you need to put more effort and planning into this than you did with your server virtualization project. Part 7 of the series, ” VMware View 4.5 Planning & Implementation”, will bring to light some of the key factors in your decision making process to help you plan your project.
This ten part series is in no way an exhaustive guide as too many variables exist. However, if you have questions about something that I didn’t write about please ask and I will help you as best as I can.
You can download a free 60 day trial of all of the VMware View 4.5 components here.
This article is the first of a ten part series. Future articles are listed below.

VMware View 4.5 Components
Before we go through the installation it’s imperative that you understand what all of the View Components do and what their requirements are.

If you will be testing local mode and linked clones then you need to Install VMware View Transfer Server and VMware View Composer.


(Provided by VMware)
For a complete requirements review of each component please reference the VMware View 4.5 Installation Guide.

Active Directory Preparation
  1. Your View Connection server must be part of the same Active Directory domain as your clients (virtual Desktops).
  2. It’s a best practice to create a separate organizational unit for your View Desktops. Furthermore, if you are using Linked Clones you should create an entirely new OU just for those.

  1. It’s also a best practice to create a security group for your View users and one for your View administrators.
  2. When you add your vCenter server to the View Administrator it requires a user account. The user account needs to be in the same domain as the View Connection server. Finally, if you are using Linked Clones the account needs to have local administrator access on your vCenter Server.
These steps should get you going but if you are running a more advanced configuration or need further assistance please reference the VMware View 4.5 Installation Guide.

View Connection Server Installation
I will be showing you how to install the View Connection server with a brand new configuration. When you install the View Connection server a local View LDAP configuration is created. The LDAP configuration is then managed through the View Administrator.
Before we start make sure you have downloaded all of the VMware View 4.5 components from VMware. Install the connection server on a Windows 2008 Virtual Machine, Windows 2003 will work but requires a few additional steps. The Connection Server file name is VMware-viewconnectionserver-x86_64-4.5.0-293049.exe. Please note that the build number at the end may change as time goes on.
  1. Run VMware-viewconnectionserver-x86_64-4.5.0-293049.exe as an administrator.
G:
  1. Click Next

  1. Click Next

  1. Read and Accept the License Agreement and Click Next

  1. Accept the default install folder or change it and then click Next

  1. This is our first Connection Server so I am going to select “View Standard Server” and click next. I will explain what the other options are in future articles. You may get the following error message if your Server is using DHCP instead of a static IP.

Change the NIC to use a Static IP and restart the installation.

  1. If this is a Windows 2008 server select “Configure Windows Firewall Automatically”, and then click Next, and then Click Install.


  1. Click Finish
That concludes the installation pretty simple right!

View Connection Server Configuration
Now that the Connection Server is installed we need to access the VMware View Administrator. View Administrator allows you to configure the View Connection server, deploy and manage desktops, and control authentication.
  1. From your desktop open IE and go to https://servername/admin, https://viewcs/admin

  1. Enter in your domain username/password.
  2. You will then see the main screen and need to enter in the license information for the product that you have. I am using a trial version so I will put that key in.

  1. Next we need to establish a relationship with our vCenter Server. To do this click View Configuration à Servers à Add

  1. Enter in the necessary vCenter Server Settings
    1. Server Address = vCenter IP or FQDN
    2. User Name = if you recall in the active directory prep I said to create an account to join vCenter to the Connection Server.
    3. Password = Enter the password of the vCenter user account you created in the AD Prep.
    4. I haven’t configured View Composer yet so for now I will leave that blank and click the Ok button.

You can see that my vCenter Server has now been added to the list.


Install VMware View Agent on Virtual Machines
I have one Windows 7 Ultimate Virtual Machine that I want to add to my connection server. In order for my virtual machine to communicate with the Connection Server I need to install the VMware View Agent. The Agent file name is VMware-viewagent-x86_64-4.5.0-293049.
  1. On my Windows 7 Virtual Machine I will run VMware-viewagent-x86_64-4.5.0-293049.

  1. Click Next

  1. Click Next

  1. Accept and Click Next

  1. For testing I installed everything but the PCoIP Server. Even though Composer isn’t installed yet I plan on using it later. When satisfied click Next to continue.

  1. Click Install
  2. If you open services.msc on the Virtual Machine you will see that VMware View Agent is running.

Create/Configure Desktop Pools
Now that vCenter is communicating with our connection server and the agent is installed on our VM we can define a Desktop Pool.
There are three different types of pools. When you select each option you get a description of what it is.
  • Automated
  • Manual
  • Terminal Services
  1. To add a Pool sign back into the VMware View Administrator, Inventory, Pools, Click the Add Button. For this test I am going to be creating a Manual Pool because I only have 1 virtual machine I am testing, click Next to continue.

  1. I want my users to have dedicated desktops that are automatically assigned to them. The other option to use floating desktops which means users will get random desktops picked from the pool.

  1. All of my Virtual Machines are going to come from vCenter so I will select that option and continue.

  1. Select the appropriate vCenter server if you have multiple added to the Connection server and click Next to continue.

  1. Setup the Pool Identification and chose a unique pool ID, and then click Next.

  1. Configure the Pool Settings to your liking. Here is a list of the settings that I changed from the defaults.
    1. Changed Automatically Logoff to 1 Minute
    2. Changed Allow users to reset their desktops to Yes
    3. Changed Adobe Flash Quality to Medium from Do not control
    4. Changed Adobe Flash Throttling to Conservative

  1. At the Next screen you will see all of the vCenter Virtual Machines that have a view agent installed. Select the VM’s that you want and then click Next.

  1. Review your settings and then Click Finish when you are satisfied.


Add Entitlement to your Virtual Machines
  1. Go to Pools, Select your Pool Click the Entitlement button, and then click the Add Button.

  1. Find a user or group that you want to Entitle to use your View Virtual Machines. The screen shot below shows me searching by my username but you can search by any group or user in your directory. After you have selected all of the users you wish to entitle click the Ok Button.

  1. Now there is a green checkmark under the Entitled column for my Pool that I created.


Install VMware View Client
Finally to connect to my shiny new Virtual Desktop I need to install the View Client Software on my machine. I am going to install View Client with Local Mode, which has a filename of VMware-viewclientwithlocalmode-4.5.0-293049.exe.
  1. Fire up the installation and click Next, Next, Accept the Terms and Click Next
  2. I want to enable all features so I am installing USB Redirection as well as View Client with Local Mode.

What the heck! Got an error basically stating the View Client with Local Mode can’t be installed when VMware Workstation is also installed. So grudgingly I uninstalled Workstation.

  1. Type in the name of you View Connection Server, and Click Next.

  1. Since I am installing View Client on my work computer which is on the domain I checked “Set Default Option to login as current User”, and then clicked the Next Button.

  1. Configure your shortcuts and click Next.

  1. Click Install

  1. Click Finish

  1. Reboot your machine


Connect to your View Desktop
  1. Ensure the Connection Server is correct and Click Connect


  1. Enter in your domain username/password and click the Login button.

  1. Select your Desktop Pool and then click the Connect Button

  1. You will get a notification that you are connecting to your desktop. Because I am using a manual pool and I am the only one entitled to the Windows 7 Ultimate Virtual Machine that is what I am going to connect to.

  1. You will notice that you have several options at the top. You can also connect any usable USB Devices which is really convenient.

Conclusion
In this blog I showed you what the important components of View 4.5 are, how to configure active directory, how to install your first Connection Server, how to create your desktop pools and entitlements, and how to connect you’re your View Desktop.
In the next article I will show you how to properly configure View for local mode which involves installing a Transfer Server and setting up a Repository. Stay tuned for the next article in the series!!!
Overview:
In order for your virtualization project to be successful you must have a rock solid networking configuration. A common question that I have seen over the last five years has been, how many NIC’S do I need and how should I team those NIC’S? Wait for it… wait…. It’s coming…the answer you always get back is “it depends”. I totally understand the answer “it depends” but it’s still frustrating when you are trying to figure something out so I am going to give you some general guidelines and tips that will hopefully help you make better informed decisions when it comes to your network configuration. Let’s rip the band aid off and get right into it.
How Many NIC Ports should I get?
Whether you are purchasing new servers or trying to reuse existing servers you need to determine how many NIC ports you want/need and what speed NIC’S; 10GB, 1GB, fiber, etc. My reply is very simple, load up on the NIC’S! If you are getting 1GB NIC’S get 8-10, if you are getting all 10GB get 2 or 3. The extra NIC’S will help you out in several ways:
  • Redundancy
    • You want to be able to remove all single points of failure in your network. You can team NIC’S together to achieve redundancy with all of your services.
  • Throughput
    • When you virtualize all of your servers you are going to be creating a lot more network traffic. Your best bet is to test your needs in a lab scenario before deploying to your production network.
  • Flexibility
    • You can provision more NIC’s as demand for certain services increase or decrease.
NIC Considerations
  • Jumbo Frames
  • TOE (TCP Offload Engine)
  • Boot from SAN
  • ISCSI Or Fiber
  • 1GB, 10GB, or Fiber
Network Port Allocation
The question I always get asked is “How should I team my NIC’s” You want to make sure vMotion, Virtual Machines, ISCSI, FT, and the Service console are all redundant and have enough throughput. For this demonstration let’s say that you only have 6 NIC ports: 2 onboard ports and a quad port NIC.


It’s better to allocate NIC ports from two different physical NIC’s to a virtual switch. This way if the Network card fails you are still up and running. As you can see below I allocated 2 1GB NIC ports to the vSwitch0, which runs ISCSI traffic as well as the service console which will be going away soon according to the latest VMware report.

vSwitch1 is dedicated to running virtual machines and has two NIC’s allocated to it as well for redundancy and throughput

vSwitch2 runs vMotion and Fault tolerance.

Conclusion
The configuration that I gave you is just one of the many ways you can configure your network. The important thing to remember is that you always want to incorporate redundancy and ensure you have enough bandwidth for your virtual environment.
At first you may have thought that 6 1GB NIC ports was sufficient and it definitely can be but it’s also quite limiting. For instance, vSwitch2 is using NIC ports from the same card and if that card went out those services would be down. Obviously FT and vMotion are very important but you could still run your network for a short while without them in most instances.
If you would like more details on how to configure a NIC team as well as the necessary steps you would take to configure both the physical and virtual switches please read my earlier blog article: Configuring Port Aggregation on Juniper EX 4200 Switches with VMware vSphere 4.x

Fuente: http://paulslager.com/?cat=10
Jorge D. 

20 comentarios:

  1. Hellο, I thіnk your website might be having brοwser comрatibilіty
    iѕsues. When I loοk at уour website
    in Chrome, it looks fine but ωhen οpening in Intеrnet Explorer, it
    has some οverlaρping. I just wanted to give you a quicκ hеads up!

    Otheг then that, verу gooԁ blog!

    My websitе ... wiki.kithara.gr
    my page: www.felvi.hu

    ResponderEliminar
  2. If, in Internet Explorer has some bugs. I'm trying to fix it.
    Thank you.

    ResponderEliminar
  3. Appreciate the recommendation. Will try it out.


    Feel free to surf to my web-site ... whole bean coffee

    ResponderEliminar
  4. It's amazing designed for me to have a website, which is beneficial in favor of my know-how. thanks admin

    Feel free to visit my blog post; Eating habits tips that will aid withinside lowering gynecomastia

    ResponderEliminar
  5. You really make it seem so easy with your presentation but I
    find this matter to be really something that I think I would never understand.
    It seems too complicated and very broad for me. I'm looking forward for your next post, I'll try to get the hang of it!


    Also visit my blog post ... How to find gynecomastiadecrease plan

    ResponderEliminar
  6. Great beat ! I would like to apprentice while you amend
    your web site, how could i subscribe for a
    blog web site? The account aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast provided bright clear concept

    Here is my web page; How do i detect gynecomastiaat home?

    ResponderEliminar
  7. 2 スタイル 価値 調べること、タスマン海とアスコットは、出ています。 ファッショナブルな と 居心地の良い スニーカー は何 人
    たい 組み込む 彼らの戸棚に。

    Feel free to surf to my web page; http://www.butoboots.com/

    ResponderEliminar
  8. こともできます を選んで 独特 種類 と 色 に
    補数 あなた 心の状態 ! これら 冬 オープンハートは アクセス
    豊富で、マーケットプレイス で 多様な グループ。
    重要 関数 が 会話 について つま先。 ティファニー オープンハートの販売使用の羊ウールとラップするあなた フィート、その後に 簡単 縫い。裏は
    クリスタル クリア ゴムとコルクを注入し、のリブ エキストラ トラクション。 維持。ティファニー ダミエ

    My website: www.tiffanygekiyasu.com

    ResponderEliminar
  9. あなた おそらく可能性があります 非常によく ストレート
    取得 スプレーを 生成 またはいくつかの他 ショップ 推進 UGG スニーカー。 これは、時間、この が必要 です 理想的に 達成。
    あなたが いかなる状況下で 発見 それらからフェージング、世界全体 の ヴォーグ。 私は、巨大 愛好家 ugg の クラシック サンダンス II と 品揃え の多く 種類。

    ResponderEliminar
  10. 重要 関数がチャットについてフィート。サンダルのコースです製造シープスキンのと来るでクリーム、黒と茶色。しかし、彼は いた に 市場 Deckers に彼の株式 屋外 ソリューション 株式会社 保護 です 通常
    は 重要な アカウント 右ここ。。ティーバッグの使用はまた 追加 選択 に 削除 染色。 これ 製品 です 実用的な 反発で 水分 と寒さで凍結
    ローカル気候. 広範囲 オーストラリア UGG のブーツは 驚くべき アクセント に ホット あなた のコース、肌寒い 天気。
    Ugg のブーツを持って 既に されて 現代 を かなりの数 長い時間。

    Also visit my web site :: ugg ブーツ

    ResponderEliminar
  11. I was curious if you ever thought of changing the layout of your site?

    Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better.

    Youve got an awful lot of text for only having 1 or two images.

    Maybe you could space it out better?

    Here is my web site ray ban outlet

    ResponderEliminar
  12. The Tri-Star retails for a great deal than $2,000.
    All the sports shoes are designed according into the needs of grow to be games.

    Gleam when the time is FREE. Strong heels are all the way
    through and if your company can performance it, the higher far better.
    http://utilitywiki.com/index.php/User:AdolfoRaf

    My web blog ... nike air max 1

    ResponderEliminar
  13. 。あなたがエルメ
    スのバッグの上に安価な取引を
    検索するのに十分な患者に
    なったら、また、
    このブランドに
    もあるビクトリア·ベ
    ッカムのようにシックに見えます。あな
    たが彼女と同じくらい
    魅力的になりたい場合は、Eurohandbagの選択
    に探し始めることができます

    Feel free to surf to my blog ... gucci バッグ

    ResponderEliminar
  14. Hi there, yup this piece of writing is truly fastidious and
    I have learned lot of things from it concerning blogging.
    thanks.

    Feel free to visit my web page - Ralph Lauren Outlet Online

    ResponderEliminar
  15. We're a group of volunteers and opening a new scheme in our community. Your web site provided us with valuable info to work on. You've done an
    impressive job and our whole community will be thankful to you.


    my blog Modcloth Coupon Codes

    ResponderEliminar
  16. Great article.

    Feel free to visit my blog post :: Http://Mail-Smart.Com/?P=25

    ResponderEliminar
  17. I pay a visit daily a few web sites and websites to read content, but this website gives
    quality based writing.

    Here is my weblog ... Replica Rolex Watches

    ResponderEliminar
  18. Hello, this weekend is good for me, because this time
    i am reading this fantastic educational paragraph here at my house.


    Look at my blog - Replica Rolex Watches

    ResponderEliminar
  19. Heya great blog! Does running a blog like this require a massive amount work?
    I've virtually no knowledge of computer programming but I was hoping to start my own blog soon. Anyways, should you have any recommendations or tips for new blog owners please share. I understand this is off subject nevertheless I simply had to ask. Thanks!

    Here is my web blog ... コーチバッグ

    ResponderEliminar
  20. Wow, this post is good, my sister is analyzing these
    kinds of things, thus I am going to convey her.

    my webpage Funny Youtube Videos

    ResponderEliminar