VMware vSphere

 View Only
  • 1.  Scheduled update of VMware Tools

    Posted Jul 27, 2017 01:07 PM

    Given a vSphere 5.5 infrastructore based on ESXi 5.5 hosts hosting Microsoft Windows Server VMs, is there any way to schedule the update of VMware Tools inside each single VM (and the related reboot) to happen during the night, using a scheduled task, a PowerShell job or anything like?

    Regards

    marius



  • 2.  RE: Scheduled update of VMware Tools

    Posted Jul 27, 2017 01:25 PM

    Do you have Update manager in environment? If yes, then refer to point 4 in Six Methods for Keeping VM Tools Up to Date - VMware vSphere Blog

    Or you can automate to upgrade tools at next power cycle of each VM.



  • 3.  RE: Scheduled update of VMware Tools

    Posted Jul 27, 2017 08:03 PM

    Hello Marius,

    This is two steps job.

    First  -- Configure the "Check and update Tools during power cycle" from the Update manager.

    For reference - VMware vSphere 5.1

    Second - Create a Scheduled Task in the vSphere Web Client

    For reference - VMware vSphere 5.1

    Rgds

    -Harjit

    vmwars.wordpress.com

    Like, Mark as helpful or Answered if found Ok



  • 4.  RE: Scheduled update of VMware Tools

    Posted Jul 31, 2017 09:13 AM

    We don't use Update Manager.

    Does the suggested solution worh without Update manager?

    Is there any alternate solution, maybe based on PowerCli?

    Regards

    marius



  • 5.  RE: Scheduled update of VMware Tools

    Posted Jul 31, 2017 01:34 PM

    You can login to the vSphere client to vCenter and you can find the option of Scheduled tasks - > You can create a task for the virtual machines to update VMware tools (you can schedule it or you can ask it to update it when next restart etc).

    Honestly, I have not tried if it works for single VM. You can give it a shot in a test environment or lab before trying in production.

    Thanks,

    MS



  • 6.  RE: Scheduled update of VMware Tools

    Posted Aug 01, 2017 10:56 AM

    Many thanks for your answer.

    In scheduled taskt I don't see any option to create a task to update VMware Tools.

    Can yopu please tell me which kind of task I should use?

    Regards

    marius



  • 7.  RE: Scheduled update of VMware Tools

    Posted Aug 01, 2017 01:19 PM

    Can you check under the scan for updates option if the VMware tools is available. You can also try the steps in the below VMware blog

    Six Methods for Keeping VM Tools Up to Date - VMware vSphere Blog