Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Deploy Hyper-V for Desktop Virtualization

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

I. Overview of the case

In order to facilitate the management of the company's office desktop system, the company has studied several desktop virtualization platforms. After evaluation, the company's operation and maintenance engineers decided to use Microsoft's Hyper-V virtualization platform as a desktop deployment solution.

Microsoft Hyper-V server virtualization system makes the data center more flexible and efficient through faster application delivery and higher IT resource availability and utilization. Provide the advanced features required by critical workloads (operating systems, applications, and configurations) without sacrificing the necessary, easy-to-operate features for large-scale deployment.

Second, case pre-knowledge point 1, Hyper-V

Hyper-V, a Microsoft virtualization product, is the first for Microsoft to adopt hypervisor-based technologies like Vmware and Citrix. The Hyper-V role can leverage virtualization technologies built into Windows Server to create and manage virtualized computing environments.

2 、 Microsoft Remote Desktop

Remote Desktop is a role that automates the creation and delivery of large installations of virtual desktops. This wizard integrates Microsoft desktop virtualization components so that system administrators can quickly create multiple desktops.

3. Components required for Hyper-V

Installing the Hyper-V role installs its required components and administrative tools. The components required by Hyper-V include the Windows hypervisor, Hyper-V virtual machine management services, virtualization WMI providers, and other virtualization components, such as 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, especially one with Intel virtualization technology (Intel VT) or AMD virtualization (AMD-V) technology. In addition, hardware-enforced data execution protection (DEP) must be available and enabled, that is, the Intel XD bit (execution disabled bit) or the AMD NX bit (no execution bit) must be enabled.

5. Practical application of Hyper-V

Establish or expand a private cloud environment. Hyper-V can help users access or expand the use of shared resources, and adjust utilization as the demand changes to provide more flexible IT services as needed.

Improve hardware utilization. By merging servers and workloads into fewer but more powerful physical computers, you can reduce the consumption of resources, such as power and physical space.

Improve business continuity. Hyper-V helps users minimize the impact of planned and unplanned outages on workloads.

Establish or extend the virtual machine infrastructure (VDI). Centralized desktop policies that include VDI help improve business agility and data security, as well as simplify compliance and management of desktop operating systems and applications. Deploy Hyper-V and remote Desktop Virtualization hosts (RD Virtualization hosts) on the same physical machine to provide users with personal virtual machines or virtual machine pools.

Improve the efficiency of deployment and testing activities. The use of virtual machines can reproduce different system environments without repeatedly purchasing and maintaining all the hardware. III. Case implementation

For the tools and CD-ROMs needed for this case, please visit the network disk extraction: [https://pan.baidu.com/s/1g6AhXkPOfmTgRfMFj5CDEw&shfl=sharepset

Extraction code: btzv

(https://pan.baidu.com/s/1g6AhXkPOfmTgRfMFj5CDEw&shfl=sharepset)

1. Deploy the domain controller:

Configure IP address and DNS

Install domain services

By default, you can install it next.

Add a new forest

The forest functional domain function has been upgraded to 2012 R2. Click next to set the password.

By default, you can install it next.

Login domain

Turn off the domain firewall

Modify DNS

Create two authenticated users

Install DHCP

By default, you can install it next.

Installation completed

Configure DHCP

Authorization

Configuration complete

New scope

Edit scope name

Set start range and end range

By default next, select No, and configure these options later

Scope creation completed

Configure the DNS server

Activate scope

Install Certificate Services

Check Certificate Authority Web enrollment

Start installation

Installation completed

Configure Certificate Services

Role service check Certificate Authority and Certificate Authority Web enrollment

Type is set to enterprise CA

Set to root CA

Select to create a new private key

Encryption defaults to next step

Just configure it.

Configuration complete

2. DC02_Hyper-V:

Enable layer 2 Virtualization

Edit virtual machine hardware Devic

Virtual machine configuration virtualization

Enable the virtual machine to configure IP address and DNS

The computer joins the domain and restarts the computer

Local administrator login domain

Enter the computer management and put the newly added hard disk online

Initialize disk

Disk partition is in the form of MBR

New simple Volume

Click next

Default is straight to the next step.

Default next step

Default next step

Creation completed

Install Hyper-V

Next by default, check the network adapter.

Click install

Installation is complete, restart the computer

Install remote Desktop Services

Select standard deployment

Select virtual machine-based desktop deployment

Role service defaults to the next step

RD connection proxy. Default next step.

Default next step for RD Web access

RD virtual host defaults to next step

Start installation

Installation completed

DC01_AD and DC02_Hyper-V run cmd, enter gpupdate / force to update the policy

Click on remote Desktop Services

Add RD Gateway

Enter the certificate name

Just add it.

Add completed

Add RD Authorization

Just add it.

Hyper-V New Virtual Machine

Default next step

Edit the virtual machine name and customize the installation location of the virtual machine

Select the first generation virtual machine

Set memory to 1GB, check dynamic memory

Network selection is not connected

Connect the virtual hard disk and set the disk size

Directly mount the CD (copy the Win 10 operating system CD to the virtual machine by yourself)

Configuration complete

Edit virtual switch

Start the virtual machine

Connect

Click next

Click install now

Accept the license terms

Custom installation

Create a 50GB partition format and install the system in the 48GB partition

Quick setup

Create a user setting password

Run cmd to see if DHCP automatically issues IP addresses

Turn off the firewall

Run Sysprep to update the SID number

Deploy the collection of RD virtual hosts after shutdown

Edit the name of the collection

Select personal virtual machine collection

Select the virtual machine template automatically, click next

Enable automatic user assignment

Unattended installation

The organizational unit chooses the benet.com domain

Add bob;tom user, set virtual machine prefix

Create 2 new virtual machines

Custom storage location

Start creating

Creation completed

Open the Hyper-V Manager to see the two virtual machines created

Open the browser and enter benet\ bob to log in.

Select win 10

Remote Desktop connection

Connection is successful, enter the password to log in

Login is successful. You can create a new text document to prove that there is no problem.

Toggle tom login

Remote Desktop connection

Enter the password to log in

Access the win 10 folder under windows under disk C

Just copy the text document from the win 10 desktop.

Add tom to the administrators group

3. Open the client:

DHCP automatically issues IP addresses

Open the IIS Manager on DC02_Hyper-V

Edit site binding

Delete http

Restart the site

The client is accessed by browser and logged in by bob

Enter the user password to connect to Windows 10

Add bob to the administrators group

If you disable the win 10 user, log out and log back in.

-this is the end of this article. Thank you for reading-

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 233

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report