Tools to Manage and Update Images
A number of tools are available to help manage and update images and insert ISO to the Virtual Machine (VM).
Upgrade the CVP Image
The easiest way to upgrade the CVP Image is perform a CVP Fast Upgrade. This upgrade option does not require that the VMs be redeployed, and does not result in loss of the logs.
To use the CVP fast upgrade option, complete the procedure in the “Fast Upgrades” section of the Backup & Restore, Upgrades, DNS / NTP Server Migration chapters in the CVP Configuration Guide.
If it is not possible for you to use the CVP fast upgrade option, use the procedure in Redeploy CVP VM Tool.
Redeploy CVP VM Tool
- Something goes wrong during deployment.
- If you want to do a destructive upgrade. Used to delete the virtual CVP disks.
Redeploy CVX VM Tool
- Something goes wrong during deployment.
- You need to perform a destructive upgrade, which deletes the virtual CVX disks.
Disk Expansion and Conversion For CloudVision VM
Cloud Vision VMs virtual disks are shipped in qcow2 format and the data disk size is 1TB by default. For better scale and performance, it is recommended that the virtual disks be converted to raw format and data disk expanded to a size more appropriate to the expected scale. At max scale supported today, we recommend a 4.5TB /data disk.
The tool can be run as /cva/scripts/cvaDiskUtil.py. It supports three commands:
/cva/scripts/cvaDiskUtil.py[status]
/cva/scripts/cvaDiskUtil.py makeraw [--quiet]
/cva/scripts/cvaDiskUtil.py expand [--disk-size DISK_SIZE]
DISK_SIZE can be in KB, MB, GB or TB
Upgrade the Host Image
Arista provides an ISO with all updated packages and a tool to mount the images ISO and upgrade the system.
Single-node Configurations
Use the following procedure to upgrade a single-node CV Appliance configuration.
Complete the following steps to upgrade single-node CV Appliance configurations.
Multi-node Configurations
A rolling upgrade should be done when upgrading multi-node CV Appliance configurations.
The steps you use are the same as those used for single-node configurations, except that you must repeat the procedure for each node.
- Login to one of the CV Appliance hosts.
- Complete the upgrade using the steps in the procedure. (Make sure you follow the rules in the Important! notice below when performing the upgrade.)
- Wait until all CVX and CVP VMs are up and running before you begin the upgrade on the next host.
- Upgrade only one CV Appliance host (machine) at a time.
- Wait until each host machine is upgraded and all CVX VMs and CVP VMs are fully up and running before upgrading the next host in the cluster.
CVP takes approximately 20 minutes to be fully accessible after the system reboot (running the upgrade script, which is done near the end of the procedure, automatically reboots the system). Verify that CVP is accessible before upgrading your multi-node cluster configuration's next CV Appliance host.
Complete the following steps to upgrade multi-node CV Appliance configurations.