Getting started with Hyper-V > 0x1 Preparing the environment and adding Hyper-V

Target

使用VMWare安装3台虚拟机,用来模拟3台物理主机。
DC是域控制器(Domain Controller,相关内容为Active Directory)。
Hyper1和Hyper2加入该域,并嵌套安装虚拟机。

Virtual machine network topology

tool

  • Win10 computer (memory 16G)
  • VMWare Player(或VMWare Workstation )
  • The iso file of the Windows Server 2012 R2 x64 operating system (all 3 virtual machines use it)

Prepare the virtual environment

1. Create new virtual machines Hyper1 and Hyper2

Hyper1和Hyper2要嵌套安装虚拟机,故开启虚拟化。内存5G也可。

insert image description here

且要修改它俩的.vmx文件(新建过程中能看到所在路径),增加以下2行以开启嵌套虚拟化:
hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"

2. Create a new virtual machine DC

DC不用开启虚拟化,也不用修改.vmx文件。内存2G也可。

insert image description here

Build a "domain"

1. Modify the computer name

启动各虚拟机,将计算机名分别修改为Hyper1、Hyper2、DC。

insert image description here

2. Create a password for the administrator account Administrator

3. Turn off the firewall

insert image description here

4. Both configure the network

3台都不使用IPv6。

insert image description here

According to the target configuration.
The subnet mask, default gateway, and preferred DNS server are all 255.255.255.0, 192.168.1.1, and 192.168.1.200.

machine IP
DC 192.168.1.200
Hyper1 192.168.1.201
Hyper2 192.168.1.202

insert image description here

5. Test network configuration

在DC(IP为200)上 ping Hyper1、Hyper2和网关。
ping 192.168.1.201
ping 192.168.1.202
ping 192.168.1.1

insert image description here

6. Add the domain service role (domain controller DC) to the virtual machine DC

以下是添加过程中的关键步骤的截图。无截图则按默认即不修改,以后同。

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here

It is best to downgrade the functional level to 2008 for subsequent addition of 2008 machines.

insert image description here

View the effect after the installation is complete

insert image description here
insert image description here

7. Add Hyper1, 2 to domain TEST

insert image description here
insert image description here
insert image description here

View added effects

insert image description here

Add Hyper-V

Hyper1、2添加Hyper-V角色,后面将在它俩上嵌套安装虚拟机。

insert image description here
insert image description here
insert image description here

end of article

Guess you like

Origin blog.csdn.net/qq_33067925/article/details/116723615