Upgrading VCSA with CLI is not so difficult as you could think. We need just six steps to reach the goal.
- Download patch from here.
- Upload to a datastore the iso file downloaded before anche connect to the VCSA appliance.
- Connect to the VCSA with SSH and run the following commands.
software-packages stage --iso.
software-packages list --staged.
software-packages install --staged.
Following the command explanation.
Command> software-packages stage --iso
You can see that the ISO has been succesfylly mounted. After that you need to hit shift till the end and accept EULA
At the end, if you have accepted the EULA, you will see this output: “Staging process completed successfully”
After the packeges have been staged, you can again verity which packages will be installed with the following command.
software-packages list --staged
This will list out which packages, respective which version and build number has been staged to install it.
If everything is ok, you can go ahead installing the staged packages, with the following command.
software-packages install --staged
will be prompt to insert SSO password
If the SSO password is correct, you will see an output like thisone.
At the end a message “Packages updated successfully” is shown. Could be required even a reboot.