Both sides previous revisionPrevious revisionNext revision | Previous revision |
vmware:vcsa8:start [2023/04/28 09:37] – js | vmware:vcsa8:start [2024/02/08 05:49] (current) – js |
---|
====== Update VCSA 8 with iso and cli ====== | ====== Virtual Center Appliance 8 ====== |
| |
- Download patch iso of VCSA from VMware | * [[vmware:vcsa8:updatecli|Update VCSA with cli]] and ISO or default URL |
- copy iso to a datastore | * [[vmware:vcsa8:chgrootpw|Change to already used root password]] |
- mount iso in VM from that datastore | * [[https://kb.vmware.com/s/article/90561|How to Replace Expired Certificates on vCenter Server using Fixcerts Python Script (90561)]] |
- login with ssh to VCSA | * [[https://williamlam.com/2024/02/automating-certificate-manager-cli-operations-in-vcenter-server-vcsa.html|Automating certificate-manager CLI operations in vCenter Server (VCSA)]] |
- in the application menu use following three commands: | |
- <code bash>software-packages stage --iso</code> | |
- <code bash>software-packages list --staged</code> | |
- <code bash>software-packages install --staged</code> | |
\\ | |
\\ | |
| |
====== Update VCSA 8 with default url and cli ====== | |
| |
- login with ssh to VCSA | |
- in the application menu use following three commands: | |
- <code bash>Command> update.set --currentURL default</code> | |
- <code bash>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 | |
</code> | |
- <code bash>Command> software-packages validate | |
| |
| |
[2023-04-28 09:36:27,051] : Validation process completed successfully | |
</code> | |
- <code bash>Command> software-packages install --staged</code> | |
<code> | |
</code> | |