This is an old revision of the document!


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:
    software-packages stage --iso
    software-packages list --staged
    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:
Command>update.set --currentURL default
  1. 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
  2. Command> software-packages validate
    
     [2021-10-25 05:36:34,123] : Validation process completed successfully