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
Requires Free Membership to View
When you register, you’ll also receive targeted alerts from my team of editorial writers and independent industry experts with the latest news, tips, and advice to help you do your job more efficiently and effectively. Our goal is to keep you informed on the hottest topics and biggest challenges faced by IT professionals today working with desktop virtualization technology.
Cathleen A. Gagne, Senior Editorial Director- 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
- Select the Edit Image… link (Figure 1)
- 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
Figure 1 (click to enlarge)
Figure 2
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.
| 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. |
This was first published in January 2010