How to Deploy Barracuda Email Security Gateway Vx Images
Barracuda Networks offers the following types of images for the Barracuda Email Security Gateway Vx deployment. Follow the instructions for your hypervisor to deploy the Barracuda Email Security Gateway Vx appliance.
Important: To prevent loss of data and configuration, if you are going to upgrade to VMware vmx-19 or higher, it is critical that you contact Barracuda Networks Support to help replace the ESG kernel before you upgrade, or, if you have upgraded already, then this must be done BEFORE you reboot your ESG.
Image Type | Supported Hypervisors |
|---|---|
OVF | |
VMX | |
XVA | |
VHD | |
QCOW2 |
VMware Virtual Hardware Version | Products Supported |
|---|---|
17 | ESXi 7.0 (7.0.0) |
16 | Fusion 11.x, Workstation Pro 15.x, Workstation Player 15.x |
15 | ESXi 6.7 U2 |
14 | ESXi 6.7, Fusion 10.x, Workstation Pro 14.x, Workstation Player 14.x |
13 | ESXi 6.5 |
12 | Fusion 8.x , Workstation Pro 12.x, Workstation Player 12.x |
11 | ESXi 6.0, Fusion 7.x, Workstation 11.x, Player 7.x |
10 | ESXi 5.5, Fusion 6.x, Workstation 10.x, Player 6.x |
9 | ESXi 5.1, Fusion 5.x, Workstation 9.x, Player 5.x |
8 | ESXi 5.0, Fusion 4.x, Workstation 8.x, Player 4.x |
7 | ESXi/ESX 4.x, Fusion 3.x, Fusion 2.x, Workstation 7.x, Workstation 6.5.x, Player 3.x, Server 2.x |
How to Download
Download the image for your hypervisor from the Barracuda Virtual Appliance Download page. After the download is complete, extract the files from the ZIP folder.
Deploy the virtual appliance image as described below. The procedure varies depending on your hypervisor.
Deploy OVF Images
VMware ESX and ESXi 4.x
Use the OVF file ending in -4x. ovf for this hypervisor.
Download and expand the Barracuda Email Security Gateway Vx ZIP folder.
From the File menu in the vSphere Client, select Deploy OVF Template.
Select Import from file, navigate to the extracted folder, and locate the Barracuda Email Security Gateway Vx OVF file. Click Next.
Enter a name for the virtual appliance. Click Next.
Select the resource pool for your virtual appliance. Click Next.
Select a datastore and disk formats. Click Next.
Click Finish.
Follow the recommendations in Allocating Cores, RAM, and Hard Disk Space for Your Barracuda Email Security Gateway Vx.
On the Virtual Machines tab, right-click the Barracuda Email Security Gateway VM that you created. Select Power > Power On to run it.
Follow the Barracuda Email Security Gateway Vx Quick Start Guide instructions to set up your virtual appliance.
VMware ESX and ESXi 5.x and 6.x
Use the OVF file ending in -5x. ovf or in -6x.ovf for this hypervisor .
Download and expand the Barracuda Email Security Gateway Vx ZIP folder.
Launch vSphere Client and select the appropriate host and resource pool.
From the File menu in the vSphere Client, select Deploy OVF Template.
Click Browse, navigate to the extracted folder, and select the Barracuda Email Security Gateway Vx OVF file. Click Next.
Verify that you are installing the correct Barracuda virtual appliance. Click Next.
Enter a name for the virtual appliance. Click Next.
Select the destination storage for the virtual machine. Click Next.
Select a disk format. To ensure maximum stability when deploying your Barracuda Vx appliance, specify the disk format as Thick Provision Eager Zeroed. Click Next.
Map the network to the target network for this virtual appliance. Click Next.
Review the deployment options. Click Finish to deploy the virtual appliance.
Follow the recommendations in Allocating Cores, RAM, and Hard Disk Space for Your Barracuda Email Security Gateway Vx.
Locate the appliance within the appropriate virtual machine and resource pool. Select it and power it on by clicking the green arrow.
Click the Console tab. You can monitor the appliance as it is prepared for use.
Follow the Barracuda Email Security Gateway Vx Quick Start Guide instructions to set up your virtual appliance.
Deploy VMX Images
Use the .vmx and .vmdk files for this hypervisor.
Download and expand the Barracuda Email Security Gateway Vx ZIP folder.
Navigate to the extracted folder and move the files ending in .vmx and .vmdk into a folder in your datastore (which you can locate from the Datastores list on your server's summary page).
From the VMware Infrastructure Web Access client's Virtual Machine menu, select Add Virtual Machine to Inventory.
Navigate to the folder in your datastore used in step 2 and select the file ending in .vmx. Click OK.
Follow the recommendations in Allocating Cores, RAM, and Hard Disk Space for Your Barracuda Email Security Gateway Vx.
Start the appliance.
Follow the Barracuda Email Security Gateway Vx Quick Start Guide instructions to set up your virtual appliance.
Use the .vmx file for this hypervisor.
Download and expand the Barracuda Email Security Gateway Vx ZIP folder.
From the File menu, select Open a Virtual Machine.
Navigate to the extracted folder and select the file ending in .vmx.
Use the default settings and click Finish.
Follow the recommendations in Allocating Cores, RAM, and Hard Disk Space for Your Barracuda Email Security Gateway Vx.
Start the appliance.
Follow the Barracuda Email Security Gateway Vx Quick Start Guide instructions to set up your virtual appliance.
Deploy XVA Images
Use the .xva file for this hypervisor. For XEN Server, you first import the virtual appliance template and then create a new virtual appliance based on that template.
Step 1. Import the virtual appliance template:
Download and expand the Barracuda Email Security Gateway Vx ZIP folder.
From the File menu in the XenCenter client, select Import.
Click Browse, navigate to the extracted folder, and select the file ending in .xva. Click Next.
Select a server for the template. Click Next.
Select a storage repository for the template. Click Import.
Select a virtual network interface for the template. Click Next.
Review the template settings. Click Finish to import the template.
Step 2. Create a new virtual appliance:
Right-click the virtual appliance template and select New VM wizard.
Select the virtual appliance template. Click Next.
Enter a name for the virtual appliance. Click Next.
For the DVD drive, select <empty>. Click Next.
Select a home server. Click Next.
Specify the number of virtual CPUs and memory for the virtual appliance. Follow the recommendations in Allocating Cores, RAM, and Hard Disk Space for Your Barracuda Email Security Gateway Vx. Click Next.
Select a virtual disk. Click Next.
Select a virtual network interface. Click Next.
Review the virtual appliance settings. Click Create Now.
When the virtual appliance is ready, right-click it and then click Start.
Follow the Barracuda Email Security Gateway Vx Quick Start Guide instructions to set up your virtual appliance.
Deploy VHD Images
Microsoft Hyper-V 2008 R2, 2012, 2012 R2, and 10
You should directly attach the VHD to the virtual machine on deployment. See https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-machine-in-hyper-v?tabs=hyper-v-manager for details.
Use the .vhd file for this hypervisor.
Download and expand the Barracuda Email Security Gateway Vx ZIP folder.
Launch the WinServerSetup.bat file located in the extracted folder. This batch file corrects a compatibility issue and takes less than a minute to run.
Navigate to the extracted folder and verify that the HyperV folder contains the following subfolders:
Virtual Machines
Virtual Hard Disks
Snapshots
In Hyper-V Manager, right-click your VM host and select Import Virtual Machine.
On the Before You Begin page of the Import Virtual Machine wizard, click Next.
On the Locate Folder page:
Click Browse, navigate to the extracted folder, and select the HyperV folder. Click Select Folder.
Click Next.
On the Select Virtual Machine page, click Next.
On the Choose Import Type page, select Copy the virtual machine (created a new unique ID). Click Next.
On the Choose Destination: Choose Folders for Virtual Machine Files page, click Browse to search for the location where you want to store the VM files. Click Next.
On the Choose Storage Folders: Choose Folders to Store Virtual Hard Disks page, click Browse to search for the location where you want to store the virtual hard disks for the VM. Click Next.
For Microsoft Windows 10, you can modify the RAM and Hard Disk space allocations after completing step 12.
On the Configure Memory page, enter a size for the Startup RAM that meets the requirements at Allocating Cores, RAM, and Hard Disk Space for Your Barracuda Email Security Gateway Vx. Keep the default settings for the other fields. Click Next.On the Connect Network page, select the network interface that you want to use for management access of the VM. Click Next.
On the Summary page, verify that all the settings are correct. Click Finish.
For Microsoft Windows 10, go to the Actions pane and click on Settings under Barracuda Email Security Gateway. Under Hardware, ensure that their is enough memory and hard disk space as specified in Allocating Cores, RAM, and Hard Disk Space for Your Barracuda Email Security Gateway Vx.
Start your virtual appliance.
Follow the Barracuda Email Security Gateway Vx Quick Start Guide instructions to set up your virtual appliance.
To take advantage of Microsoft's VHDX support on Hyper-V 2012, 2012 R2, and 10, follow the instructions in How to Convert and Replace a Barracuda Networks Virtual Appliance VHD File with a VHDX Format File. To move your existing VHD or VHDX to a new Virtual Hyper-V Barracuda Email Security Gateway so you preserve your existing data, see https://askme4tech.com/how-attach-existing-vhdx-virtual-machine-hyper-v.
Deploy QCOW2 Images
Linux KVM (Kernel-based Virtual Machine)
You should deploy the QCOW2 disk image directly using KVM/libvirt tools. Use the provided Barracuda Email Security Gateway Vx image file for this hypervisor.
Deploying Your Barracuda Email Security Gateway on KVM
Complete the following steps to deploy your Barracuda Email Security Gateway Vx on a KVM-based Linux system:
Prepare the Host System
Ensure the host supports 64-bit virtualization (Intel VT-x/VT-d or AMD-V).
Enable virtualization in BIOS/UEFI.
Verify virtualization support: egrep -c '(vmx|svm)' /proc/cpuinfo [Output greater than 0 indicates virtualization is enabled.]
Install KVM and Supporting Packages (Linux)
Update the system: sudo apt update && sudo apt upgrade -y
Install KVM packages: sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager -y
Verify services and modules:
sudo systemctl status libvirtd
lsmod | grep kvmEnsure libvirtd is active and KVM modules are loaded.
Configure Network Bridge
Edit Netplan configuration (Ubuntu example): sudo nano /etc/netplan/00-installer-config.yaml
Example bridge setup:
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: no
bridges:
br0:
interfaces: [enp0s3]
dhcp4: yes
Apply configuration: sudo netplan apply
Deploy the Barracuda Email Security Gateway VM
Deploy Using Linux Virtual Machine ManagerOpen Virtual Machine Manager, On right-panel select File and select New Virtual Machine.
Select Import existing disk image.
Browse and select the Barracuda Email Security Gateway Vx image file and Select the OS type (Red Hat Enterprise Linux 7).
Confirm image path and OS label.
Allocate CPU and Memory resources according to Barracuda requirements : https://documentation.campus.barracuda.com/wiki/x/BgBm.
On ready to begin the installation Name the virtual machine. Click Finish.
Start your virtual appliance.
Follow the Barracuda Email Security Gateway Vx Quick Start Guide instructions to set up your virtual appliance.
Deploy QCOW2 Images : Proxmox VE
You should directly import and attach the QCOW2 image to the virtual machine during deployment.
Use the .qcow2 file for this hypervisor.
Download and extract the Barracuda Email Security Gateway Vx ZIP folder.
Complete the following steps to deploy your Barracuda Email Security Gateway Vx on a Proxmox VE:
Navigate to the extracted folder and verify that the .qcow2 image file is present.Copy the .qcow2 file to the Proxmox storage location, for example: /var/lib/vz/images/
Log in to the Proxmox server via SSH or open the Proxmox Shell from the web interface and run the following commands.
Create a new virtual machine: qm create 106 --name ESG-BYOL-EMT-KVM --memory 4096 --cores 2 --sockets 1 --net0 virtio,bridge=vmbr0 --scsihw pvscsi --ostype l26(Use any valid VM ID. Here, 106 is used.)
Import the QCOW2 disk: qm importdisk 106 /var/lib/vz/images/<filename>.qcow2 local-lvm
Attach the imported disk to the VM: qm set 106 --scsi0 local-lvm:vm-106-disk-0
Set the BIOS: qm set 106 --bios seabios
Configure boot order: qm set 106 --boot order=scsi0
Start the virtual machine: qm start 106
Alternatively, you can start the VM from the Proxmox web interface: Open a browser and navigate to https://<proxmox-ip>:8006 and Log in using your root credentials.
In the left navigation pane, select your Proxmox node. Select the virtual machine and click Start.
Once the VM boots successfully, access the console.
Follow the Barracuda Email Security Gateway Vx Quick Start Guide instructions to finish configuring your virtual appliance.