Hyper-V Installation Guide: Difference between revisions

no edit summary
(Created page with "This guide describes how the Allegro Network Multimeter Virtual Edition can be set up with Hyper-V under Windows 11. The Allegro Virtual Edition is designed for 2 use cases....")
 
No edit summary
Line 21: Line 21:
==Installation==
==Installation==
===Zip file extraction===
===Zip file extraction===
Please extract the zip archive. It should contain the 3 files “allegro-multimeter.ovf”, “allegro-multimeter.vmdk” and “allegro-multimeter-virtualbox.ovf”. 
Please extract the zip archive. It should contain a single file “allegro-image-X.X.X.vhdx” where X.X.X is the version number of the release. 
===OVF deployment to VMWare ESXi===
===Creating a Hyper-V virtual machine in the Hyper-V Manager.===
Log in to VMWare ESXi.
Open the Hyper-V Manager
[[File:Hyper-V Manager start.png|none|frame]]
Create a new virtual machine under "Actions" → “New” → "Virtual Machine ...".


[[File:Esxi login.png|400px]]
Follow the wizard by first giving a name to the virtual machine.


Once you have logged in, navigate to “Virtual Machines”
When asked to "Specify Generation" choose "Generation 2".


[[File:Esxi dashboard.png|600px]]
// TODO generation image


Create a new VM with “Create / Register VM” and select the option “Deploy a virtual machine from an OVF or OVA file”.
On the "Assign Memory" page set the startup memory to at least 2048 MB.


[[File:Esxi create new vm.png|600px]]
// TODO memory assign image


Press “Next”, use a preferred name for the Allegro and drag/drop the ovf and vmdk files into the window (as seen in the picture below) and press “Next”.
On the "Configure Network" page select the network connection that you want the Allegro Virtual Edition management interface to be connected to.


[[File:Esxi create new vm step 2.png|600px]]
// TODO management network image


Select your data storage (20 GB is enough) for the Allegro. This storage will be used as the boot partition and to store the configuration of the Allegro Virtual Edition.
On the "Connect Virtual Hard Disk" select the option "Use an existing virtual hard disk" and select the “allegro-image-X.X.X.vhdx” that was extracted from the ZIP archive.


This partition/disk will NOT facilitate the packet ring buffer functionality. This does not require a high-speed disk.
// TODO hard disk image


[[File:Esxi create new vm select storage.png|600px]]
Finish the wizard to create the virtual machine.


The deployment options allow you to select the network mapping for the MGT port and the disk provisioning.
=== Add an additional network interface to the virtual machine ===
Edit the settings for the virtual machine under "Actions" → “Settings...


[[File:Esxi create new vm management.png|600px]]
With the "Add hardware" item selected "Network Adapter" and click "Add".


Please double-check all options in the next dialogue and press finish if everything is fine.
// TODO settings network adapter image


[[File:Esxi create new vm finish.png|600px]]
Choose the virtual switch that you want the Allegro Virtual Edition monitoring interface to be connected to and click "Apply".


The upload and import of the Allegro Virtual Edition will start. Please be patient until it is finished.
===Packet ring buffer and pcap storage===
For the ring buffer to work, you need to add an additional virtual disk (or more) to the Allegro Virtual Edition.
 
With the "Add hardware" item selected again this time choose "SCSI Controller" and click "Add".
 
// TODO settings scsi controller image
 
Leave the default type "Hard drive" and click "Add".
 
The controller location 0 will be in use so choose 1.
 
// TODO scsi controller location image
 
In the "media" section with "Virtual hard disk" selected click on "New".
 
This will open a wizard and on the "Choose disk type" page select "Fixed size" for best performance.
 
// TODO disk type fixed size image


[[File:Esxi import.png|600px]]
Follow the wizard to create a "blank virtual hard disk" with the desired size for the packet ring buffer.
===Packet ring buffer and pcap storage===
For the ring buffer to work, you must add a "Hard disk 2" virtual disk (or more) to the Allegro Virtual Edition.


To do so, with a turned off VM, press “Edit” in the Vmware ESXi host and add a new (high speed) HDD.


[[File:Esxi add hdd.png]]


When done, power on the Allegro VM and go to menu '''Generic''' → '''Storage''', to check if the Allegro Network Multimeter has detected a storage device.
When done, power on the Allegro VM and go to menu '''Generic''' → '''Storage''', to check if the Allegro Network Multimeter has detected a storage device.
Line 111: Line 127:


The Allegro Virtual Edition is now running and analyzes all packets on the capture port.
The Allegro Virtual Edition is now running and analyzes all packets on the capture port.
==Mirroring virtual interface==
The Allegro Virtual Edition has by default 2 network interfaces. The first port is used for Management, the second is used as capture port. The Allegro Virtual Edition will analyze all traffic received by this network port.
Please enable the promiscuous mode for the vwsitch to allow the Allegro Virtual Edition to monitor all packets from on a VMWare vswitch.
[[File:Esxi switch allow promicuous mode.png|900px]]
==Encapsulated remote mirroring (L3) source==
==Encapsulated remote mirroring (L3) source==
The Allegro Virtual Edition supports the VMware '''Encapsulated remote mirroring (L3) source''' with the [[ERSPAN Installation|ERSPAN Mode]]. You can set up an IP address on the capture port and send encapsulated packets to the Allegro. Please see the Vsphere documentation center for Encapsulated remote mirroring (L3) source.
The Allegro Virtual Edition supports the VMware '''Encapsulated remote mirroring (L3) source''' with the [[ERSPAN Installation|ERSPAN Mode]]. You can set up an IP address on the capture port and send encapsulated packets to the Allegro. Please see the Vsphere documentation center for Encapsulated remote mirroring (L3) source.
122

edits