VDI架构—Remote FX 初体验

简介:

引言

随着微软的VDI架构在企业中的实施原来越多,企业相关的需求也在随着市场的需要而在变化,声音、图像等多媒体元素在VDI中的展现,也称为了当今虚拟化所关注的主题之一。

 

VDI-RemoteFX 概览

随着Windows 2008 R2以及Windows 7的SP1 Beta包的发布,我得以在虚拟化的VDI部署上使用新的功能来进行测试,其中尤为关注的就是最新的Remote FX的特性。

Windows 7 SP1是面向消费级用户和IT专业人员的累积更新,包含先前通过Windows Update提供的更新,以及根据客户和合作伙伴的反馈意见为Windows 7平台持续开发的增量式更新。它可以为PC提供支持,为操作系统提供持续改进,并且便于组织以单一更新集的形式进行部署。

Windows Server 2008 R2 SP1则是面向企业和IT专业人员的累积更新,包含虚拟化增强功能(动态内存和RemoteFX)、先前通过Windows Update提供的改进,并解决了客户反馈的问题。RemoteFX描述了一组富媒体功能,使用远程桌面服务平台的用户可利用它们来部署基于虚拟机或会话的远程桌面基础结构。具体而言,RemoteFX增强了远程桌面服务中的远程桌面协议(RDP),使远程办公人员可以访问任意类型的应用程序或屏幕内容,包括富媒体和3D应用程序,从而提高最终用户的工作效率。

根据微软官方的文档显示Remote FX在硬件方面有着那么几项很关键的要求,而我的测试也是因为我的CPU不满足其中的EPT技术而宣告失败。不过整个架构是能实现的,就先展示给大伙看看啦。

RemoteFX server hardware requirements

There are several hardware requirements that must be met when deploying a RemoteFX server:

SLAT-enabled processor – The processor in the RemoteFX server must support Second-Level Address Translation (SLAT). In virtualization scenarios, hardware-based SLAT support improves performance. On Intel-based processors, this is called Extended Page Tables (EPT), and on AMD-based processors, it is called Nested Page Tables (NPT).

GPU - At least one graphics processing unit (GPU) is required on the RemoteFX server. The GPU driver must support DirectX 9.0c and DirectX 10.0. If more than one GPU is installed in the RemoteFX server, the GPUs must be identical. The GPU must have sufficient dedicated video memory that is separate from system memory.

RemoteFX encoder - The RemoteFX encoder is optional and can be installed for additional scalability on the RemoteFX server. The hardware encoder card must be installed in an x4 speed PCI-express slot or greater.

Hyper-V – The Hyper-V hardware requirements must be supported on the server. The Hyper-V hardware requirements for Windows Server 2008 R2 are available on the Windows Server 2008 Technical Library (http://go.microsoft.com/fwlink/?LinkID=180919).

Streaming SIMD Extensions (SSE2) processor – If you are using RemoteFX on an RD Session Host server, the processor on the RD Session Host server must support SSE2.

Remote FX测试架构示意

本次测试的架构图:

 

image

  VDI-Remote部署测试

1. 部署Remote FX服务器

根据微软的原文步骤,在VDI的基础上部署Remote FX:

In this step, you will do the following:

Enable RemoteFX.

 

Configure the custom RDP settings.

 

Install the RemoteFX 3D video adapter on the personal virtual desktop.

First, you must enable RemoteFX on the RDVH-SRV computer.

To enable RemoteFX

1.Log on to RDVH-SRV as CONTOSO\Administrator.

2.Open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.

3.Under the Roles Summary heading, click Add Roles.

4.On the Before You Begin page of the Add Roles Wizard, click Next.

5.On the Select Server Roles page, select the Remote Desktop Services check box, and then click Next.

6.On the Introduction to Remote Desktop Services page, click Next.

7.On the Select Role Services page, select the RemoteFX check box. The Core Services check box will be automatically selected and installed when RemoteFX is installed.

8.On the Confirm Installation Selections page, verify that the RD Virtualization Host role service will be installed, and then click Install.

9.On the Installation Results page, you are prompted to restart the server to finish the installation process. Click Close, and then click Yes to restart the server.

10.After the server restarts and you log on to the computer as CONTOSO\Administrator, the remaining steps of the installation finish. When the Installation Results page appears, confirm that installation of the RD Virtualization Host role service succeeded, and then close Server Manager.

image

image

2. 配置Remote FX

接下来还有比较重要的这几步:

Next, you must configure the custom RDP settings for the virtual desktop pool to always use a LAN connection speed.

To configure the custom RDP settings

1.Log on to RDCB-SRV as the CONTOSO\Administrator user account.

2.Click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Connection Manager.

3.Expand RD Virtualization Host Servers.

4.Right-click Personal Virtual Desktops, and then click Properties.

5.Click the Custom RDP Settings tab.

6.In the Custom RDP settings box, type connection type:i:6 and then click OK.

image

Instead of configuring the custom RDP settings, you can also give your users the option to configure their connection speed when logging on to the RD Web Access server. This is configured by editing the web.config file on the RDCB-SRV server.

To show the connection speed check box

1.Log on to RDCB-SRV as the CONTOSO\Administrator user account.

2.Navigate to C:\Windows\Web\RDWeb\Pages.

3.Double-click the web.config file.

4.Under AppSettings, change the following settings to true.

<add key="ShowOptimizeExperience" value="true" />

<add key="OptimizeExperienceState" value="true" />

image

 

5.Save the file, and then close Notepad.

Finally, install the 3D video adapter on the personal virtual desktop.

To install the 3D video adapter

1.Shut down the PVD1-CLNT virtual desktop.

2.Open Hyper-V Manager. To open Hyper-V Manager, click Start, point to Administrative Tools, and then click Hyper-V Manager.

3.Under Virtual Machines, right-click pvd1-clnt.contoso.com, and then click Settings.

4.Click Add Hardware.

5.In the Select the devices you want to add box, click Synthetic 3D Video Adapter, and then click Add.

6.Click OK to add the 3D Video Adapter.

7.Under Virtual Machines, right-click pvd1-clnt.contoso.com, and then click Start.

8.Under Virtual Machines, right-click pvd1-clnt.contoso.com, and then click Connect.

9.Log on to the PVD1-CLNT computer as a member of the local Administrators group.

10.The RemoteFX 3D Video Adapter driver will install. When you dialog box asking you to restart the computer appears, Restart Now.

 

image

image

就这样,可以在VDI的架构前提下安装成功Remote FX,可是由于我的CPU不支持Intel的EPT技术,所以没有办法开启虚拟机展示给大家,听说只有i7的全系列以及至强的X5500以上的CPU才支持此技术,也不知道是真是假。

相关报错的截图如下:

image

微软的问题解答描述也是如我所料,是因为CPU不支持EPT技术所导致的,如下:

Q:An error occurred while attempting to start the selected virtual machine(s): Failed to Power on with Error ‘Unspecified error’

 

A:It is likely that you are attempting to start RemoteFX virtual machines on a server that does not have a SLAT-enabled processor.

PS:SLAT-enabled processor – The processor in the RemoteFX server must support Second-Level Address Translation (SLAT). In virtualization scenarios, hardware-based SLAT support improves performance. On Intel-based processors, this is called Extended Page Tables (EPT), and on AMD-based processors, it is called Nested Page Tables (NPT).

若在将来在VDI架构中彻底的都部署了Remote FX,那么很多企业的Call Center或者是研发、设计的部门,都可以顺利地运行在Hyper-V上了,而无需借助WYSE或者思杰等第三方来完成声音、视频的高性能双向传输啦,这是节省成本的有效途径,也是一大创举啊!我们都将拭目以待!!



本文转自xury 51CTO博客,原文链接:http://blog.51cto.com/xury007/351497,如需转载请自行联系原作者

相关实践学习
在云上部署ChatGLM2-6B大模型(GPU版)
ChatGLM2-6B是由智谱AI及清华KEG实验室于2023年6月发布的中英双语对话开源大模型。通过本实验,可以学习如何配置AIGC开发环境,如何部署ChatGLM2-6B大模型。
相关文章
|
存储 前端开发
RxSwift+MVVM项目实战-MVVM架构介绍以及实战初体验
RxSwift+MVVM项目实战-MVVM架构介绍以及实战初体验
731 0
|
10月前
|
弹性计算 API 持续交付
后端服务架构的微服务化转型
本文旨在探讨后端服务从单体架构向微服务架构转型的过程,分析微服务架构的优势和面临的挑战。文章首先介绍单体架构的局限性,然后详细阐述微服务架构的核心概念及其在现代软件开发中的应用。通过对比两种架构,指出微服务化转型的必要性和实施策略。最后,讨论了微服务架构实施过程中可能遇到的问题及解决方案。
|
11月前
|
Cloud Native Devops 云计算
云计算的未来:云原生架构与微服务的革命####
【10月更文挑战第21天】 随着企业数字化转型的加速,云原生技术正迅速成为IT行业的新宠。本文深入探讨了云原生架构的核心理念、关键技术如容器化和微服务的优势,以及如何通过这些技术实现高效、灵活且可扩展的现代应用开发。我们将揭示云原生如何重塑软件开发流程,提升业务敏捷性,并探索其对企业IT架构的深远影响。 ####
256 3
|
11月前
|
Cloud Native 安全 数据安全/隐私保护
云原生架构下的微服务治理与挑战####
随着云计算技术的飞速发展,云原生架构以其高效、灵活、可扩展的特性成为现代企业IT架构的首选。本文聚焦于云原生环境下的微服务治理问题,探讨其在促进业务敏捷性的同时所面临的挑战及应对策略。通过分析微服务拆分、服务间通信、故障隔离与恢复等关键环节,本文旨在为读者提供一个关于如何在云原生环境中有效实施微服务治理的全面视角,助力企业在数字化转型的道路上稳健前行。 ####
|
6月前
|
Cloud Native Serverless 流计算
云原生时代的应用架构演进:从微服务到 Serverless 的阿里云实践
云原生技术正重塑企业数字化转型路径。阿里云作为亚太领先云服务商,提供完整云原生产品矩阵:容器服务ACK优化启动速度与镜像分发效率;MSE微服务引擎保障高可用性;ASM服务网格降低资源消耗;函数计算FC突破冷启动瓶颈;SAE重新定义PaaS边界;PolarDB数据库实现存储计算分离;DataWorks简化数据湖构建;Flink实时计算助力风控系统。这些技术已在多行业落地,推动效率提升与商业模式创新,助力企业在数字化浪潮中占据先机。
348 12
|
10月前
|
Java 开发者 微服务
从单体到微服务:如何借助 Spring Cloud 实现架构转型
**Spring Cloud** 是一套基于 Spring 框架的**微服务架构解决方案**,它提供了一系列的工具和组件,帮助开发者快速构建分布式系统,尤其是微服务架构。
784 70
从单体到微服务:如何借助 Spring Cloud 实现架构转型
|
8月前
|
传感器 监控 安全
智慧工地云平台的技术架构解析:微服务+Spring Cloud如何支撑海量数据?
慧工地解决方案依托AI、物联网和BIM技术,实现对施工现场的全方位、立体化管理。通过规范施工、减少安全隐患、节省人力、降低运营成本,提升工地管理的安全性、效率和精益度。该方案适用于大型建筑、基础设施、房地产开发等场景,具备微服务架构、大数据与AI分析、物联网设备联网、多端协同等创新点,推动建筑行业向数字化、智能化转型。未来将融合5G、区块链等技术,助力智慧城市建设。
361 1
|
11月前
|
Dubbo Java 应用服务中间件
服务架构的演进:从单体到微服务的探索之旅
随着企业业务的不断拓展和复杂度的提升,对软件系统架构的要求也日益严苛。传统的架构模式在应对现代业务场景时逐渐暴露出诸多局限性,于是服务架构开启了持续演变之路。从单体架构的简易便捷,到分布式架构的模块化解耦,再到微服务架构的精细化管理,企业对技术的选择变得至关重要,尤其是 Spring Cloud 和 Dubbo 等微服务技术的对比和应用,直接影响着项目的成败。 本篇文章会从服务架构的演进开始分析,探索从单体项目到微服务项目的演变过程。然后也会对目前常见的微服务技术进行对比,找到目前市面上所常用的技术给大家进行讲解。
362 1
服务架构的演进:从单体到微服务的探索之旅