For the complete documentation index, see llms.txt. This page is also available as Markdown.

Brain deployment in Libvirt

How to download the KVM Brain QCOW2 disk images and deploy them for use with Libvirt.

Downloading the latest Brain QCOW2 image

The current Brain .qcow2 image can be downloaded from the Vectra Customer Support Portal after logging in.

  • Click on the Download tab.

  • Click on the KVM (Generic) .qcow2 Brain Image and then the File: Download link.

    • A SHA256 hash is also provided to allow you to verify the download completed successfully.

Always download a current copy when you go to deploy a new Libvirt Brain for your organization. This will save time during deployment as fewer updates will need to be downloaded after deployment. Download this file onto the Libvirt host onto which it will be deployed.

Deploying the Libvirt Brain

Once downloaded, the machine image can be placed in the directory of your choice and uncompressed. It is a tar file. On an Ubuntu machine the tar -xf command will uncompress the file fully. Using other tools may require 2 steps.

The script to start the deployment is vectra-vhe.sh which has help that can be displayed as shown below:

Execute the script to begin the deployment:

  • As you can see in the above output, you will need to select some options:

    • VM configuration - See the Performance and KVM Requirements in the earlier section of this guide for details on the expected performance and resource requirements for each configuration.

    • management NIC – Which NIC to use for the management interface of the Brain.

  • Your KVM Brain will start automatically once the deployment script has finished.

32 Core NUMA Configuration

Please Note:

This section applies to the 32 core Brain only. No changes are required for other Brain sizes.

Please expand to learn how to modify the NUMA configuration for 32 core Brains

Please Note:

The 32 core Brain only supports 1 or 2 NUMA nodes. If the virtual NUMA configuration is incorrect, you might experience one of the following symptoms:

  • Reduced Brain performance

  • The VM reboots frequently, every 3 to 4 min

  • The output of show system-health at the CLI of your Libvirt Brain contains a message about NUMA

If your Libvirt host has more than one NUMA node, you might need to manually edit the machine definition to place the Brain's vCPUs in the correct host NUMA nodes. There are no built-in tools in Libvirt for creating NUMA node mappings, so you will have to modify the domain XML definition yourself. For more information, see CPU Tuning and NUMA Node Tuning in the Libvirt domain XML format documentation.

For example, this host has enough memory and cores to run the Brain, but each NUMA node has less than 32 cores, so the Brain needs to be configured with two NUMA nodes.

For this example, you would need to run virsh edit <brain vm name> and add the following XML to the Libvirt domain definition:

If the Brain was already running, make sure the changes are applied by running virsh shutdown <brain vm name> followed by virsh start <brain vm name>.

Last updated

Was this helpful?