With the recent release of the Horizon suite of products (YouTube video), I wanted to share my thoughts on master image maintenance. Keep in mind that official VMware guidance should always be followed and there are a lot of publications already out there around overall design of a Horizon Enterprise solution. Here’s the one I usually point customers/partners to go read first, the “VMware Horizon 7 Enterprise Edition multi-site reference architecture”.
Even if your deployment does not look exactly like this, you might have a portion of that setup in your environment. As an IT admin, if you’ve deployed any virtualization solution, you know that maintaining a pristine Gold Master image is key. Whether it be one or many images to maintain, your operational efficiency will only be as good as your process around maintaining those images, the frequency at which you can update them, the simplicity of that update and speed to turn around and deploy an urgent fix when needed.
Now, let’s look at a solution where you have Horizon, App Volumes and User Environment Manager. VMware has a Knowledge Base article for Agent installation order, 2118048.
So, short version of that article, install the agent in this order:
If you need to install any other agents, keep in mind that you should to do this before you install the App Volumes Agent. App Volumes Agent should always be the last component you install in your gold master Virtual Machine. If that agent is already present, just remember to turn it off (stop the service and disable it), install the other agent you need to install, then turn the App Volumes Agent service back on (enable it and start it).
Once your gold master image (or images) are up to date and the way you like them and need them to be, make sure you take a snapshot. Personally, I usually maintain no more than 1 snapshots, sometime, while during an update, I will go up to 3 snapshots for a Virtual Machine but will clean-up once I’m able to validate that the updates are working fine. The number of snapshots you keep will impact Virtual Machine performance and are not a long term solution (see this product documentation for more info).
Detailed steps of a Virtual Machine Gold Master Image upgrade
Now, let’s cover the steps I follow, when dealing with a VM that has all the agents mentioned above, to update and rollout that new image an environment.
Note: Make sure to login with an account that has no AppStacks or Writable Volumes assignments. Good validation step is to login to App Volumes Manager console first and check assignment of the account you will use to do the update.
Note: I always Disable the service in case there is a required reboot while doing the update.
At this point, I usually have a small Desktop pool of test user where I will rollout this new updated image, ask targeted users to login and work in that image for a period (whatever your UAT process is), then if everything is working fine, will deploy this new image to rest of the environment. Lastly, I will clean-up the snapshots of my environment, making sure that before doing any deletion that I have checked in Horizon Admin console that no Desktop pools are currently using that old snapshots.
Some people will think that the steps above are a bit overkill and some steps could be saved. Yes, sometimes, you might be able to skip 2-3 steps in there but is the risk worth it for a few more minutes? Especially since you might have hundreds, maybe thousands of people rely on that Gold Master image being always “Perfect”!
Let me know what you think about this update process. On my end, I’m still running at a 100% success rate following these steps, hope this helps you as well…