1. 更新CU4補丁
1) 下載積累性補丁安裝器
在需要安裝更新補丁的Lync服務器上安裝並下載LyncServerUpdateInstaller,下載路徑如下。
http://www.microsoft.com/download/en/details.aspx?id=11551
2) 更新Lync服務器補丁
在Lync Std、Lync FE、Lync Dir、Lync Edge、Lync Med、Lync AV、Lync Mon以及安
裝了Lync AdminTools的服務器上運行LyncServerUpdateInstaller.exe安裝補丁。
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) 部署移動服務
從如下位置下載補丁:
將該補丁文件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虛擬目錄是否創建。
重新爲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:[email protected] -ReceiverSipAddress sip:[email protected] -v
Test-CsMcxConference -TargetFqdn lyncse.contoso.com -OrganizerSipAddress sip:[email protected] -UserSipAddress sip:[email protected] -User2SipAddress sip:[email protected] –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:[email protected]
Set-CsPushNotificationConfiguration -EnableApplePushNotificationService $True -EnableMicrosoftPushNotificationService $True
4) 測試
Test-CsFederatedPartner -TargetFqdn lyncedge.contoso.com -Domain pushdf.lync.com -ProxyFqdn sipfed-tip.online.lync.com