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:
    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.  [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
    5.  [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 ....