This is the sixth article in a series on the basics of VMware View 4.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
Once a linked clone desktop pool has been created you have few additional options or controls to manage them back on the main management webpage – VMware uses the term Refresh, Recompose and Rebalance to outline the three main tasks that may need to carry out with your linked clones. VMware use quite neutral sounding terms for these tasks – the words refresh, recompose and rebalance sound quite reassuring and non-intrusive. Don't be fooled by the soft sounding words, these changes have a huge impact on users and can take some time complete depending on amount of virtual desktops contained in the pool.
- Refresh: This option resets the delta disks back to the original state. If you are familiar with VMware Snapshots the process is analogous to reverting the VM back to its original state when it was first created. So any modifications the users made to the virtual desktop would be discarded. Remember this option can also be triggered by the logoff event – so every time the user logs off, the delta disk is discarded and regenerated. A refresh can be quite an intrusive task, because if affected users are currently logged in – they will receive a message forcing them to log out of their environment. The virtual desktops are all powered off and new delta virtual disks are created.
- Recompose: In this process the linked clones attached to a new replica. The net effect is all the changes accrued in the delta disk are lost, and users get a brand virtual desktop. The recompose option can be used to roll out new software, or a new service pack – affective replacing the virtual desktop with new build – without having to create the virtual desktop pool all over again, and entitle the desktop to the correct users. A recompose can be is a very intrusive task, because if affected users are currently logged in – they will receive a message forcing them to log out of their environment and the next time they log in they may be receiving a very different desktop look and feel.
- Rebalance: This process allows you to re-allocate your virtual desktops to different location. It's essentially a storage management option.
To refresh virtual desktops in the pool
It is possible to refresh every virtual desktop in the pool, or by selecting individual virtual desktops in the list – reset just virtual desktops you feel need it.
- In the Desktop and Pools View
- Select the linked clone pool
- Select the Desktop Sources Tab
At this stage select the virtual desktops that need resetting or else select no virtual desktops to reset every virtual desktop in the pool.
- Select the Edit Image… link (Figure 1)
Figure 1 (click to enlarge)
- Select the option to Refresh
- Confirm whether you wish to refresh all virtual desktops in the pool or just a subset
- In the final page, shown in Figure 2, you can set a date and time when the refresh happens and if you want to force users to log out, or wait for users to log out to trigger the refresh
Once you click finish, you will find any desktop not in use will powered down, the old delta disks removed, and recreated – thus discarding any changes made by the end user. Users who are logged on will receive you message set in the Configuration page of the web admin tool – and will be forcibly logout after the specified period. In my tests I noticed for some reason View did not power back on my refreshed virtual desktops – and I had to power them back on manually.
Recompose a linked clone virtual desktop
There's a number of ways to recompose a linked clone. You can either attach a brand new parent or snapshot the existing parent with new changes. Remember a recompose is essentially a quick way of pushing out a new build of the corporate desktop. I would recompose with a new parent, if I want to replace say the users Windows XP desktop with a Windows 7 desktop. Whereas I would create parent snapshot if the users were using the same operating system in the virtual desktop, but I was making a major change such as rolling out a service pack or upgrading the web-browser from one version to another. In my example below, I'm going to upgrade Internet Explorer from version 6 to 8.
- Power on the Parent VM
- Login and make your changes, in my case I downloaded and install Internet Explorer 8
- Once you have made your updates, release the IP address of the Parent VM with ipconfig /release
- Power off the Parent VM, and create a new snapshot in my case I called "IE Upgrade"
- In the Connection Server admin web-page, select the Desktop and Pools View
- Select the linked clone pool
- Select the Desktop Sources Tab
- Select the Edit Image… link
- In the wizard select to Recompose
- Select All Virtual Machines
- In the next page select your new snapshot, shown in Figure 3
The large change button allows you to completely alter the base image used for the linked clone. In my case however, I've merely made a slight modification to the Parent VM. Remember the Parent VM can have multiple snapshots used by multiple desktop pools. This means you don't have to maintain a separate Parent VM for each different type of desktop pool you have – just a different snapshot for each desktop pool you maintain.
Again as with Refreshing desktop you can schedule when this event will occur and View will orchestrate the whole process of login out users and then will proceed to power off each virtual desktop and delete it. Once all the desktops have been destroy, View sets about creating a brand new set of virtual desktops from a new Replica and Source based on the new snapshot in my case called IE Upgrade. During this process you should eventually see the old Replica and Source files are unregistered and deleted.
This is clearly a very intrusive task to the end-users, but saves time because you don't have to create a new pool with new settings every time you need to make a change.
GETTING STARTED WITH VMWARE VIEW 4
Part 1: What's new with VDI?
Part 2: Installing VMware View
Part 3: Publishing individual virtual desktops
Part 4: Publishing virtual desktop pools
Part 5: Basics of VMware Composer and linked clones
Part 6: Managing linked cloned desktop pools
Part 7: Using a Virtual Desktop offline
Part 8: Desktop restrictions with group policy objects
Part 9: Installing Connection and Security servers
Part 10: Creating and applying certificates
Part 11: Application virtualization
|ABOUT THE AUTHOR:|
| Mike Laverick
Mike Laverick is a professional instructor with 15 years experience in technologies such as Novell, Windows and Citrix, and he has been involved with the VMware community since 2003. Laverick is a VMware forum moderator and member of the London VMware User Group Steering Committee. In addition to teaching, Laverick is the owner and author of the virtualization website and blog RTFM Education, where he publishes free guides and utilities aimed at VMware ESX/VirtualCenter users. In 2009, Laverick received the VMware vExpert award and helped found the Irish and Scottish user groups. Laverick has had books published on VMware Virtual Infrastructure 3, VMware vSphere4 and VMware Site Recovery Manager.