Update VCSA 8 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 8 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
       
       [2023-04-28 09:28:15,303] : Discovering updates...
       [2023-04-28 09:28:22,226] : UpdateInfo: Using product version 8.0.0.10300 and build 21457384
       [2023-04-28 09:28:22,226] : Target VCSA version = 8.0.1.00000
       [2023-04-28 09:28:42,510] : Downloading blob 2ee19690962f0ca56d9430aaa547572b40fd9f8a861bd63d513c6d4694e49c45.blob ....
       [2023-04-28 09:28:44,817] : Downloading blob 2f5673c5d3dcda9c27d0b635da8b44573305c688b481431e6b12c04e3592e84d.blob
       [2023-04-28 09:28:48,826] : Downloading blob 5b36402f9a6b7befc34ae336e99f2fa9296d73118c9531e0ebe6cc822c9b52db.blob ....
       [2023-04-28 09:28:53,838] : Downloading blob 8aa15b736f10a8aa1d3feaa7819c1a93a0ba9b2f124ec01f9f8c02562a7c9556.blob ....
       [2023-04-28 09:29:16,885] : Downloading blob 9729933214e83e79327f3d1fd8f0d3e7a723779861df854186304c8ee8cbb670.blob ....
       [2023-04-28 09:29:18,889] : Downloading blob 98918b7bb00c067e0e07ac06648ed279fea1081c5953755a47844d813a20391d.blob
       [2023-04-28 09:29:22,897] : Downloading blob a334d2151646b8d2d8fc515a8b4ff7a45af3668682b396cf7706e08845581f7a.blob ....
       [2023-04-28 09:29:27,907] : Downloading blob bc205fa456ceec35b1004feadb33a19d2e5d184896d6ff8ded4127208e75862b.blob ....
       [2023-04-28 09:29:29,911] : Downloading blob c62dbd54d990312a0a6502151d18bc3259a1a5fd6e7f79cb8e801c0b92dda1c0.blob
       [2023-04-28 09:29:30,913] : Downloading RPM VMware-Postgres-13.8.0-21219418.x86_64.rpm
       [2023-04-28 09:29:31,916] : Downloading RPM VMware-Postgres-server-13.8.0-21219418.x86_64.rpm
       [2023-04-28 09:29:32,918] : Downloading RPM VMware-Postgres-upgrade-11-13.8.0-21219418.x86_64.rpm
       
      ... downloading all rpms ...
       
       [2023-04-28 09:34:06,876] : Downloading RPM vmware-vsm-8.0.1.00000-11005514.x86_64.rpm
       [2023-04-28 09:34:18,897] : Downloading RPM vsphere-ui-8.0.1.00000-11004915.noarch.rpm ....
       [2023-04-28 09:34:20,916] : Staging completed successfully.
       
       [2023-04-28 09:34:20,916] : Staging process completed successfully
       
    3. Command> software-packages validate
       
       [2023-04-28 09:36:27,051] : Validation process completed successfully
    4. Command> software-packages install --staged
       
       [2023-04-28 09:39:32,852] : Installing version: 8.0.1.00000
       [2023-04-28 09:39:43,109] : Running precheck ....
       [2023-04-28 09:39:48,118] : Validating user input ....
       [2023-04-28 09:39:53,130] : Preparing system for update ....
       [2023-04-28 09:40:00,142] : Running test transaction ....
       [2023-04-28 09:41:09,277] : Stopping services ....
       [2023-04-28 09:41:18,291] : Extracting script information from rpms ....
       [2023-04-28 09:41:23,301] : Installing RPM VMware-spherelet-solution-depot.rpm ....
       [2023-04-28 09:41:25,305] : Installing RPM openssl-1.0.2zg-1.ph3.x86_64.rpm
       [2023-04-28 09:41:27,310] : Installing RPM systemd-239-45.ph3.x86_64.rpm ....
       [2023-04-28 09:41:46,351] : Installing RPM vmware-lwis-6.2.0-21244518.x86_64.rpm ....
       [2023-04-28 09:41:48,354] : Installing RPM expat-2.2.9-11.ph3.x86_64.rpm
       
      ... installing all rpms ...
       
       


      Authors:
      • Jochen Schnürle