Project Server VME:將 Windows SharePoint Services 2.0 內容資料庫附加到伺服器陣列
適用版本: Project Server 2010
上次修改主題的時間: 2013-12-18
重要
這是選擇性步驟,且只有在您移轉 Microsoft Office Project Server 2003 專案工作區資料時才需要。
使用下列程序可以將 Windows SharePoint Services 2.0 內容資料庫的複本附加到 VME 的 Microsoft Office Project Server 2007 伺服器陣列中。當您將包含專案工作區資料的內容資料庫還原到 Microsoft SQL Server 2005 的 Project Server 虛擬移轉環境 (VME) 虛擬機器後,請執行此程序。一旦附加之後,專案工作區就會移轉到 Windows SharePoint Services 3.0。
將 Windows SharePoint Services 2.0 內容資料庫附加到 VME 中的伺服器陣列,是 VME 移轉階段中的一個步驟。如需其他步驟的詳細資訊,請參閱<Project Server VME:移轉階段>。
將 Windows SharePoint Services 2.0 內容資料庫附加到 VME 伺服器陣列
開啟命令提示字元視窗,瀏覽至 Stsadm.exe 的位置 (預設位置是 <磁碟機>:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\bin)。
執行下列 Stsadm 命令,將 Windows SharePoint Services 2.0 內容資料庫的複本附加到 Windows SharePoint Services 3.0 並升級。
stsadm.exe -o addcontentdb -url http://<server>:<port> -databasename <WSS v2.0 content database> -databaseserver <DB Server name>
例如:
stsadm.exe -o addcontentdb -url http://VME -databasename YourContentDBName databaseserver VME
在執行 Stsadm.exe 之後,您可以查詢 ULS 記錄目錄中的 upgrade.log 來追蹤升級的進度。(預設位置是 C:\program files\common files\Microsoft shared\Web server extensions\12\logs\upgrade.log)。當記錄中包含下列文字時,表示指定的內容資料庫已完成升級:
[SPManager] [DEBUG] [<Date> <Time>]: Using cached [SPContentDatabase Name=<DB NAME> Parent=SPDatabaseServiceInstance] NeedsUpgrade value: False.
如果升級程序因任一原因 (如記錄中所示) 而失敗,可以重新啟動 Windows SharePoint Services 升級程序。若要重新啟動此升級程序,請執行命令 Stsadm.exe -o upgrade,然後查看記錄以檢視進度。當命令提示傳回下列文字時,表示已完成升級: 作業已成功完成。
注意
如需如何將內容資料庫移轉至 Windows SharePoint Services 3.0 的詳細資訊,請參閱<附加資料庫並升級為 SharePoint Foundation 2010>。