1,创建DNS记录

内部DNS:

     A记录或别名:lyncdiscoverinternal.domain.com   lync.domain.com(池名)

外部DNS:

    A记录或别名:Lyncdiscover.domain.com sip.domain.com(edgeserver的外部FQDN)

    SRV记录:_sipfederationtls._tcp.domain.com porti to sip.domain.com TCP:5087

2,更新补丁

http://134739.blog.51cto.com/124739/742061全部下载

安装步骤:

1.打开Lync Power Shell,先停止lync服务。stop--CsWindowsService

2.关闭lync power shell,在dos命令中关闭web service。 net stop w3svc

3.执行LyncServerUpdateInstaller.exe

4.在提示重启后,重新启动服务器

5.重启服务器后,打开Lync Power Shell,再次关闭lync 服务。Stop-CsWindowsService

3,更新数据库:

由于我用的是标准版的。所以直接执行命令

install-CsDatabase –Update –LocalDatabases

启动命令

Start-CsWindowsService

4,在前端服务器上为Mobility服务设定端口

1.为内部web Services设定端口

Set-CsWebServer –Identity lync.domain.com –McxSipPrimaryListeningPort 5086

2.为外部web Services设定端口

Set-CsWebServer –Identity lync.domain.com(池名) –McxSipExternalListeningPort 5087

3,Enable-CsTopology –verbose

5,安装Mobility和Autodiscover服务组件

1.安装IIS组件

如果是Win2008 R2系统,在Powershell中执行如下命令:

Import-Module ServerManager
Add-WindowsFeature Web-Server, Web-Dyn-Compression

2,下载安装包:http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=28356 

3,复制McxStandalone.msi文件至C:\ProgramData\Microsoft\Lync Server\Deployment\cache\4.0.7577.0\setup

4,打开Dos命令窗口并执行命令

C:\Program Files\Microsoft Lync Server 2010\Deployment\Bootstrapper.exe

5,如果你想禁止在公司内使用移动设备,可以执行以下命令(但一般不会去执行吧)

Set-CsMcxConfiguration –ExposedWebUrl Internal (默认为External)

.没有执行Set-CsMcxConfiguration –ExposedWebUrl Internal 命令,因为该命令只允许内部登录。如果有不小心执行到请再恢复默认,命令如下:

Set-CsMcxConfiguration –ExposedWebUrl External

6,重新申请证书在FE服务器上。并分派。

7,重启Lync服务或重启服务器。