WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple
You are here: Home / Automation / vCenter Server 6.0 Tidbits Part 5: New method of patching the VCSA/PSC

vCenter Server 6.0 Tidbits Part 5: New method of patching the VCSA/PSC

04.17.2015 by William Lam // 9 Comments

In previous releases of the VCSA, patching and updating of the VCSA was performed through what was known as the VAMI interface which provided both a UI as well as a command-line which I have blogged about here. The simplest and easiest method was of course using the UI which just required opening a browser to https://[VCSA]:5480 as seen in the screenshot below.

UPDATE (09/04/15) - In vSphere 6.0 Update 1, URL based patching is now available. You can find more details here.

patching-vcsa-6.0-0
In the VCSA 6.0, the old VAMI UI interface no longer exists and to update/patch the VCSA you will need to use the appliancesh command-line interface. There is a command called "software-packages" which is used to update/patch the software on the VCSA. This information is also documented here.

patching-vcsa-6.0-2
VMware just recently released a patch update to vSphere 6.0 and one of the updates is applicable to VCSA (Embedded) and VC/PSC (External) as noted in this VMware KB 211640. There are two patches (Third Party & Bug/Security Fix) which are available as an ISO which can be downloaded from here.

patching-vcsa-6.0-1
Before you can apply the patch/update, you will need to mount the patch ISO to your VCSA/PSC using either the vSphere C#/Web Client as you would with any other ISO. The second step is to login to the VCSA/PSC and if you have disable the appliancesh, you just need to type "appliancesh" and you will be prompted to login with your root credentials.

Once logged into the applianesh, the software-packages supports two options:

  • Stage patches from ISO and then install
  • Stage patches from ISO and install at a later time

If you wish to perform the update/patch in a single step by staging and installing, you can run the following command:

software-packages install --iso --acceptEulas

patching-vcsa-6.0-3
If you wish to only stage the patches but not install, you can do so by running the following command:

software-packages stage --iso --acceptEulas

Once you are ready to install the staged patches, you will need to run the following command:

software-packages install --staged

  • vCenter Server 6.0 Tidbits Part 1: What install & deployment parameters did I use?
  • vCenter Server 6.0 Tidbits Part 2: What is my SSO Domain Name & Site Name?
  • vCenter Server 6.0 Tidbits Part 3: Finding all deployed Platform Services Controller
  • vCenter Server 6.0 Tidbits Part 4: Finding all deployed vCenter Servers
  • vCenter Server 6.0 Tidbits Part 5: New method of patching the VCSA
  • vCenter Server 6.0 Tidbits Part 6: Customizing VCSA’s DCUI
  • vCenter Server 6.0 Tidbits Part 7: Connecting to SSO/PSC using JExplorer
  • vCenter Server 6.0 Tidbits Part 8: Useful ldapsearch queries for vmdird
  • vCenter Server 6.0 Tidbits Part 9: Creating & managing SSO users using dir-cli
  • vCenter Server 6.0 Tidbits Part 10: Automating SSO Admin configurations
  • vCenter Server 6.0 Tidbits Part 11: Automate SSO Admin password change
  • vCenter Server 6.0 Tidbits Part 12: New methods of downloading Support Bundles for VCSA / PSC

More from my site

  • Automating post-configurations for both PSC & VCSA 6.0u1 using appliancesh
  • How to change the default ports on the vCenter Server Appliance in vSphere 6.0?
  • How to automatically repoint & failover VCSA to another replicated Platform Services Controller (PSC)?
  • Which Platform Services Controller (PSC) is my vCenter Server pointing to?
  • How to upgrade from VCSA 5.x & 6.x to VCSA 6.0 Update 1?

Categories // Automation, VCSA, vSphere 6.0 Tags // appliancesh, platform service controller, psc, software-packages, vami, VCSA, vcva

Comments

  1. *protectedandreacasini says

    04/18/2015 at 5:11 pm

    Hi William,

    with VAMI it was also possible to check for updates straight from the internet, is this option still valid somehow? That was such a nice feature...

    Reply
    • William Lam says

      04/18/2015 at 9:43 pm

      Agreed, definitely useful feature and one that I miss myself. Currently that capability is not available but is something that Engineering is looking at for a future update.

      Reply
  2. *protectedChad Skinner says

    04/22/2015 at 11:32 pm

    Thanks for the great post! Stupid question. Once you get the "Reboot is required to complete the installation" message, what is the command to reboot the VCSA when you are connected via SSH?

    Reply
    • William Lam says

      04/23/2015 at 5:42 am

      shutdown -r now

      Reply
      • *protectedMatt says

        04/23/2015 at 3:28 pm

        "reboot" should also work.

        Reply
      • *protectedChad Skinner says

        04/23/2015 at 4:50 pm

        Without enabling BASH it looks like this is the required command:

        {{{
        Command> shutdown reboot -r patch

        Broadcast message from root (pts/0) (Thu Apr 23 23:42:33 2015):

        patch
        The system is going down for reboot NOW!
        }}}

        "usage: shutdown reboot [-h] [-d DELAY] -r REASON
        shutdown reboot: error: argument -r/--reason is required"

        Reply
  3. *protectedBrian says

    04/23/2015 at 5:05 pm

    This seems like a step backwards with the appliance. Easy updates through the VAMI UI interface was a big advantage with it's ease of use. Now this makes it more difficult.

    Also, would have been great if 6 added an easier way to backup the appliance databases.

    Reply
  4. *protectedJason Boche (@jasonboche) says

    07/24/2015 at 1:47 pm

    No doubt about it, the previous method was much nicer/cleaner. The promotion of command line tricks violates the spirit of "appliance" IMO.

    Reply
  5. *protectedKasey says

    09/04/2015 at 6:56 pm

    Does the external PSC need to be patched before the vCenter Server appliance? Can they be patched at the same time?

    Reply

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025

 

Loading Comments...