使用SCCM2012管理WSUS更新檔派發,在安裝WSUS4.0、添加站點系統角色(軟體更新點)、同步軟體更新操作後,打開WSUS控制台可以看到同步程序,同步成功後打開SCCM“所有軟體更新”,顯示“未找到任何項目”。表示更新檔資訊未導入SCCM。
檢視監視-元件狀态,發現SMS_WSUS_SYNC_MANAGER有錯誤警告,檢視CM伺服器日志檔案C:\Program Files\Microsoft Configuration Manager\Logs\wsyncmgr.log,報以下錯誤:
*** *** Unknown SQL Error! $$<SMS_WSUS_SYNC_MANAGER><03-06-2015 02:11:11.449-480><thread=4036 (0xFC4)>
Failed to sync update 57a02ff3-31b4-4be8-bcee-33d74eba9a18. Error: Failed to save update ac675cdd-70e8-447f-8fbd-3fa0225a3ca5. CCISource error: -1.
網上查詢解決辦法和資料庫有關,解決辦法如下:
1、Check the database ownership in SQL Management Studio using the query:
Exec sp_helpdb
<a href="http://s3.51cto.com/wyfs02/M01/5A/2F/wKioL1T5S1ehFLmUAAIXE8YgufU243.jpg" target="_blank"></a>
2、Changed the database ownership back to ‘sa’ using the query:
USE [SCCM_Db] GO EXEC sp_changedbowner ‘sa’
<a href="http://s3.51cto.com/wyfs02/M00/5A/2F/wKioL1T5S26z7y8gAAIpsP2GNOM352.jpg" target="_blank"></a>
3、Check the TRUSTWORTHY property on the SCCM database.Right click on SCCM database,Select options and look for trustworthy property in the list of DB options
<a href="http://s3.51cto.com/wyfs02/M00/5A/33/wKiom1T5SmyyrVITAAH0R-G-fxE069.jpg" target="_blank"></a>
4、Change the TRUSTWORTHY property on the SCCM database using the SQL query:
ALTER DATABASE [SCCM_Db] SET TRUSTWORTHY ON
<a href="http://s3.51cto.com/wyfs02/M02/5A/33/wKiom1T5SufSvQX4AAHwT8-YsCo097.jpg" target="_blank"></a>
修改完成後,重新同步軟體更新,即可在所有軟體更新看到WSUS更新檔了。第一次導入的時間會有點長。
<a href="http://s3.51cto.com/wyfs02/M02/5A/34/wKiom1T5TnChqpB7AAOLgnxbJi0311.jpg" target="_blank"></a>
PS:需要注意預設情況下WSUS的遠端資料庫SUSDB會生成在C槽預設路徑下,可分離出來拷貝到其他盤再附加上就可以了。WSUS安裝完成後不需要配置,在CM添加軟體更新點時再配置。
本文轉自 lorysun 51CTO部落格,原文連結:http://blog.51cto.com/lorysun/1617952