關鍵詞: Reporting Service部署 Scale-Out 錯誤代碼0x800706BA
首先咱們知道Reporting 服務包含2部分,其分別是提供Reporing Service解析webservice服務的服務器及報表數據庫所在數據庫服務器。
關於ReportingService服務,微軟提供了4種部署模式,其分別是Single, Standard, Scale-Out及Cluster模式
Single模式:reporting web服務與數據庫服務在同一臺服務器上
Standard模式: Reporting web服務爲一臺服務器,數據庫服務在另一臺服務器上
Scale-Out 擴展模式: 2臺不一樣的Reporting web服務器,調用同一臺數據庫服務器
NLB Cluster 模式: 針對數據庫服務器的負載均衡
這裏着重介紹一下Scale-Out模式,圖形以下
Scale-Out 模式適用情景:
公司須要有一臺性能不錯的數據庫服務器,目前須要給3個部門搭建不一樣的Reporting service服務, 咱們不可能給每一個部門單獨購買數據庫服務器;變通一下,只須要買3臺配置通常的服務器,用做reporting service 提供,這三個reporting service服務器訪問公用的一臺數據庫服務器,以節省費用。
這裏就須要用到Scale-out 架構,關於如何配置Scale-out模式,建議參照微軟的官方文檔
http://msdn.microsoft.com/zh-cn/library/ms159114.aspx
這裏,須要補充一點官方文檔遺漏的問題: 按照文檔進行配置,最後點「添加服務器」的時候,會報錯,錯誤內容大致以下:
· ReportServicesConfigUI.WMIProvider.WMIProviderException An unexpected
error has occurred. Details:
The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) ---
> System.Runtime.InteropServices.COMException (0x800706BA): The RPC
server is unavailable. (Exception from HRESULT: 0x800706BA)
at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementScope.Connect()
at
ReportServicesConfigUI.WMIProvider.RSInstances.GetInstances(String
machineName)
--- End of inner exception stack trace ---
at
ReportServicesConfigUI.WMIProvider.RSInstances.GetInstances(String
machineName)
at
ReportServicesConfigUI.WMIProvider.RSInstances.GetInstance(String
machineName, String instanceName)
at
ReportServicesConfigUI.Panels.ClusterManagementPanel.ConfigureWebFarm(Object
sender, RSReportServerInfo[] rsInfos)
解決辦法Reporting service configuration Manager:
1. 備份服務器A的密鑰 文件
2. 複製到服務器B中
3. 服務器B,還原密鑰文件
4. 再在服務器A點擊「添加服務器」就能夠成功了