1. 更新CU4补丁

1) 下载积累性补丁安装器

在需要安装更新补丁的Lync服务器上安装并下载LyncServerUpdateInstaller,下载路径如下。

http://www.microsoft.com/download/en/details.aspx?id=11551

clip_p_w_picpath001

 

2) 更新Lync服务器补丁

在Lync Std、Lync FE、Lync Dir、Lync Edge、Lync Med、Lync AV、Lync Mon以及安

装了Lync AdminTools的服务器上运行LyncServerUpdateInstaller.exe安装补丁。

clip_p_w_picpath002

 

3) 重启所有Lync相关服务

Stop-CsWindowsService "&" Start-CsWindowsService

Net Stop w3svc

Net Start w3svc

 

4) 更新后端数据库

一旦更新了Lync Core组件,则需要运行如下命令更新数据库。

Install-CsDatabase -Update -ConfiguredDatabases -SqlServerFqdn lyncse.contoso.com -UseDefaultSqlPaths

命令运行位置选择:

  • 当Lync为Std服务器,则再Std服务器上运行如上命令;
  • 当Lync为整合安装了归档/监视角色的Ent服务器,则再后端数据库运行如上命令;
  • 当Lync为独立的Ent服务器,则在一台前端服务器上运行如上命令。

 

2. 部署移动及自动发现服务

1) 为移动服务分配监听端口

For Internal Web Service

Set-CsWebServer -Identity lyncse.contoso.com -McxSipPrimaryListeningPort 5086 -v

For External Web Service

Set-CsWebServer -Identity lyncse.contoso.com -McxSipExternalListeningPort 5087 –v

 

2) 部署移动服务

从如下位置下载补丁:

http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=919f20c9-6111-47f4-96bc-37d487552efe&displaylang=zh-cn

 

将该补丁文件McxStandalone.msi移动到如下路径:

C:\ProgramData\Microsoft\Lync Server\Deployment\cache\4.0.7577.0\setup

 

在前端\STD\Dir服务器上运行如下命令,安装IIS动态内容压缩组件:

Import-Module ServerManager

Add-WindowsFeature Web-Server, Web-Dyn-Compression

 

在前端\STD\Dir服务器上运行如下命令,安装Lync移动服务及自动发现服务:

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

 

运行如下命令更新拓扑:

Enable-CsTopology

 

检查IIS,Autodiscover和Mcx虚拟目录是否创建。

clip_p_w_picpath003

 

重新为Lync申请证书并绑定。

Lync证书SAN中需要新增加如下两名称:

Lyncdiscover.contoso.com

Lyncdiscoverinternal.contoso.com

 

修改Lync External Web的反向代理发布

替换新的Lync证书,公共名称处添加Lyncdiscover.contoso.com。

也可以为单独为Lyncdiscover.contoso.com发布80->8080,使用Http访问。

 

修改DNS记录

在公网DNS上,增加别名记录或A记录Lyncdiscover.contoso.com指向Lync Extranal Web对外发布IP;

在内部DNS上,创建别名记录或A记录Lyncdiscoverinternal.contoso.com指向 Lync Std\FE\Dir的IP。

 

3) 测试

Test-CsMcxP2PIM -TargetFqdn lyncse.contoso.com -SenderSipAddress sip:user1@contoso.com -ReceiverSipAddress sip:user2@contoso.com -v

Test-CsMcxConference -TargetFqdn lyncse.contoso.com -OrganizerSipAddress sip:user1@contoso.com -UserSipAddress sip:user2@contoso.com -User2SipAddress sip:user3@contoso.com –v

 

3. 配置Push Notifications

1) 创建online hosting provider

New-CsHostingProvider -Identity "pushdf.lync.com" -Enabled $True -ProxyFqdn "sipfed-tip.online.lync.com" -VerificationLevel UseSourceVerification

 

2) 设置联盟

New-CsAllowedDomain -Identity "pushdf.lync.com"

 

3) 启用Push Notifications

Set-CsMcxConfiguration -PushNotificationProxyUri sip:push@pushdf.lync.com

Set-CsPushNotificationConfiguration -EnableApplePushNotificationService $True -EnableMicrosoftPushNotificationService $True

 

4) 测试

Test-CsFederatedPartner -TargetFqdn lyncedge.contoso.com -Domain pushdf.lync.com -ProxyFqdn sipfed-tip.online.lync.com