根据论坛用户和其他途径的反馈,很多时候问的问题出现在App-V Management Server的安装和初次使用上,这里分享下安装时候的必选步骤,并附上安装参考文档,务求在部署时尽量减少遇到问题的几率,并且在此文分享几个常见的用户问题的原因和解决方法。

以下以Server 2008 R2为例,Server 2008以及Server 2003的安装可以参照。

安装要点

1. IIS 必需组件

安装IIS服务时,以下内容必须安装
ASP.NET (and all required role services and features)
Windows Authentication
IIS Management Scripts and Tools
IIS 6 Management Compatibility

2 

2. SQL Server防火墙例外

假如你使用的SQL Server与App-V Management Server不在同一台机上,那么在后者的防火墙上需要设置SQL Server端口例外,在入站规则允许1433端口。微软的官方文档MSAppVirt45Trial_Guide_Final中的演示环境是将两者都部署在同一台机上,所以没有提到此要点。

4

防火墙例外

在入站规则中添加以下2个程序

3. App-V Management Server

用于RTSPS协议
%PROGRAMFILES%\Microsoft System Center App Virt Management Server\App Virt Management Server\bin\sghwdsptr.exe
用于RTSP协议
%ProgramFiles%\Microsoft System Center App Virt Management Server\App Virt Management Server\bin\sghwsvr.exe

10

4. RTSPS协议设置

详见下面的微软官方文档App-V Security Operations Guide
 

常见问题

报错:无法连接到SQL Server。
原因:防火墙没有打开 SQL Server 1433端口。

3

报错:IIS virtual directory 无法安装。
原因:IIS角色安装时中没有添加 IIS Management Scripts and Tools,IIS 6 Management Compatibility。

5

报错:Code 0000C801。
原因:IIS角色安装时没有添加 Windows Authentication。

1

 

可供参考文档

Microsoft Application Virtualization Version 4.5 Trial Guide
http://download.microsoft.com/download/f/7/8/f784a197-73be-48ff-83da-4102c05a6d44/MSAppVirt45Trial_Guide_Final.docx

App-V Security Operations Guide
http://download.microsoft.com/download/f/7/8/f784a197-73be-48ff-83da-4102c05a6d44/AppV_Secuirty_Operations_Guide.docx

Configuring the Firewall for the App-V Servers
http://technet.microsoft.com/en-us/library/ff361465.aspx

App-V 4.5 安装参考指南(中文版)
http://bbs.winos.cn/thread-49320-1-2.html