1.2.4. Packages update

Note

  • Updating from a major release 1 to the next one is not supported. A new major release must be installed from scratch after deinstalling the previous one.

  • Updating is only supported between successive minor releases 2, e.g. VA 1.7 -> 1.8 -> 1.9.

1

first number in the version field, i.e. X in X.Y.Z

2

second number in the version field, i.e. Y in X.Y.Z

Since Virtual Accelerator version 1.9 it is possible to update Virtual Accelerator without deleting the VMs with the following sequence:

  1. Prepare update of the Virtual Accelerator packages:

    1. Save information about existing VMs:

      # virtual-accelerator.sh save
      

      Note

      Since Virtual Accelerator version 1.9.3 this step is not necessary, it is automatically done when the Virtual Accelerator service is stopped.

    2. Stop the Virtual Accelerator service:

      # systemctl stop virtual-accelerator
      
  2. Install Virtual Accelerator packages:

    Follow the procedure described in Packages installation

  3. Reestablish connection with existing VMs:

    1. Restart the Virtual Accelerator and Open vSwitch services:

      # systemctl start virtual-accelerator
      # systemctl restart openvswitch
      
    2. Restore information about existing VMs:

      # virtual-accelerator.sh restore
      

      Note

      Since Virtual Accelerator version 1.9.3 this step is not necessary, it is automatically done when the Virtual Accelerator service is started.

Note

No change must be done on the VMs (creation, suspend …) during the Virtual Accelerator update to allow a reconnection of these VMs after the update.

Warning

Minimal version of QEMU to update Virtual Accelerator without deleting the VMs is 2.12.