Update VCSA 7 with iso and cli

  1. Download patch iso of VCSA from VMware
  2. copy iso to a datastore
  3. mount iso in VM from that datastore
  4. login with ssh to VCSA
  5. in the application menu use following three commands:
    1. software-packages stage --iso
    2. software-packages list --staged
    3. software-packages install --staged



Update VCSA 7 with default url and cli

  1. login with ssh to VCSA
  2. in the application menu use following three commands:
    1. Command> update.set --currentURL default
    2. Command> software-packages stage --url --acceptEulas
       
       [2021-10-25 05:30:27,652] : Discovering updates...
       [2021-10-25 05:30:36,401] : UpdateInfo: Using product version 7.0.3.00000 and build 18700403
       [2021-10-25 05:30:36,401] : Target VCSA version = 7.0.3.00100
       [2021-10-25 05:30:48,592] : Downloading RPM VMware-Postgres-upgrade-11-13.3.0-18202630.x86_64.rpm
      ...
      ...
      downloading the update rpms now
      ...
      ...
       [2021-10-25 05:34:23,114] : Staging completed successfully.
       
       [2021-10-25 05:34:23,114] : Staging process completed successfully
    3. Command> software-packages validate
       
       [2021-10-25 05:36:34,123] : Validation process completed successfully
    4. Command> software-packages install --staged
       
       [2021-10-25 05:39:48,856] : update is already staged. Proceeding to install.
       
       [2021-10-25 05:39:59,231] : Installing version: 7.0.3.00100
       [2021-10-25 05:40:05,469] : Running precheck ....
       [2021-10-25 05:40:08,475] : Validating user input ....
       [2021-10-25 05:40:13,484] : Preparing system for update ....
       [2021-10-25 05:40:18,493] : Running test transaction ....
       [2021-10-25 05:41:37,641] : Stopping services ....
       [2021-10-25 05:42:56,788] : Extracting script information from rpms ....
       [2021-10-25 05:42:59,795] : Installing RPM vmware-vlcm-7.0.3.00100-9279179.x86_64.rpm ....
      ...
      ...
      Installing RPMs
      ...
      ...
       [2021-10-25 05:46:40,757] : Installing RPM VMware-Postgres-upgrade-10-13.3.0-18202630.x86_64.rpm ....
       [2021-10-25 05:50:30,687] : Converting data as part of post install ....
       [2021-10-25 06:13:03,401] : Installation completed successfully.
       [2021-10-25 06:13:03,401] : Installation process completed successfully.
      Command> Connection to 172.16.0.12 closed by remote host.



Update VCSA 8 RDU

Reduced Downtime Upgrade (RDU) is a new mechanism introduced for upgrading the self-managed vCenter Servers with decreased downtime. Self-managed vCenter Server is one that manages its own ESXi host and its own virtual machine. This does not require a jump host to mount the ISO but the vCenter ISO needs to be mounted on the CD-ROM device of the vCenter Server Virtual Machine. The Workflow is integrated inside the vCenter Server itself. 


https://kb.vmware.com/s/article/92659