📜 ⬆️ ⬇️

How to deal with low network performance Hyper-V

Network performance can “make” your virtual environment or disrupt its operation. With Hyper-V networking tools, you can maintain high network performance and ensure even distribution of resources. Although not worth mentioning, virtual networks can have a serious impact on physical servers and, consequently, on your virtual environment. Although virtualization has many advantages, its main disadvantage is that it introduces new virtual machines that consume valuable resources, such as bandwidth and occupy the input / output systems of a physical server, which leads to poor performance.



This problem is exacerbated when several virtual servers compete for a single communication system, which leads to massive delays. One solution to this problem is the logical distribution of network resources using tools such as virtual switches and virtual network cards.

Designed to help users create and manage virtual environments, the Hyper-V hypervisor includes tools for troubleshooting and controlling resource allocation. From Hyper-V Port Mirroring to Hyper-V logical networks, there are several ways to ensure that your virtual networks — and in turn the virtual environment — are at peak performance levels. Below are 5 tips for reducing the problems with Hyper-V network performance.
')

Hyper-V Port Mirroring Simplifies Network Traffic


When it comes to working with virtual machines within the framework of a multi-level virtual network architecture, it is not only important but necessary to monitor the load carefully. Port Mirroring, included in Windows Server 2012 Hyper-V , captures network traffic from virtual machines to Windows Server 2012 and transmits this information to virtual machines configured for monitoring. Port Mirroring can monitor internal traffic from virtual machines connected to a virtual switchboard and external traffic from a physical server to a virtual machine. In addition, Port Mirroring can also be used to capture tagged VLAN traffic, as well as blocking unwanted network traffic, eliminating poor network performance. With Hyper-V Port Mirroring, administrators can easily optimize network performance while ensuring security and assessing possible network problems.

Virtual switches


As you know, a virtual network connection is established and managed in a Hyper-V environment using the Hyper-V Manager technology. With Hyper-V Manager, administrators can configure and manage virtual switches that all host operating system messages pass through. In a Hyper-V environment, there are three types of virtual switches, each of which performs several different tasks, from being able to connect to a physical network to working with network segments isolated from the host server . When used effectively, these switches can improve the performance of a Hyper-V network, while constantly increasing security.

Advanced Network Security with Hyper-V


With the release of Windows Server 2012, the new version of Hyper-V has been released, with several significant changes and a number of new features. The new version includes advanced network functions, including Router Guard and Dynamic Host Configuration Protocol (DHCP) Guard, which can be accessed using Hyper-V Manager technology. The first one prevents the virtual machine from running as a router, eliminating router messages and redirected messages. This creates an additional level of security in case your computer's OS is at risk.

The latter, DHCP Guard, has several potential uses. DHCP Guard authorizes DHCP servers at the Active Directory level, preventing access to spurious DHCP servers. It also imposes restrictions on authorized DHCP servers , limiting their capabilities. As a result, both Router Guard and DHCP Guard strengthen the protection of virtual machines in a virtual network environment from illegal network services.

Hyper-V Logic Networks and Virtual Scaling


Despite its usefulness, Hyper-V Manager is not suitable for all network environments. Hyper-V Manager can only function as a management tool at the server level, which makes it incompatible with larger environments. In order to move virtual machines from one host to another using Hyper-V Manager, you need to make several identical virtual switches, which takes a lot of time. Earlier Hyper-V virtual networks also face problems in multi-user environments. If you intend to work with a large network environment, you will need to build a logical Hyper-V Manager network to scale connections.

Logical networks eliminate local area networks by grouping virtual local area networks and subnets in order to assign them to groups of hosts. Logical networks are defined and managed by Microsoft System Center Virtual Machine Manager. In order to take full advantage of the logical network and prevent network performance from falling, you will also need to create a network of virtual machines and define logical switches to work in your logical network. Once all the necessary parts for building and running the logical network are assembled, you can reuse these components later on when creating new managed networks.

Squeeze out of Hyper-V everything


When it comes to preventing conflicts on a physical server, avoiding the poor network performance of Hyper-V is just the beginning. You want to make sure your virtual environments look decent at all levels. This means performing performance tuning for Dynamic Hyper-V migration, removing background activity and setting up hardware acceleration tools to speed up GPU offload in addition to optimizing network performance.

Source: https://habr.com/ru/post/314862/


All Articles