VMware Horizon Community
Guv
Enthusiast
Enthusiast

VDI Provisioning Best Practice

We are using vmware view 4.6 and needs to some advice on best practices.  We have a desktop pool already setup.  We have a template setup where all the desktop pools are based on.  The pool attributes are automated, and floating.  We also have connected it to our virtual centre.

We need to install some updates on the parent template, so that they can deployed on all the Virtual desktops.  So what I was going to do was change the template to a VM, make the changes, then change back to a template.  Then disable provisioning.  Check there are no open sessions.  Then in virtual centre, delete all the desktops in this pool.  Once all deleted, then enable provisioning again, to allow the desktops to be created again based on the new changes made to the template.

Is this the best way to do this.  All the desktops need the new changes applied to the template.  Is there any other automated function to do this.

Reply
0 Kudos
9 Replies
Linjo
Leadership
Leadership

Look at the "Recompose" function, that is probably what you are looking for.

// Linjo

Best regards, Linjo Please follow me on twitter: @viewgeek If you find this information useful, please award points for "correct" or "helpful".
Reply
0 Kudos
Guv
Enthusiast
Enthusiast

thnaks for that.

Where would I find the recompose function in the admin console, cant seem to see it anywhere

Reply
0 Kudos
mittim12
Immortal
Immortal

If you go into the properties of one of your linked clone pools you should see a View Composer tab.   If you click on this tab you would have the options of Refresh, Recompose, and Rebalance.     The reccompose feature will ask you to pick a snapshot and then your VMs will be updated to that snapshot.  

Don't forget to edit your pool settings and select the new snapshot too.  This will make sure all of your new VM's created will have the latest image on them. 

Reply
0 Kudos
caryers
Contributor
Contributor

Within the View admin GUI,

  • Under Inventory
  • Pools
  • Highlight the media pool in question.
  • Select Edit from the menu button above.
  • A Media Pool Edit window should come up. Access the "vCetner Settings" tab.
  • Select your new snapshot. (Be sure your snapshot was taken when the VM was powered off.)
  • Modify any other customizations in this Edit Window for the media pool and select OK. This Edit window will close.
  • Double clik on your desired Media Pool in question.
  • Select the "View Composer" button and select Recompose. Your settings should already be in place from the tests above.
  • After you acknowledge the new settings. Select OK and off it goes...
Reply
0 Kudos
Guv
Enthusiast
Enthusiast

I forgot to mention that we dont use linked clones, does that mean there is no other way around to do this.

Thanks

Reply
0 Kudos
mittim12
Immortal
Immortal

If you are using full desktops then you will have to delete the desktops and reprovision as your first post alluded to or find some means of distributing the updates such as SCCM.

Reply
0 Kudos
caryers
Contributor
Contributor

"Recompose" is a term that goes hand-n-hand with persistent or non-persistent linked clones. 

As Mittim12 indicated, you will have to delete the VMs that recreate them.

Reply
0 Kudos
uday_s
Enthusiast
Enthusiast

It's going to be a tedious task for you, everytime you need to delete the desktops to apply the updates. Why don't you plan to deploy linked clone pools and use "Recompose" feature.

Reply
0 Kudos
kgsivan
VMware Employee
VMware Employee

Template (snapshot) based pool management is only available for View Automated linked clone pools.

In such case use can avail benefits of all maintenance operations like recompose , rebalance and refresh. User data redirection will be another added advantage.

Refer VDI Best Practice Guide

This technical guide provides guidelines for architecting, deploying and managing VMware View (VDI).
This also talks about how you can simplify virtual storage, and tackle issues such as boot storms, antivirus storms, and efficient OS application.
Reply
0 Kudos