在OCS2007R2時,Web形式的IM/Presence可以通過CWA或 OWA來實現。
在Lync中,CWA被Lync Web App所替代,但刪除了IM/Presence功能。
注:也可以再lync站點中加入OCS2007 R2 的CWA服務器。
不過,我們同樣可以通過與Exchange2010 SP1 OWA的集成來實現Lync Web形式的IM/Presence功能。
注:Lync不能和Exchange2010 RTM做OWA的IM集成,Exchange2010必須是SP1。
如下爲Lync IM/Presence 與 Exchange2010 SP1 OWA 集成的配置步驟:
1. 在Exchange上安裝軟件
1) 下載並在Exchange2010 SP1 CAS上解壓如下軟件:
CWAOWASSPMain.msi
解壓後文件如圖所示:
2) 安裝install Visual C++2008
運行文件夾中的vcredist_x64.exe
3) 安裝並更新Unified Communications Managed API
運行文件夾中的UcmaRedist.msi安裝Unified Communications Managed API;
下載並安裝如下補丁使Unified Communications Managed API的版本至少升到3.5.6907.215。
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1F565A42-71D2-4FBD-8AE0-4B179E8F02AB
4) 安裝並更新Microsoft Office Communications Server 2007 R2 Web Service Provider
運行文件夾中的CWAOWASSP.msi安裝Microsoft Office Communications Server 2007 R2 Web Service Provider;
下載並安裝如下補丁使其版本升至3.5.6907.202。
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=45C94403-39FA-44D3-BE23-07F25A2D25C7
2. 配置Exchange
1) 獲取IIS證書Thumbprint
運行Get-ExchangeCertificate|fl Services,Thumbprint
2) 配置OWA與Lync關聯
運行Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -InstantMessagingType OCS -InstantMessagingEnabled:$true
–InstantMessagingCertificateThumbprint EDD91862FE3D5F552742EFDFA612F8AA2983B13 –InstantMessagingServerName lyncse.convoyland.com
3) 重啓IIS
3. 配置Lync
1) 創建Trusted Application Pool
打開Lync Server Topology Builder,在Trusted Application Servers下創建Trusted Application pool,FQDN爲Exchange2010 CAS。
並將新設置發佈的CMS。
2) 配置監聽端口
通過New-CsTrustedApplication爲該Pool創建監聽端口;在這我選擇的監聽端口爲5059
New-CsTrustedApplication -ApplicationId ExchangeOWA -TrustedApplicationPoolFqdn mail.convoyland.com -Port 5059
通過Enable-CsTopology –v使設置生效: