Following an upgrade, we recommend leaving all images and CDS data for the downlevel version in place for a period of time, in case you find a problem with the uplevel version and you wish to roll the VMs back to the downlevel version. This is referred to as an acceptance period.
After the acceptance period is over and no problems have been found, you can optionally clean up the data relating to the downlevel version to free up disk space on the VNFI, the SIMPL VM, and the TSN nodes. Follow the steps below for each group (node type) you want to clean up.
Only perform these steps if all VMs are running at the uplevel version.
You can query the versions in use with the
After performing the following steps, rollback to the previous version will no longer be possible.
Be very careful that you specify the correct commands and versions. There are similarly-named commands that do different things and could lead to a service outage if used by accident.
During the upgrade, you stored the downlevel configuration in
and the uplevel configuration in
Once the upgrade has been accepted, update
/home/admin/current-config to point at the now current config:
rm -rf /home/admin/current-config mv /home/admin/uplevel-config /home/admin/current-config
csar delete-images --sdf <path to downlevel SDF> command to remove images from the VNFI.
csar remove <CSAR version> to remove CSARs from the SIMPL VM.
Refer to the SIMPL VM documentation for more information.
Do not remove the CSAR for the version of software that the VMs are currently using - it is required for future upgrades.
Be sure to use the
rvtconfig delete-node-type-retain-version command
to remove CDS data relating to a particular node type
for all versions except the current version.
Be sure to use the
rvtconfig list-config command
to verify that the downlevel version data has been removed.
It should show that configuration for only the current (uplevel) version is present.
We recommend cleaning up Rhino-generated keyspaces in the
Cassandra ramdisk database
from version(s) that are no longer in use.
rvtconfig remove-unused-keyspaces command to do this.
The command will ask you to confirm the version in use, which should be the uplevel version. Once you confirm that this is correct, keyspaces for all other versions will be removed from Cassandra.