VMware Cloud Community
koupr01
Contributor
Contributor

Patching templates - Best Practices ?

Hello,

I am quite new tothe VMware virtualization and was wondering what is the best way to regurally and automatically patch templates for creating new virtual machines. What I want to do is to provide a library of VM templates and be sure that anyone who deploy new machine out of these template will get compliant machine with all necessary patches installed. I can think out two possibilities:

  1. Use Update Manager. Update manager is able to patch offline images, templates including. Problem is that downloading patches from shavlik.com site which is the only site I can download patches for offline patching from doesn't work in my company due to the restrictive policy on our proxy server. Although this is probably solvable with certain amount of effort, there is the other problem that the patches are available only for Microsoft systems and some Linux distributions (no Ubuntu, no Solaris...) so that wouldn't be an option for these systems anyway.

  2. Use Orchestrator. Automate the patching using VMware Orchestrator. I can imagine something like this: remove template tag --> turn on VM --> somehow initialize patching routine --> turn off VM --> mark the VM as template.
    Here I am not quite sure how difficult would be to do this (especially
    the "somehow intialize patching routine" part, parhaps I would need to
    run sshd daemons on the machines to be able to run command remotely, or
    is this possible via VMware tools?)

What is your opinion on this? How do you do this in your enterprise? Are there any better ways than the above ones to do the patching?

Thanks,

Prema

Reply
0 Kudos
3 Replies
AndreTheGiant
Immortal
Immortal

I think that Updated Manager solution is more clean. It can patch template without give them network access (and this could be very useful if you have, for example, duplicated names).

To solve your proxy problem you can try to use a UM Download Service on a DMZ network.

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos
aCrazyPenguin
Enthusiast
Enthusiast

Hi, I would go with Update Manager as the best solution.

-


a CraZy PeNguIn

------------------------- Andy Wood - VCP3 & 4 . MCITP:EA . MCSE:S . CCA . CCNA . Sec+ http://www.acrazypenguin.com If you find this answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
malaysiavm
Expert
Expert

I will prefer update manager. It allow you to schedule the timing to run the patch on specify virtual machine. at the same time, you can pre-define snapshot to be taken on the virtual machine or templates, and configure the retention period before the snapshot been auto remove. Simple and straight forward.

Craig

vExpert 2009

Malaysia VMware Communities -

Craig vExpert 2009 & 2010 Netapp NCIE, NCDA 8.0.1 Malaysia VMware Communities - http://www.malaysiavm.com
Reply
0 Kudos