| title | OT sensor VM (Microsoft Hyper-V) Gen 1- Microsoft Defender for IoT |
|---|---|
| description | Learn about deploying a Microsoft Defender for IoT OT sensor as a virtual appliance using Microsoft Hyper-V. |
| ms.date | 03/27/2024 |
| ms.topic | reference |
This article describes an OT sensor deployment on a virtual appliance using Microsoft Hyper-V.
| Appliance characteristic | Details |
|---|---|
| Hardware profile | As required for your organization. For more information, see Which appliances do I need? |
| Performance | As required for your organization. For more information, see Which appliances do I need? |
| Physical specifications | Virtual Machine |
| Status | Supported |
Note
We recommend using the 2nd Generation configuration, which offers better performance and increased security, for configuration see Microsoft Hyper-V Gen 2. [!IMPORTANT] Versions 22.2.x of the sensor are incompatible with Hyper-V, and are no longer supported. We recommend using the latest version.
Before you begin the installation, make sure you have the following items:
-
Microsoft Hyper-V hypervisor (Windows 10 Pro or Enterprise) installed and operational. For more information, see Introduction to Hyper-V on Windows 10.
-
Available hardware resources for the virtual machine. For more information, see OT monitoring with virtual appliances.
-
The OT sensor software downloaded from Defender for IoT in the Azure portal.
Make sure the hypervisor is running.
Note
There is no need to pre-install an operating system on the VM, the sensor installation includes the operating system image.
This procedure describes how to create a virtual machine by using Hyper-V.
To create the virtual machine using Hyper-V:
-
Create a virtual disk in Hyper-V Manager (Fixed size, as required by the hardware profile).
-
Select format = VHDX.
-
Enter the name and location for the VHD.
-
Enter the required size according to your organization's needs (select Fixed Size disk type).
-
Review the summary, and select Finish.
-
On the Actions menu, create a new virtual machine.
-
Enter a name for the virtual machine.
-
Select Generation and set it to Generation 1, and then select Next.
-
Specify the memory allocation according to your organization's needs, in standard RAM denomination (for example, 8192, 16384, 32768). Don't enable Dynamic Memory.
-
Configure the network adaptor according to your server network topology. Under the "Hardware Acceleration" blade, disable "Virtual Machine Queue" for the monitoring (SPAN) network interface.
-
Connect the VHDX, created previously, to the virtual machine.
-
Review the summary, and select Finish.
-
Right-click on the new virtual machine, and select Settings.
-
Select Add Hardware, and add a new network adapter.
-
Select the virtual switch that connects to the sensor management network.
-
Allocate CPU resources according to your organization's needs.
-
Select BIOS, in Startup order move IDE to the top of the list, select Apply and then select OK.
-
Connect the OT sensor's ISO image to a virtual DVD drive.
-
Start the virtual machine.
-
On the Actions menu, select Connect to continue the software installation.
-
To start installing the OT sensor software, open the virtual machine console.
The VM starts from the ISO image, and the language selection screen will appear.
-
Continue with the generic procedure for installing sensor software.
Continue understanding system requirements for physical or virtual appliances. For more information, see Which appliances do I need? and OT monitoring with virtual appliances.
Then, use any of the following procedures to continue: