# Introduction and general requirements

## Introduction

This guide is intended to help customers or partners deploy vSensors in Hyper-V environments and pair them to your Vectra Brain. It will cover basic background information, connectivity requirements (firewall rules that may be needed in your environment), deployment of the vSensor in Hyper-V, and pairing.

vSensors behave much in the same way that physical Sensors do. One advantage is that there is no cost to deploy a vSensor other than your own costs to provide and maintain the infrastructure they run in. vSensors also allow you to capture and analyze traffic that only exists in the virtual environment. You can even use vSensors in place of physical Sensors to capture physical network traffic.

Hyper-V vSensors can be used in both Respond UX and Quadrant UX deployments. For more detail on Respond UX vs Quadrant UX please see [Vectra Analyst User Experiences (Respond vs Quadrant)](https://docs.vectra.ai/deployment/getting-started/analyst-ux-options-rux-vs-qux). One of the below guides should be the starting point for your overall Vectra deployment:

* [Vectra Respond UX Deployment Guide](https://docs.vectra.ai/deployment/getting-started/respond-ux-deployment-guide)
* [Vectra Quadrant UX Deployment Guide](https://docs.vectra.ai/deployment/getting-started/quadrant-ux-deployment)

## About Hyper-V vSensor Images

The Brain makes a Hyper-V VHDX image (in a `.zip` archive) available for download and subsequent use for provisioning vSensors. Vectra appliances typically operate with updates enabled. Regular updates ensure that the appliances are running the very latest version. Once a vSensor has been deployed and paired to a Brain, it will update itself as needed, staying current with its Brain.

{% hint style="info" %}
**Please Note:**

As your Vectra Brain is updated, the image for the Hyper-V vSensor is also updated.

* If you deploy additional Hyper-V vSensors in the future, always download a fresh copy of the image from an up-to-date Brain to ensure you are working with the latest code.
* vSensor images are retrieved from the Brain when using either the Respond UX and Quadrant UX.
  * The RUX UI is delivered from Vectra's cloud but the download link still retrieves the image from the Brain itself.
    {% endhint %}

## Hyper-V vSensor Requirements and Throughput

<table><thead><tr><th width="263.24609375">Hyper-V Version Supported</th><th>Windows Server 2016 w/ HW v8 or higher</th></tr></thead><tbody><tr><td>Cores Required</td><td>2 (500 Mbps), 4 (1 Gbps), 8 (2 Gbps), or 16 (5 Gbps)</td></tr><tr><td>RAM Required</td><td><p>8 GB (2 and 4 core), 16 GB (8 core), 64 GB (16 core)</p><p>Must be contiguous in a single NUMA node (not spanning multiple nodes)</p></td></tr><tr><td>Disk Space Required</td><td>100 GB (2 core), 150 GB (4 and 8 core), 500 GB (16 core)</td></tr><tr><td>Virtual Switch Type Supported</td><td>External</td></tr><tr><td>Interfaces Supported</td><td>Up to 2 for capture, 1 for management (can be shared with capture)</td></tr><tr><td>Traffic that can be captured</td><td>Physical or Virtual</td></tr></tbody></table>

* If you wish to resize the vSensor after deployment, please see: [Resizing Virtual Sensors and Brains](https://docs.vectra.ai/deployment/appliance-operations/resizing-virtual-appliances) for details. Please note that you can only from a smaller configuration to a larger one. NOT from a larger configuration to a smaller one.
* To add a 2<sup>nd</sup> capture interface if you originally deployed with only one, you must shut the vSensor down, add the 2<sup>nd</sup> capture interface, and restart it for this to work.
* In Hyper-V, if the processor is supported but the sensor health check is reporting `[FAILED] Hypervisor CPU Supported` and not capturing traffic, try [disabling the processor compatibility](https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/processor-compatibility-mode-hyper-v#disable-processor-compatibility-mode-using-hyper-v-manager) in the settings.

## Connectivity Requirements

The [Vectra Respond UX Deployment Guide](https://docs.vectra.ai/deployment/getting-started/respond-ux-deployment-guide) or [Vectra Quadrant UX Deployment Guide](https://docs.vectra.ai/deployment/getting-started/quadrant-ux-deployment) detail basic connectivity requirements for initial platform deployment. It also gives guidance on firewall/proxy SSL inspection, Internet access to and from the Brain, and guidance for air-gapped environments. For full detail on all possible firewall rules that might be required in your environment, please see [Firewall Requirements](https://docs.vectra.ai/deployment/getting-started/firewall-requirements). Hyper-V vSensor specific requirements are listed below:

**Connectivity Requirements for Hyper-V vSensors**

| **Source**  | **Destination** | **Protocol/Port**                         | **Description**                                       |
| ----------- | --------------- | ----------------------------------------- | ----------------------------------------------------- |
| Admin Hosts | vSensors        | TCP/22 (SSH)                              | CLI access to vSensor                                 |
| Brain       | vSensors        | TCP/22 (SSH)                              | Remote management and troubleshooting                 |
| vSensors    | Brain           | <p>TCP/22 (SSH)</p><p>TCP/443 (HTTPS)</p> | Pairing, metadata transfer, and ongoing communication |

{% hint style="info" %}
**Please Note:**

* vSensors do not communicate with the Vectra Cloud.
  * All communication sessions with vSensors are initiated from the vSensor to the Brain.
  * Updates for vSensors are downloaded to the Vectra Brain, and the vSensor retrieves them from the Brain.
* Command Line (CLI) access can also be obtained via the console in your hypervisor if you wish to login to the vSensor CLI after deployment.  Please [SSH login process for CLI](https://docs.vectra.ai/deployment/appliance-operations/ssh-login-process-for-cli) for more details.
  {% endhint %}
