Installing REVEN inside a VM

This section provides guidelines to install REVEN in a virtual machine.

Tetrane provides disk images in various formats, in order to support multiple hypervisors and configurations. Tetrane does not provide directly importable VM files, so you will need to setup a VM in your hypervisor to use this disk.

This page describes the common principles and steps for the installation or the upgrade of a REVEN version. Subsections will provide hypervisor-specific step-by-step instructions.

The latter subsections may not be exhaustive - please inform Tetrane if you think some specific hypervisor or version should be documented here.

Requirements

  • The REVEN VM must be able to run VMs itself. Nested virtualization must be supported by the hypervisor and the host CPU.
  • REVEN's requirements apply on the guest VM, with the caveat that REVEN's data must be stored on a dedicated VM disk, whose image itself is stored on a fast drive as required.

Installation

VM Creation

In order to install REVEN in a VM, you must:

  1. Download the REVEN VM installation disk (links in the purchase email).
  2. Create your VM accordingly (see below for the step-by-step instructions per hypervisor). This will include:
    1. Creating a new VM in your hypervisor and attaching the downloaded REVEN disk,
    2. Creating and attaching a second disk image for actual storage of REVEN's data,
      • IMPORTANT: see the disk requirements - this storage disk file must be stored on a fast, flash-type disk.
    3. Activating the nested virtualization which is usually off by default,
    4. Configuring the network so that the host can access the VM's network services.

REVEN VM creation

Note that regardless of your specific configuration, the VM must detect the disks as follows:

  • REVEN's disk image must be found at /dev/sda
  • The created data storage disk must be found at /dev/sdb

Here are more detailed instructions for various hypervisors:

Follow the instructions from one of these pages, then proceed to the next step.

First boot

Once your VM is properly configured, you can boot it up for the first time. The REVEN disk image will:

  • Initiate a setup wizard for various items such as the keyboard,
  • Properly detect the storage disk,
  • Initialize the REVEN installation.

REVEN VM initialization

IMPORTANT: Note that once initialization is complete, the data storage disk has also been initialized and cannot be replaced with a new empty disk.

Moreover, any time you start the VM, it will check the configuration meets REVEN's requirements on CPU count and RAM size.

If everything was configured properly, you will see the VM's welcome screen:

REVEN VM booted

Your REVEN VM is now properly configured, you can finalize the installation by installing your REVEN license.

Usage specificities of REVEN in a VM

Connection

You can use REVEN by pointing a browser to the URL shown in the VM's welcome screen.

Storage disk growth

Throughout your usage of REVEN, the storage disk will grow in size:

REVEN VM usage

If this disk ends up too small for your usage (and you cannot clean up past projects), you can expand it:

  1. Properly shut the REVEN VM down (ACPI shutdown in your hypervisor).
  2. Using your hypervisor's tools or setting pages, grow the storage disk file.
  3. Boot the VM back up: it will automatically detect that the underlying disk has grown and resize the filesystem to accomodate the available space.

Upgrading REVEN

When a new version of REVEN comes out, you can simply upgrade your VM following the procedure below. Note that custom changes made to the system of your REVEN VM will have to be made again after the upgrade (installation of VM tools for example, installation of utilities, etc.) as the disk containing the OS will be replaced.

  1. Download the new REVEN disk image corresponding to your hypervisor.
  2. Properly shut the REVEN VM down (ACPI shutdown in your hypervisor).
  3. Using your hypervisor's setting pages, replace the REVEN disk image with the newly downloaded one.
    1. Make sure the new disk image takes the exact same spot hardware-wise, so that it is still detected as /dev/sda
    2. Keep the existing storage disk as is.
  4. Boot the VM back up:
    1. It will take you through the setup wizard again.
    2. It will detect the existing installation in the storage disk & upgrade it to the new version.
  5. Note that, if necessary, you will still have to migrate each scenario to the newer version via REVEN's Project Manager as with any other installation.

REVEN VM usage