I. Case Summary
To facilitate the management of the company office desktop machines, the company studied several sets of desktop virtualization platform solution. After assessment of the company operation and maintenance engineers decided to use Microsoft's Hyper -V virtualization platform as a desktop deployment scenarios.
Microsoft Hyper -V server virtualization system through faster application delivery, higher availability and utilization of IT resources so that data centers more flexible and efficient. While providing critical workloads (operating systems, applications and configuration) of the advanced features required, without sacrificing the necessary large-scale deployment, easy-to-operate features.
Second, the case of pre-knowledge
1、Hyper -V
Hyper -V is a Microsoft virtualization product, Microsoft is first a similar Vmware and Citrix technology based on the same hypervisor. Hyper -V role can create and manage a virtualized computing environment with built-in in Windows Server virtualization technology.
2、Microsoft Remote Desktop
Remote Desktop is a role, automate the creation of large-scale virtual desktop installation and delivery of parts. This wizard integrates with Microsoft desktop virtualization components, systems administrators can quickly create multiple desktops.
3, Hyper -V required components
Install Hyper -V role will install the components they need, and will install the management tools. Hyper -V required components include Windows hypervisor, Hyper -V virtual machine management services, virtualization WMI provider and other virtualization components, such as the Virtual Machine Bus (BMbus), virtualization service provider (VSP) and virtual infrastructure driver (VID).
4, Hyper -V hardware requirements
Hyper -V requires a 64-bit processor, in particular having Intel Virtualization Technology (Intel the VT) or AMD Virtualization (AMD-V) processor technology. In addition, the hardware requirements enforced Data Execution Prevention (DEP) must be available and enabled, that is, you must enable Intel XD bit (execute disable bit) or AMD NX bit (no execute bit).
5, Hyper -V practical application
-
Establish or expand a private cloud environment. Hyper -V can help users expand the use of or contact with shared resources, and as needs change and adjust utilization to provide more flexible IT services as needed.
-
Increase hardware utilization. By the server and merged into a smaller number of workloads but physically more powerful computers, you can reduce the consumption of resources (such as power and physical space).
-
Improved business continuity. Hyper -V helps users will affect both planned and unplanned downtime to minimize the workload.
-
Establish or expand a virtual machine infrastructure (VDI). Centralized desktop policy contains VDI helps to improve business agility and data security, streamline compliance and management of the desktop operating system and applications. Deploy Hyper -V and remote desktop on the same physical computer Virtualization Host (RD Virtualization Host) to provide individual virtual machines or virtual desktop pools to users.
- Improve the efficiency of deploying and testing activities. Use virtual machines need to repeat purchase and maintenance of all hardware, it can be reproduced in different system environments.
Third, the implementation of case
This case requires tools and network disk CD please visit extract: [ https://pan.baidu.com/s/1g6AhXkPOfmTgRfMFj5CDEw&shfl=sharepset
extraction code: btzv
( https://pan.baidu.com/s/1g6AhXkPOfmTgRfMFj5CDEw&shfl=sharepset )
1, the deployment of a domain controller:
Configure the IP address and DNS
Domain Services Installation
The default installation to the next step
Add a new forest
Forest functional domain functional upgrade to the 2012 R2, set a password and click Next
The default installation to the next step
Logon domain
Close domain firewall
Modify DNS
Create two user verification
DHCP installation
The default installation to the next step
The installation is complete
Configuring DHCP
Authorize
Configuration
New Scope
Editing scope name
Set the start and end range
Default Next, select No, configure these options later
Scope created
Configuring DNS server
Activate Scope
Install Certificate Services
Check the Certificate Authority Web Enrollment
start installation
The installation is complete
Configuring Certificate Services
Check the Certification Authority role service and the Certification Authority Web Enrollment
Type is set to Enterprise CA
Set to the root CA
Select Create a new private key
Next default encryption
Configuration to
Configuration
2、DC02_Hyper -V:
Open floor virtualization
Edit virtual machine hardware
Virtualization virtual machine configuration
Open the virtual machine configuration IP address and DNS
Computer to the domain, restart your computer
本地管理员登录域
进入计算机管理,将新添加的硬盘进行联机
初始化磁盘
磁盘分区形式为MBR
新建简单卷
单击下一步
默认直接下一步
默认下一步
默认下一步
创建完成
安装Hyper -V
默认下一步,勾选网络适配器
单击安装
安装完成,重启计算机
安装远程桌面服务
选择标准部署
选择基于虚拟机的桌面部署
角色服务默认下一步
RD连接代理,默认下一步
RD Web访问默认下一步
RD虚拟主机默认下一步
开始安装
安装完成
DC01_AD和DC02_Hyper -V运行cmd,输入gpupdate /force更新一下策略
点击远程桌面服务
添加RD网关
输入证书名称
添加即可
添加完成
添加RD授权
添加即可
Hyper -V新建虚拟机
默认下一步
编辑虚拟机名字,自定义虚拟机安装位置
选择第一代虚拟机
内存设置为1GB,勾选动态内存
网络选择未连接
连接虚拟硬盘,设置磁盘大小
直接挂载光盘,(自行复制Win 10操作系统光盘到虚拟机)
配置完成
编辑虚拟交换机
启动虚拟机
连接
单击下一步
单击现在安装
接受许可条款
自定义安装
创建50GB分区格式化,将系统安装在48GB分区
快速设置
创建用户设置密码
运行cmd,查看DHCP是否自动下发IP地址
关闭防火墙
运行Sysprep更新SID号
关机之后还是部署RD虚拟主机集合
编辑集合的名称
选择个人虚拟机集合
虚拟机模板自动选择,单击下一步
启用自动用户分配
无人参与安装
组织单位选择benet.com域
添加bob;tom用户,设置虚拟机前缀
新建2台虚拟机
自定义存储位置
开始创建
创建完成
打开Hyper -V管理器可以看到创建的两台虚拟机
打开浏览器访问,输入benet\bob登录
选择win 10
远程桌面连接
连接成功,输入密码登录
登录成功,可以新建文本文档,证明没有问题
切换tom登录
远程桌面连接
输入密码登录
访问C盘下的windows下的win 10文件夹
将win 10桌面的文本文档复制出来即可
将tom加入到administrators组
3、开启客户端:
DHCP自动下发IP地址
在DC02_Hyper -V上打开IIS管理器
编辑网站绑定
删除http
重新启动站点
客户端用浏览器访问,bob登录
Enter the user password to connect Windows 10
Bob will join administrators group
Will win 10 disabled by the user, you have permission to log off the back
------ This concludes the article, thanks for reading ------