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-Compression2,下載安裝包: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服務或重啓服務器。