Upgrade the Host Image

Arista provides an ISO with all updated packages and a tool to mount the images ISO and upgrade the system.

Make sure you use the correct upgrade procedure based on your current CV Appliance configuration. The two basic upgrade procedures are:

Single-node configurations

Use the following procedure to upgrade a single-node CV Appliance configuration.

Note: Allow 20 minutes for the CVP application to be accessible again after the CV Appliance host comes up. The CV Appliance host will come up after the system reboots (running the upgrade script, which is done near the end of the procedure, automatically reboots the system).

Complete the following steps to upgrade single-node CV Appliance configurations.

  1. Go to arista.com.
  2. Download the mfg tgz tools (arista-cv-<version>-mfg.tgz).
  3. Extract tar -xvf arista-cv-<version>-mfg.tgz. This ensures you have the new version of upgradeCva.py.
  4. Download the update ISO.
  5. Run the upgrade CV appliance tool.
    ./upgradeCva.py -i <Arista Cva Update Iso>
    $ ./upgradeCva.py -h 
    usage: upgradeCva.py [-h] [-i ISO] [--fixNw] [-vm] [-f FORCE]
    
    Upgrade CVA
    
    optional arguments:
    -h, --help show this help message and exit
    -i ISO, --iso ISOPath to ISO
    fixNwFixes CVA network config to what is expected Does not
     touch devicebr config.
    -vm,--vm Used for CVA VM emulation - NOT for HW CVA
    -f, --forceDo what I say. Used for bypassing yes/no question for
     reboot
  6. Use the # version command to verify that the upgrade was successful.

Multi-node configurations

A rolling upgrade should be done when upgrading multi-node CV Appliance configurations.

The steps you use are exactly the same as the steps used for single-node configurations, except that you must repeat the procedure for each node.

The basic steps involved in performing the rolling upgrade are:
  • 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.
Note: Important! To complete the rolling upgrade, you must:
  • Upgrade only one CV Appliance host (machine) at a time.
  • Wait after each host machine is upgraded, until all CVX VMs and CVP VMs are fully up and running before you begin the upgrade on 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 you begin to upgrade the next CV Appliance host in your multi-node cluster configuration.

Complete the following steps to upgrade multi-node CV Appliance configurations.

  1. Go to arista.com.
  2. Download the mfg tgz tools (arista-cv-<version>-mfg.tgz).
  3. Extract tar -xvf arista-cv-<version>-mfg.tgz. This ensures you have the new version of upgradeCva.py.
  4. Download the update ISO.
  5. Run the upgrade CV Appliance tool (see the example below).
    upgradeCva.py -i <Arista Cva Update Iso> 
    $ ./upgradeCva.py -h
    usage: upgradeCva.py [-h] [-i ISO] [--fixNw] [--useLacp] [--reboot] [-f] [-r]
     
    Upgrade base image
     
    optional arguments:
    -h, --help show this help message and exit
    -i ISO, --iso ISOPath to ISO
    fixNwFixes CVA network config to what is expected Does not
     touch devicebr config.
    -vm,--vm Used for CVA VM emulation - NOT for HW CVA
    -f, --forceDo what I say. Used for bypassing yes/no question for
     reboot
  6. Wait until all CVX VMs and CVP VMs are fully up and running. (CVP takes approximately 20 minutes to be fully accessible after the system reboot.)
  7. Use the # version command to verify that the upgrade was successful.
  8. Repeat steps 2 through 7 on each of the remaining CV Appliance hosts you want to upgrade.