vSAN Data Protection Appliance config UI does not support upgrade. Manual steps are required to upgrade it to new patches.
vSAN Data Protection Appliance
# mkdir -p /mnt/drive
# mount -o loop snapservice_appliance-8.0.3.1-xxxxxx.iso /mnt/drive
# ls
bin update
# cd update/
# ls
manifest package-pool repodata update-non-lvm.sh
# ./update-non-lvm.sh precheck /mnt/drive/update
Mon Dec 30 05:25:30 AM UTC 2024: Running Appliance Update script ./update-non-lvm.sh
Please input root password:
Execute precheck action
Check cap-workflow-engine is running
Authentication
Registering credential for root
Done registering credential for root
Precheck appliance
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 349 100 178 100 171 1551 1490 --:--:-- --:--:-- --:--:-- 3061
{
"workflowName": "cap-non-lvm-update-precheck",
"instanceId": "d15f959d-00d7-4442-9e1f-9a5e3a4beeb3",
"task": "update-precheck",
"status": "Running",
"message": "Running",
"progress": "0%"
}
Check status
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 169 100 169 0 0 93010 0 --:--:-- --:--:-- --:--:-- 165k
{
"workflowName": "cap-non-lvm-update-precheck",
"instanceId": "d15f959d-00d7-4442-9e1f-9a5e3a4beeb3",
"task": "",
"status": "Completed",
"message": "Completed",
"progress": "100%"
}
# ./update-non-lvm.sh update /mnt/drive/update
Mon Dec 30 05:25:50 AM UTC 2024: Running Appliance Update script ./update-non-lvm.sh
Please input root password:
Execute update action
Check cap-workflow-engine is running
Authentication
Registering credential for root
Done registering credential for root
Update appliance
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 316 100 154 100 162 5826 6128 --:--:-- --:--:-- --:--:-- 12153
{
"workflowName": "cap-non-lvm-update",
"instanceId": "da8971b4-9fa5-47d5-b114-42fba30d1c58",
"task": "",
"status": "Running",
"message": "Running",
"progress": "0%"
}
Check status
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 194 100 194 0 0 89236 0 --:--:-- --:--:-- --:--:-- 97000
...
Progress: 72%, running
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 192 100 192 0 0 1764 0 --:--:-- --:--:-- --:--:-- 1761
Progress: 81%, running
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 160 100 160 0 0 112k 0 --:--:-- --:--:-- --:--:-- 156k
{
"workflowName": "cap-non-lvm-update",
"instanceId": "da8971b4-9fa5-47d5-b114-42fba30d1c58",
"task": "",
"status": "Completed",
"message": "Completed",
"progress": "100%"
}
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4c883c2cb659 harbor-repo.packages.vcfd.broadcom.net/snapservice/snapshot-service:8.0.3.1 "/snapshot-service -…" 58 seconds ago Up 46 seconds (healthy) 0.0.0.0:8088-8089->8088-8089/tcp, :::8088-8089->8088-8089/tcp, 0.0.0.0:8098-8099->8098-8099/tcp, :::8098-8099->8098-8099/tcp app-snapservice-1
3e2b5b49b880 dockerhub.packages.vcfd.broadcom.net/postgres:14.2 "docker-entrypoint.s…" 59 seconds ago Up 55 seconds (healthy) 5432/tcp, 0.0.0.0:5433->5433/tcp, :::5433->5433/tcp app-mock-db-1
d037e2df2f97 dockerhub.packages.vcfd.broadcom.net/postgres:14.2 "docker-entrypoint.s…" 59 seconds ago Up 55 seconds (healthy) 0.0.0.0:5432->5432/tcp, :::5432->5432/tcp
# cat /etc/vmware/cap/product.info
{
"product_name": "VMware SnapshotService Appliance",
"version": "8.0.3.1",
"build_number": "xxxxxx"
}
#cat /opt/vmware/etc/appliance_versionn
version:8.0.3.1
build:xxxxxx