RemoteApp for Hyper-V

來源:互聯網
上載者:User

Today, we want to talk about a little known feature in Windows Server 2008 R2 that could be described as RemoteApp for Hyper-V. Like Microsoft RemoteApp, it allows users to access a specific hosted application remotely, as opposed to the entire desktop. With RemoteApp, the application runs in the context of a server session; however, RemoteApp for Hyper-V enables remote access to an application running in a Hyper-V VM.

今天我們談一下windows server 2008 R2一個鮮為人知的特性-- RemoteApp for Hyper-V。微軟的RemoteApp允許使用者以遠端方式去t特定的宿主應用程式,而不是整個案頭。應用程式通過RemoteApp運行在一個Server session的上下文中;然而,RemoteApp for Hyper-V只允許遠端存取一個在Hyper-V 虛擬機器中的應用程式。

 

With the advent of Windows 7, some enterprise customers were facing application compatibility issues with line-of-business applications that were specifically written for Windows XP and would not work on Windows 7.

隨著windows7的到來,一些企業客戶將面臨著一些應用程式的相容性問題,因為這些應用程式是在windows XP上編寫,不能在windows7上正常工作。

 

One obvious way to resolve this issue is to run those incompatible applications in Windows XP Mode, a new feature that is available in certain Windows 7 SKUs and which simplifies migration to the new OS by allowing legacy XP applications to seamlessly run in their own context within a Windows 7 environment. Windows XP mode has specific hardware, OS and memory requirements. While this solution works well on newer machines with hardware virtualization support, the hardware requirements for XP mode might be prohibitive for some older PCs.

解決這個問題的一個顯著的方法就是運行這些不相容的程式在windows XP模式下。windows 7 SKU中有一個新特性支援將遺留的XP應用程式遷移到新的作業系統上,並在可以無縫的運行在window 7環境中。運行Windows Xp模式需要有對應的硬體,作業系統和記憶體的需求。這個方案可以很好的工作在具有硬體虛擬化支援的機器上,但是XP模式的硬體需求對於舊的PC來說可能比較昂貴。

 

RemoteApp for Hyper-V allows users to remotely access Windows XP applications from their Windows 7 desktop with no additional hardware requirements.

RemoteApp for Hyper-V 允許使用者從window7案頭遠端訪問windows xp應用程式,並且不需要額外的硬體需求。

 

SKU support: RemoteApp for Hyper-V is supported on the following SKUs running as the guest OS:

以下的作業系統支援RemoteApp for Hyper-V

Windows XP SP3: Professional

Windows Vista SP1 and above: Enterprise and Ultimate

Windows 7: Enterprise and Ultimate

 

 

Here are some examples of applications that will benefit from this feature:

以下的應用程式將得益於這個特性:

Applications that are compatible only with Windows XP SP3

Applications that can run on Windows Server 2003, but not Windows Server 2008 or Windows Server 2008 R2

Applications that are supposed to be run only on a data center server for data security or compliance reasons

To use this feature, a user connects remotely from a client computer to the VM-hosted application. To host the applications, an administrator sets up a virtual machine with a guest OS on a Hyper-V server hosting the virtual machine.

使用這個特性,使用者需要從客戶機遠端連線到虛擬機器的應用程式。想要宿主應用程式,管理員需要安裝客戶作業系統在Hyper-V伺服器上。

 

The client computer must run Windows 7, but the guest OS on the virtual machine can run Windows XP SP3, Windows Vista (with SP1 and above) or Windows 7. For a guest OS running Windows XP SP3, an update is required; for a guest OS running Windows Vista SP1 or above, another update is needed.

用戶端的電腦必須運行在windows 7上,但是在虛擬機器上的客戶作業系統可以是Windows XP SP3, Windows Vista (with SP1 and above) 或 Windows 7。另外,更新作業系統的補丁是必要的。

 

So, how can an administrator deploy this?

There are two ways in which RemoteApp for Hyper-V can be deployed. The first way is the stand-alone scenario, in which all the administrator needs to do is set up a Hyper-V server with virtual machines running a client OS (for example, Windows XP SP3). The administrator would then set up the application and create RDP files that launch this application. A user can connect to the application via a simple Remote Desktop connection using the RDP file.

那麼,管理員如何部署呢?

這裡有兩個方法去部署RemoteApp for Hyper-V。第一個方法是在獨立的情境應用,管理員必須安裝一個Hyper-V伺服器並配置一個客戶作業系統在虛擬機器上。管理員還需要安裝應用程式並為其建立RDP檔案。使用者可以通過RDP檔案和簡單遠端桌面連線到宿主應用程式。

 

Here’s how this setup would look:

 

While this is a simple setup that an administrator can use to pilot the RemoteApp for Hyper-V, it offers no extra efficiency or ability to load balance. One serious drawback of this method is that since only one user can connect to an application at a time, one user connecting to multiple virtual machines effectively blocks out other users.

通過這樣一個簡單的安裝,管理員就可以試用RemoteApp for Hyper-V,但是它並沒有提供額外的效率或能力去作Server Load Balancer。這種方法有一個嚴重的缺點就是每次只能有一個使用者串連到一個應用程式上,如果一個使用者串連多台虛擬機器將會阻礙其他使用者。

 

To get around this problem, the recommended way to install RemoteApp for Hyper-V is over a complete VDI farm or personal virtual desktop setup, including setting up the RD Connection Broker role. An administrator would still need to perform the same manual steps of setting up the application and creating an RDP file, but there are significant advantages to going through the RD Connection Broker. An obvious one is load balancing. In addition, there is increased efficiency, simply because when a user is connected to a virtual machine, all applications launched by that user are redirected to the same virtual machine. Only one user can connect to applications running on a particular virtual machine at a time.

為了繞過這個問題,建議在一個完整的VDI farm或者個人虛擬桌面上安裝RemoteApp for Hyper-V,同時還需要建立遠端桌面連線的代理角色。管理員還需要使用相同的步驟去設定應用程式並建立一個RDP檔案,這樣做的好處可以通過遠端桌面連線代理人,並且可以顯著提高Server Load Balancer。另外,這樣也能提高效率,因為當一個使用者串連到虛擬機器,虛擬機器上所有運行著應用程式將都會被重新導向到這個使用者上。所以,一次只能有一個使用者串連到虛擬機器上的應用程式。

 

One single user cannot block out an entire farm by holding onto different virtual machines on it at the same time. Until a user’s virtual machine is terminated, redirection is always to the same VM. RD Connection Broker ensures that a user connected to a VM stays connected until logged out.

單使用者同時登陸到不同的虛擬機器並不會阻礙整個farm的使用者。但是只有使用者的虛擬機器關閉後,這台虛擬機器上重新導向過程才會結束。遠端桌面連線代理人確保使用者一直保持串連,直到使用者登出。

 

Here’s how the second setup scenario described above would look (running from a Windows XP SP3 farm, for instance):

第二個安裝情境如下:

 

Hosting applications in a farm of virtual machines running Windows XP SP3 is a simple way to give multiple people on the domain access to the applications. There is no security filtering for applications on a virtual machine farm. All domain users who have access to the farm will have access to the applications.

一種簡單的方法為域中的多個使用者提供應用程式訪問,就是將宿主應用程式運行在farm中的windows XP SP3的虛擬機器上。不過farm虛擬機器上的應用程式沒有使用安全過濾,所以所有域使用者只要能訪問域即可以訪問這個應用程式。

 

If an administrator wants to give only a specific user access to an application, the application should be hosted on a personal desktop. In all cases--farms or personal desktops--an administrator only needs to create an RDP file and hand it over to a user, either via a network share or email.

如果管理員想為一個特定使用者提供存取權限,那麼這個應用程式必須宿主到使用者的案頭上。 無論是在farm上或是使用者案頭上應用這一技術,管理員只要建立一個RDP檔案並發送給使用者即可。

 

RemoteApp for Hyper-V is a basic but powerful platform capability which was designed with advanced administrators in mind who are willing to do the manual configuration steps to enable an environment that includes remote access to VM-hosted applications. It serves also as an extensibility point for our RDS partner ecosystem who may want to take advantage of this infrastructure capability and provide additional value-add to RDS customers by streamlining the configuration and expanding the usability and manageability of it. For example, with additional code, it is possible to integrate the RDP files with Remote Desktop Web Access.

RemoteApp for Hyper-V是一種基本但是很有效平台處理能力,這種設計為那些願意手動設定環境來啟用遠端存取宿主應用程式功能的進階管理員提供了支援。它也為那些願意使用這種基礎設定優勢並提供額外的擴充的客戶提供支援。例如,使用一些額外的代碼將RDP整合到遠端桌面WEB訪問中。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.