SD-WAN Orchestrator Upgrade - Latest - Minor Upgrade
SD-WAN Orchestrator Upgrade - Latest - Minor Upgrade
https://docs.vmware.com/en/VMware-SD-WAN-by-VeloCloud/3.4/vmware-sd-wan-operator-guide/GUID-495C8232-3D3C-4598-AB72-55ED0D929824.html
Upgrade Announcement: To inform the users of the VCO of the upgrade activity that will be taking place. It can be done any amount of time in
advance as it doesn’t have any impact in the VCO’s operation.
Upgrade Actions: To prevent changes to be pushed while the upgrade is in process. Should be done during the maintenance window where the
update is actually taking place as it affects the VCO’s operation (as mentioned by virtue of not allowing configuration changes to be delivered)
1. From the SD-WAN Orchestrator, select Orchestrator Upgrade from the navigation panel.
2. In the Upgrade Announcement area, type in your message in the Banner Message text box.
A popup message appears indicating that you have successfully created your announcement, and that your banner message displays at the top
of the SD-WAN Orchestrator.
In order to make use of that additional security layer, please make sure to download the respective public key and place it in the following location.
This key should be available to you from the same location where you downloaded the upgrade package.
/var/lib/velocloud/software_update/keys/software.key
mkdir /var/lib/velocloud/software_update/keys
The upgrade command provides options should you wish to bypass the signed package verification (–untrusted) or define a different location for
the public key to use (--pubkey)
Known issues
Upgrade image is automatically deleted after every run of the upgrade command.
Every time that you execute upgrade command "vco_software_update" the image you placed in "/var/lib/velocloud/software_update/" directory. This
means that if by any reason you execute the command but the upgrade is not conducted, for example if you choose to cancel it because you didn't have
the software key in place:
root@vco5:~# /opt/vc/bin/vco_software_update
2022-03-02 15:23:33,999 - UPGRADE - WARNING - Verification key does not exist: /var/lib/velocloud
/software_update/keys/software.key
WARNING: failed to verify package identity. Proceed as untrusted [y/n] [n]: n
2022-03-02 15:23:42,708 - UPGRADE - ERROR - Aborting installation of untrusted package
You will have to copy the image file vco_update.tar again to "/var/lib/velocloud/software_update/" before attempting to run the upgrade command again.
Insufficient disk space when upgrading from a 4.x release lower than 4.3.1 to 4.5 or up
When upgrading from a 4.x release lower than 4.3.1 to 4.5 or up, you may encounter a issue while trying to perform an upgrade due to insufficient disk
space (Bug ID 65998) . If this happens the upgrade will fail to be executed (no harm is done to the running system). You will see the following error ending
the upgrade command execution:
#!/bin/bash
if [[ ! -L "/var/lib/velocloud/software_update" ]]
then
mkdir -p /store2/velocloud
if [[ -d "/var/lib/velocloud/software_update" ]]
then
mv /var/lib/velocloud/software_update /store2/velocloud/
fi
ln -s /store2/velocloud/software_update /var/lib/velocloud/software_update
fi
This will move the directory to /store2, which is a filesystem that should have plenty of space to manage this extra usage.
Once you execute this script, you should be able to proceed with the upgrade process
/opt/vc/bin/vco_software_update
4.1.2 Reboot. The upgrade mechanism will determine if this is required and will ask for it to be performed. The user can chose to perform it immediately
(advised) or at a later time . The following message appears:
/opt/vc/bin/vco_software_update
4.2.2 Reboot. The upgrade mechanism will determine if this is required and will ask for it to be performed. The user can chose to perform it immediately
(advised) or at a later time . The following message appears:
Do not proceed to perform the step below until the reboot (if required) is completed
If you are upgrading from 4.x to a subsequent version (e.g. from 4.0.2 to 4.2.0) please run the following command at this point. This step is not
required in previous versions.
4.2.3 Run the schema update script present on the VCO inside the path: /opt/vc/scripts/ with option -e
/opt/vc/scripts/vco_schema_update.sh -e
#/opt/vc/scripts/vco_schema_update.sh -h
Usage: vco_schema_update.sh [OPTIONS]
Options:
-h, --help Print this help
-d, --dry-run Print update schema query that is going to execute and exit.
-e, --execute Printe update schema query and execute it.
Actual query execution will be carried out by MySQL event scheduler starting in 60 seconds
after executing the query
This script would return immidiately after the execution and delete the schema update sql
file
-s, --status Fetch and print the status of the ongoing scheduler execution
# /opt/vc/scripts/vco_schema_update.sh -s
*************************** 1. row ***************************
Db: velocloud
Name: longRunningOperations
Definer: velocloud-root@localhost
Time zone: SYSTEM
Type: ONE TIME
Execute at: 2022-05-12 07:30:56
Interval value: NULL
Interval field: NULL
Starts: NULL
Ends: NULL
Status: DISABLED
Originator: 1
character_set_client: utf8mb4
collation_connection: utf8mb4_0900_ai_ci
Database Collation: utf8mb4_0900_ai_ci
Final notes:
1. The log of the upgrade process will be located at: /var/log/vco_software_update.log
2. Although not exactly a part of the upgrade process: If a customer doesn’t have the “Enabled on Orchestrator Upgrade” checkbox checked prior to
starting the upgrade process:
Once the upgrade process is done and the customer click on “Complete Orchestrator Upgrade”:
1. Make sure the “Enabled on Orchestrator Upgrade” is checked prior to starting the upgrade process if it is desired that configuration updates are
pushed to Edges once the upgrade is done (I.E return to normal operation)
2. If it is not desired for updates to be pushed to Edges after the upgrade is done and rather the Customer or partner wants to enable this at a later
time. Then leave the checkbox "Enabled on Orchestrator Upgrade" unchecked and then check the "Enabled" checkbox at the times where normal
push of updates and configurations wants to be resumed.