Sql-Server

將 SQL Server 2005 升級到 SQL Server 2012

  • December 31, 2012

我有一個測試環境設置如下:

  • 虛擬機 (Hyper-V)

  • Windows Server 2008 R2 SP1(x64 位)

  • Windows SQL Server 2005 Developer Edition SP4(x64 位)(預設實例名稱)

    • 1 個具有合併複製的數據庫設置… 3 個出版物,每個出版物有 2 個訂閱者。

我們正在測試升級到 SQL Server 2012 Developer Edition (sp1) 的過程…

我已經下載了 64 位 SQL Server 2012 Dev 的 iso。(sp1) 來自 MSDN(完整許可副本),並已開始沿著升級路徑前進。在開始檢查不同標準的最後階段之一,我們遇到了一個奇怪的問題,如下所述:

Rule "Upgrade architecture mismatch" failed. The CPU architectures of upgrading feature(s) are different. To upgrade these features, Setup architecture must be the same as the features being installed.

此外,在升級日誌文件中,我發現了以下(更詳細的)輸出:

(03) 2012-12-28 14:02:45 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.BlockMixedArchitecture
(03) 2012-12-28 14:02:45 Slp: Rule 'BlockMixedArchitectureUpgrade' detection result: IsMixedArchitectureInstall= True 
(03) 2012-12-28 14:02:45 Slp: Evaluating rule        : BlockMixedArchitectureUpgrade
(03) 2012-12-28 14:02:45 Slp: Rule running on machine: REPLICATIONTEST
(03) 2012-12-28 14:02:45 Slp: Rule evaluation done   : Failed
(03) 2012-12-28 14:02:45 Slp: Rule evaluation message: The CPU architectures of upgrading feature(s) and this installation program are different. To upgrade these features, Setup architecture must be the same as the features being installed.

我已經確定我們使用的是 x64 系統而不是 ia64,而且我看不出為什麼會發生不匹配。需要注意的一點:我們不能簡單地安裝 SQL Server 2012,然後將數據庫重新附加到它,因為我們有 20 多個實時數據庫(在生產中)並設置了 40 多個出版物……如果我們不得不重新 - 這將是一場絕對的噩夢設置複製。


以下是 SQL Server 2005 設置的版本資訊:

Microsoft SQL Server 2005 - 9.00.5000.00 (X64) 
Dec 10 2010 10:38:40 
Copyright (c) 1988-2005 Microsoft Corporation
Developer Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1)

9.00.5000.00 表示 SP4。


明天我將為此致電 Microsoft 支持。

是否可以將工具(SSMS 等)或 SSIS 單獨安裝到 32 位的主安裝中?

引用自:https://dba.stackexchange.com/questions/31149