Windows server essential hyper v

Install Hyper-V and create a virtual machine

Applies To: Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2

Learn how to get started with Hyper-V on Windows Server 2012, Windows Server 2012 R2, Windows 8, or Windows 8.1 Professional and Enterprise editions. To learn more about Hyper-V including system requirements, see Hyper-V overview. For the most current version of this topic, see Install Hyper-V on Windows 10 or Install the Hyper-V role on Windows Server 2016.

In this document

Prerequisites

Before you install Hyper-V, make sure that you have the following:

A user account with administrator permissions for the computer.

Enough memory to run all the virtual machines that you plan to run at the same time.

Software to install as the guest operating system for the virtual machine.

Step 1: Install Hyper-V

Install Hyper-V so you can create and run virtual machines on this computer.

To install the Hyper-V role in Windows Server 2012 or Windows Server 2012 R2

You can install the Hyper-V role in Server Manager or by using Windows PowerShell.

Install the Hyper-V role by using Server Manager

In Server Manager, on the Manage menu, click Add Roles and Features.

On the Before you begin page, verify that your destination server and network environment are prepared for the role and feature you want to install. Click Next.

On the Select installation type page, select Role-based or feature-based installation and then click Next.

On the Select destination server page, select a server from the server pool and then click Next.

On the Select server roles page, select Hyper-V.

To add the tools that you use to create and manage virtual machines, click Add Features. On the Features page, click Next.

On the Create Virtual Switches page, Virtual Machine Migration page, and Default Stores page, select the appropriate options.

On the Confirm installation selections page, select Restart the destination server automatically if required, and then click Install.

When installation is finished, verify that Hyper-V installed correctly. Open the All Servers page in Server Manager, select a server on which you installed Hyper-V. Check the Roles and Features tile on the page for the selected server.

Install the Hyper-V role by using PowerShell

Open Windows PowerShell session with elevated user rights. To do this, click the Windows Start button and type PowerShell. Right-clicPowerShell and click Run as Administrator.

Run the following command where computer_name represents a remote computer on which you want to install Hyper-V. To install Hyper-V directly from a console session, do not include -ComputerName in the command.

When the installation is finished, run the Get-WindowsFeature to verify that everything installed correctly. If you installed Hyper-V remotely, include the ComputerName parameter (Get-WindowsFeature -ComputerName ) to view a list of roles and features installed on the server.

In Windows PowerShell, unlike in the Add Roles and Features Wizard, management tools and snap-ins for a role are not included by default. To include management tools as part of a role installation, add the -IncludeManagementTools parameter to the cmdlet. Management tools and snap-ins can’t be installed on servers that runs the Server Core installation option of Windows Server. If you try to install the management tools for the Hyper-V role on a server that runs the Server Core installation option of Windows Server 2012, you are prompted to change the installation option to one that allows the management tools to run. For more information, see Install-WindowsFeature.

To enable Client Hyper-V on Windows 8 or Windows 8.1

You can enable the Hyper-V role in Program and Features or by using Windows PowerShell.

Enable the Hyper-V role by using Program and Features

In the Control Panel, click Programs >Programs and Features.

Click Turn Windows features on or off.

Click Hyper-V, click OK, and then click Close.

Hyper-V is an optional feature so the files required for installation may or may not be present on your computer, depending on your organization’s IT policy. If you are connected to the Internet and you enable the feature, the required files will automatically download. If you are not connected to the Internet, you can download the required files and manually copy them to your computer. Otherwise you must provide the installation media.

Enable the Hyper-V role by using PowerShell

Open Windows PowerShell session with elevated user rights. To do this, click the Windows Start button and type PowerShell. Right-click PowerShell and click Run as Administrator.

Читайте также:  Вид заголовка окна windows

Run the following command.

When the installation is finished, reboot the computer.

Step 2: Create a virtual machine

You can create a virtual machine by using the wizard in Hyper-V Manager or by using Windows PowerShell.

To create a virtual machine in Hyper-V Manager

Open Hyper-V Manager.

From the navigation pane of Hyper-V Manager, select the computer running Hyper-V.

From the Actions pane, click New > Virtual Machine.

Click Next in the New Virtual Machine wizard.

On the Specify Name and Location page, type an appropriate name.

On the Assign Memory page, specify enough memory to start the guest operating system.

On the Configure Networking page, connect the virtual machine to the switch you created when you installed Hyper-V.

On the Connect Virtual Hard Disk and Installation Options pages, choose the option that is appropriate for how you plan to install the guest operating system:

If you will install the guest operating system from a DVD or an image file (an .ISO file), choose Create a virtual hard disk. Click Next, and then click the option that describes the type of media you will use. For example, to use an .iso file, click Install an operating system from a boot CD/DVD and then specify the path to the .iso file.

If the guest operating system is already installed in a virtual hard disk, choose Use an existing virtual hard disk and click Next. Then, choose Install an operating system later.

On the Summary page, verify your selections and then click Finish.

В В Windows PowerShell equivalent commands

You can use the New-VM cmdlet to create a virtual machine in Windows PowerShell. For example, run the following command to create a virtual machine named web server with 1 GB of startup memory and use an existing virtual hard disk in which a guest operating system has already been installed.

Step 3: Install the guest operating system

This step assumes that you configured the boot media for the virtual machine when you created the virtual machine. It can’t be automated or done within a Windows PowerShell session.

To install the guest operating system

From Hyper-V Manager, in the Virtual Machines section of the results pane, right-click the name of the virtual machine and click Connect.

From the Action menu in the Virtual Machine Connection window, click Start.

Proceed through the installation.

Step 4: Install or upgrade integration services

Hyper-V includes a software package for supported guest operating systems that improves integration between the physical computer and the virtual machine. This package is referred to as integration services. To learn more, see Integration Services.

This step can’t be automated or done within a Windows PowerShell session.

To install integration services

Open Hyper-V Manager. From the Server Manager Tools menu, click Hyper-V Manager.

Connect to the virtual machine. Right-click the name of the virtual machine and click Connect.

From the Action menu of Virtual Machine Connection, click Insert Integration Services Setup Disk. This action loads the setup disk in the virtual DVD drive. Depending on the guest operating system installed, you may need to start the installation manually.

After the installation finishes, all integration services are available for use.

Обзор технологии Hyper-V Hyper-V Technology Overview

Область применения. Windows Server 2016, Microsoft Hyper-V Server 2016, Windows Server 2019, Microsoft Hyper-V Server 2019. Applies To: Windows Server 2016, Microsoft Hyper-V Server 2016, Windows Server 2019, Microsoft Hyper-V Server 2019

Hyper-V — это продукт виртуализации оборудования Майкрософт. Hyper-V is Microsoft’s hardware virtualization product. Она позволяет создавать и запускать программную версию компьютера, называемую виртуальной машиной. It lets you create and run a software version of a computer, called a virtual machine. Каждая виртуальная машина действует как полноценный компьютер, запускающий операционную систему и программы. Each virtual machine acts like a complete computer, running an operating system and programs. Если вам нужны вычислительные ресурсы, виртуальные машины предоставляют больше гибкости, помогают экономить время и деньги и являются более эффективным способом использования оборудования, чем запуск одной операционной системы на физическом оборудовании. When you need computing resources, virtual machines give you more flexibility, help save time and money, and are a more efficient way to use hardware than just running one operating system on physical hardware.

Hyper-V выполняет каждую виртуальную машину в отдельном изолированном пространстве. Это означает, что на одном и том же оборудовании можно запускать несколько виртуальных машин одновременно. Hyper-V runs each virtual machine in its own isolated space, which means you can run more than one virtual machine on the same hardware at the same time. Это можно сделать, чтобы избежать таких проблем, как сбой, влияющих на другие рабочие нагрузки, или предоставить другим пользователям, группам или службам доступ к разным системам. You might want to do this to avoid problems such as a crash affecting the other workloads, or to give different people, groups or services access to different systems.

Некоторые способы, с помощью которых Hyper-V может помочь Some ways Hyper-V can help you

Hyper-V может помочь: Hyper-V can help you:

Создание или расширение частной облачной среды. Establish or expand a private cloud environment. Предоставление более гибких ИТ-служб по запросу путем перемещения или расширения использования общих ресурсов и корректировки использования по мере изменения спроса. Provide more flexible, on-demand IT services by moving to or expanding your use of shared resources and adjust utilization as demand changes.

Читайте также:  Backup server linux software

Более эффективное использование оборудования. Use your hardware more effectively. Консолидируйте серверы и рабочие нагрузки на меньшее число более мощных физических компьютеров, чтобы использовать меньше энергии и физического пространства. Consolidate servers and workloads onto fewer, more powerful physical computers to use less power and physical space.

Непрерывные деловые операции. Improve business continuity. Сократите влияние запланированного и незапланированного простоя рабочих нагрузок. Minimize the impact of both scheduled and unscheduled downtime of your workloads.

Установка или расширение инфраструктуры виртуальных рабочих столов (VDI). Establish or expand a virtual desktop infrastructure (VDI). Использование централизованной стратегии настольных систем с помощью VDI поможет повысить гибкость бизнеса и безопасность данных, а также упростить соответствие нормативным требованиям и управлять настольными операционными системами и приложениями. Use a centralized desktop strategy with VDI can help you increase business agility and data security, as well as simplify regulatory compliance and manage desktop operating systems and applications. Разверните узлы Hyper-V и узел виртуализации удаленных рабочих столов (узел виртуализации удаленных рабочих столов) на том же сервере, чтобы сделать личные виртуальные рабочие столы или пулы виртуальных рабочих столов доступными для пользователей. Deploy Hyper-V and Remote Desktop Virtualization Host (RD Virtualization Host) on the same server to make personal virtual desktops or virtual desktop pools available to your users.

Сделайте разработку и тестирование более эффективными. Make development and test more efficient. Воспроизведение различных вычислительных сред без необходимости покупать или поддерживать все необходимое оборудование, если используются только физические системы. Reproduce different computing environments without having to buy or maintain all the hardware you’d need if you only used physical systems.

Hyper-V и другие продукты виртуализации Hyper-V and other virtualization products

Hyper-V в Windows и Windows Server заменяет старые продукты виртуализации оборудования, такие как Microsoft Virtual PC, Microsoft Virtual Server и Windows Virtual PC. Hyper-V in Windows and Windows Server replaces older hardware virtualization products, such as Microsoft Virtual PC, Microsoft Virtual Server, and Windows Virtual PC. Hyper-V предлагает функции сети, производительности, хранения и безопасности, недоступные в этих старых продуктах. Hyper-V offers networking, performance, storage and security features not available in these older products.

Hyper-V и сторонние приложения виртуализации, для которых требуются одни и те же функции процессора, не совместимы. Hyper-V and most third-party virtualization applications that require the same processor features aren’t compatible. Это обусловлено тем, что функции процессора, известные как аппаратные расширения виртуализации, не предназначены для совместного использования. That’s because the processor features, known as hardware virtualization extensions, are designed to not be shared. Дополнительные сведения см. в статье приложения виртуализации не работают вместе с Hyper-V, Device Guard и Credential Guard. For details, see Virtualization applications do not work together with Hyper-V, Device Guard, and Credential Guard.

Какие функции имеет Hyper-V? What features does Hyper-V have?

Hyper-V предлагает множество функций. Hyper-V offers many features. Это обзор, сгруппированный по функциям, предоставляемым или помогающим в работе. This is an overview, grouped by what the features provide or help you do.

Вычислительная среда . Виртуальная машина Hyper-V включает те же основные компоненты, что и физический компьютер, например память, процессор, хранилище и сеть. Computing environment — A Hyper-V virtual machine includes the same basic parts as a physical computer, such as memory, processor, storage, and networking. Все эти части имеют функции и параметры, которые можно настроить разными способами для удовлетворения различных потребностей. All these parts have features and options that you can configure different ways to meet different needs. Хранилище и сеть могут считаться своими категориями, так как их можно настроить различными способами. Storage and networking can each be considered categories of their own, because of the many ways you can configure them.

Аварийное восстановление и резервное копирование . для аварийного восстановления реплика Hyper-V создает копии виртуальных машин, предназначенные для хранения в другом физическом расположении, чтобы можно было восстановить виртуальную машину из копии. Disaster recovery and backup — For disaster recovery, Hyper-V Replica creates copies of virtual machines, intended to be stored in another physical location, so you can restore the virtual machine from the copy. Для резервного копирования Hyper-V предлагает два типа. For backup, Hyper-V offers two types. В одном из них используются сохраненные состояния, а в другом используется служба теневого копирования томов (VSS), что позволяет создавать резервные копии, совместимые с приложениями, для программ, поддерживающих VSS. One uses saved states and the other uses Volume Shadow Copy Service (VSS) so you can make application-consistent backups for programs that support VSS.

Оптимизация . Каждая поддерживаемая гостевая операционная система имеет настроенный набор служб и драйверов, называемый службами Integration Services, которые упрощают использование операционной системы на виртуальной машине Hyper-V. Optimization — Each supported guest operating system has a customized set of services and drivers, called integration services, that make it easier to use the operating system in a Hyper-V virtual machine.

Переносимость — такие функции, как динамическая миграция, миграция хранилища и импорт и экспорт, упрощают перемещение и распространение виртуальной машины. Portability — Features such as live migration, storage migration, and import/export make it easier to move or distribute a virtual machine.

Удаленное подключение . Hyper-V включает подключение к виртуальной машине, средство удаленного подключения для использования с Windows и Linux. Remote connectivity — Hyper-V includes Virtual Machine Connection, a remote connection tool for use with both Windows and Linux. В отличие от удаленный рабочий стол, это средство предоставляет доступ к консоли, что позволяет увидеть, что происходит на гостевом компьютере, даже если операционная система еще не загружена. Unlike Remote Desktop, this tool gives you console access, so you can see what’s happening in the guest even when the operating system isn’t booted yet.

Читайте также:  Makefile linux для чайников

Безопасность — безопасная загрузка и экранированные виртуальные машины помогают защититься от вредоносных программ и другого несанкционированного доступа к виртуальной машине и ее данным. Security — Secure boot and shielded virtual machines help protect against malware and other unauthorized access to a virtual machine and its data.

Сводные сведения о функциях, появившихся в этой версии, см. в статье новые возможности Hyper-V в Windows Server. For a summary of the features introduced in this version, see What’s new in Hyper-V on Windows Server. Некоторые функции или части имеют ограничение на количество, которое можно настроить. Some features or parts have a limit to how many can be configured. Дополнительные сведения см. в разделе Планирование масштабируемости Hyper-V в Windows Server 2016. For details, see Plan for Hyper-V scalability in Windows Server 2016.

Как получить Hyper-V How to get Hyper-V

Hyper-V доступен в Windows Server и Windows, как роль сервера, доступная для 64-разрядных версий Windows Server. Hyper-V is available in Windows Server and Windows, as a server role available for x64 versions of Windows Server. Инструкции по серверу см. в статье Установка роли Hyper-V в Windows Server. For server instructions, see Install the Hyper-V role on Windows Server. В Windows она доступна в виде функции в некоторых 64-разрядных версиях Windows. On Windows, it’s available as feature in some 64-bit versions of Windows. Он также доступен как загружаемый, изолированный серверный продукт Microsoft Hyper-V Server. It’s also available as a downloadable, standalone server product, Microsoft Hyper-V Server.

Поддерживаемые операционные системы Supported operating systems

На виртуальных машинах будут работать многие операционные системы. Many operating systems will run on virtual machines. В общем случае операционная система, использующая архитектуру x86, будет работать на виртуальной машине Hyper-V. In general, an operating system that uses an x86 architecture will run on a Hyper-V virtual machine. Однако не все операционные системы, которые могут быть запущены, протестированы и поддерживаются корпорацией Майкрософт. Not all operating systems that can be run are tested and supported by Microsoft, however. Список поддерживаемых возможностей см. в следующих статьях: For lists of what’s supported, see:

Как работает Hyper-V How Hyper-V works

Hyper-V — это технология виртуализации на основе низкоуровневой оболочки. Hyper-V is a hypervisor-based virtualization technology. Hyper-V использует гипервизор Windows, для которого требуется физический процессор с конкретными функциями. Hyper-V uses the Windows hypervisor, which requires a physical processor with specific features. Сведения об оборудовании см. в статье требования к системе для Hyper-V в Windows Server. For hardware details, see System requirements for Hyper-V on Windows Server.

В большинстве случаев гипервизор управляет взаимодействием между оборудованием и виртуальными машинами. In most cases, the hypervisor manages the interactions between the hardware and the virtual machines. Этот управляемый гипервизором доступ к оборудованию предоставляет виртуальным машинам изолированную среду, в которой они выполняются. This hypervisor-controlled access to the hardware gives virtual machines the isolated environment in which they run. В некоторых конфигурациях виртуальная машина или операционная система, работающая на виртуальной машине, имеет прямой доступ к графике, сети или оборудованию хранилища. In some configurations, a virtual machine or the operating system running in the virtual machine has direct access to graphics, networking, or storage hardware.

Что состоит из Hyper-V? What does Hyper-V consist of?

Hyper-V содержит необходимые части, которые работают вместе, чтобы можно было создавать и запускать виртуальные машины. Hyper-V has required parts that work together so you can create and run virtual machines. Вместе эти компоненты называются платформой виртуализации. Together, these parts are called the virtualization platform. Они устанавливаются в качестве набора при установке роли Hyper-V. They’re installed as a set when you install the Hyper-V role. В число необходимых компонентов входят гипервизор Windows, служба управления виртуальными машинами Hyper-V, поставщик WMI виртуализации, шина виртуальной машины (VMbus), поставщик службы виртуализации (VSP) и драйвер виртуальной инфраструктуры (VID). The required parts include Windows hypervisor, Hyper-V Virtual Machine Management Service, the virtualization WMI provider, the virtual machine bus (VMbus), virtualization service provider (VSP) and virtual infrastructure driver (VID).

Hyper-V также имеет средства для управления и подключения. Hyper-V also has tools for management and connectivity. Их можно установить на том же компьютере, на котором установлена роль Hyper-V, и на компьютерах без установленной роли Hyper-V. You can install these on the same computer that Hyper-V role is installed on, and on computers without the Hyper-V role installed. Эти средства: These tools are:

Это некоторые технологии корпорации Майкрософт, которые часто используются с Hyper-V: These are some technologies from Microsoft that are often used with Hyper-V:

Различные технологии хранения: общие тома кластера, SMB 3,0, Локальные дисковые пространства Various storage technologies: cluster shared volumes, SMB 3.0, storage spaces direct

Контейнеры Windows предлагают еще один подход к виртуализации. Windows containers offer another approach to virtualization. См. библиотеку контейнеров Windows на сайте MSDN. See the Windows Containers library on MSDN.

Оцените статью