Oracle DG(Data Guard)支援異構平臺說明

lhrbest發表於2017-06-12

Oracle DG(Data Guard)支援異構平臺說明 




一.說明


OracleData Guard 最簡單的配置是主備庫的環境都一樣,但是在有些情況下需要異構的配置,比如在遷移時為了減少停機時間或者零停機,可能就需要使用異構的DG 配置。

關於Oralce DataGuard 異構平臺的搭建,MOS上有2篇文章專門來說明:

Data Guard Support for HeterogeneousPrimary and Logical Standbys in Same Data Guard Configuration [ID 1085687.1]

Data Guard Support for HeterogeneousPrimary and Physical Standbys in Same Data Guard Configuration [ID 413484.1]


Prior to DataGuard 11g, the Data Guard Broker did not support different word-size in the same Data Guard configuration, thus requiring management from the SQL*Plus command line for mixed word-size Data Guard configurations. Thisrestriction is lifted from Data Guard 11g onward.

--在Oracle 11g 之前,DG Broker 不支援不同word-size的DG 配置,因此需要修改word-size. 到了Oracle 11g 之後,DG 就沒有了這個限制。

Changing between 32-bit and 64-bit WordSizes [ID 62290.1]


這裡的word-size 只的是資料庫的位數,是32位還是64位。其檢視方法,我之前的Blog 有說明。


檢視Oracle 是32位還是64位的方法

http://blog.csdn.net/tianlesoftware/article/details/6818709



在配置異構DG 之前,要先檢視主備庫的Platform. ID,可以從v$database 檢視中檢視:


SQL> select platform_id,platform_name from v$database;


PLATFORM_ID PLATFORM_NAME

----------- ---------------------------------------------

7 Microsoft Windows IA (32-bit)


SQL> select platform_id,platform_name from v$database;


PLATFORM_ID PLATFORM_NAME

-------------------------------------------------------------------------------

10 Linux IA (32-bit)


這裡的Platform_ID 是唯一的,不同的平臺,即OS 對應一個ID。


Differencesbetween the primary server(s) and the standby server(s) are always supported aslong as the Oracle software installed on all servers is of the same OraclePlatform. as defined above, is certified to run on each server, and is the sameOracle Database Release and Patch Set. Examples of such differences that aresupported include the following:

--只要server 上Oracle 的軟體的版本和位數是一致的,主備庫就支援不同的server,即OS 不影響,比如:

(1)Hardware manufacturer (e.g. Delland Sun or Hitachi and EMC)

(2)Hardware configuration (e.g. numberof CPUs, amount of RAM, storage configuration, etc)

(3)Processor (e.g. x86-64 AMD64 andx86-64 Intel 64; POWER4 and POWER5)

(4)Operating system distribution (e.g.Red Hat Linux, SUSE Linux or Oracle Enterprise Linux)

(5)Operating system version (e.g.Windows 2000 and Windows XP)



二.物理standby

In addition togeneral support when using the same Oracle platform, Data Guard Redo Apply(physical standby) can support specific mixed Oracle Platformcombinations. Oracle Platform. IDs, platform. names, and which combinationsof platform. ID(s) that can be combined to form. a supported Data Guardconfiguration using Redo Apply are listed in the table below. Platformcombinations not listed in the table below are not supported using Data GuardRedo Apply.

--物理standby 支援的混合平臺如下表所列,不在下表不受支援。


Table Notes –表格註釋

(1) Prior to Data Guard 11g, theData Guard Broker did not support different word-size in the same Data Guardconfiguration, thus requiring management from the SQL*Plus command line formixed word-size Data Guard configurations. This restriction is lifted fromData Guard 11g onward.

--在Oracle 11g之後,不受資料庫word-size的限制(資料庫32還是64位)

(2) Both primary and standbydatabases must be set at the same compatibility mode as the minimum release (ifspecified) in the table below.

--在下表所列的平臺中,主備庫的compatible 引數必須相同。

(3) A standby database cannot beopen read-only in any environment that has binary-level PL/SQL-relatedincompatibilities between primary and standby databases. Support Note414043.1 is referenced in the table below for any platform. combinations wherethis is the case (the note provides instructions for eliminatingincompatibilities post role transition). It is possible to access astandby database in such environments in Oracle Database 11g by temporarilyconverting it to a SnapshotStandby database, or in Oracle Database 10g by opening the standbyread/write as described in the Data Guard 10g Concepts and Administrationguide: Usinga Physical Standby Database for Read/Write Testing and Reporting. Bothprocedures require following the steps in note 414043.1 before making thedatabase available to users.


(4) Please be sure to read SupportNotes when referenced in the table below.

(5) RMAN generally supportsinstantiation of a physical standby database for the supported platformcombinations. Please see Support Note 1079563.1 for details.

(6) Platforms in a supportedcombination may operate in either the primary or standby role.

--平臺支援主備庫角色的轉換

(7) Enterprise Manager can not beused for standby database creation or other administrative functions in anyconfiguration where PLATFORM_IDs are not identical. Oracle recommends using theData Guard Broker command line interface (DGMGRL) to administer mixed platformcombinations from Oracle Database 11g onward and SQL*Plus command line forconfigurations that pre-date Oracle Database 11g.

--在PLATFORM_ID 不一樣的情況下,備庫不能建立和使用EM。但可以使用DG Broker。


PLATFORM_ID

PLATFORM_NAME
Release name

PLATFORM_IDs supported within the same Data Guard configuration when using Data Guard Redo Apply (Physical Standby)

2

Solaris[tm] OE (64-bit)
Solaris Operating System (SPARC) (64-bit)

2
6 - This is not supported due to issues reported in Bug 12702521

3

HP-UX (64-bit)
HP-UX PA-RISC

3
4 - Oracle 10g onward, see Support Notes 395982.1 and 414043.1

4

HP-UX IA (64-bit)
HP-UX Itanium

4
3 - Oracle 10g onward, see Support Notes 395982.1 and 414043.1

5

HP Tru64 UNIX
HP Tru64 UNIX

5

6

IBM AIX on POWER Systems (64-bit)

2 - This is not supported due to issues reported in Bug 12702521
6

7

Microsoft Windows (32-bit)
Microsoft Windows (x86)

7
8, 12 - Oracle 10g onward, see Support Note 414043.1
10 - Oracle 11g onward, requires patch for Bug 13104881
11, 13 - Oracle 11g onward, see Support Note 414043.1, also requires patch for Bug 13104881

8

Microsoft Windows IA (64-bit)
Microsoft Windows (64-bit Itanium)

7 - Oracle 10g onward, see Support Note 414043.1
8
12 - Oracle 10g onward
11, 13 - Oracle 11g onward, requires patch for Bug 13104881

9

IBM zSeries Based Linux
z/Linux

9
18 (64-bit zSeries only)

10

Linux (32-bit)
Linux x86

7 - Oracle 11g onward, requires patch for Bug 13104881
10
11, 13 - Oracle 10g onward, see Support Note 414043.1

11

Linux IA (64-bit)
Linux Itanium

10 - Oracle 10g onward, see Support Note 414043.1
11
13 - Oracle 10g onward
7 - Oracle 11g onward, see Support Note 414043.1, also requires patch for Bug 13104881
8, 12 - Oracle 11g onward, requires patch for Bug 13104881

12

Microsoft Windows 64-bit for AMD
Microsoft Windows (x86-64)

7 - Oracle 10g onward, see Support Note 414043.1
8 - Oracle 10g onward
12
11, 13 - Oracle 11g onward, requires patch for Bug 13104881

13

Linux 64-bit for AMD
Linux x86-64

7 - Oracle 11g onward, see Support Note 414043.1, also requires patch for Bug 13104881
10 - Oracle 10g onward, see Support Note 414043.1
11 - Oracle 10g onward
8, 12 - Oracle 11g onward, requires patch for Bug 13104881
13
20 - Oracle 11g onward

15

HP Open VMS
HP OpenVMS Alpha
HP IA OpenVMS
OpenVMS Itanium

15

16

Apple Mac OS
Mac OS X Server

16

17

Solaris Operating System (x86)
Solaris Operating System (x86)

17
20 - Oracle 10g onward, see Support Note 414043.1

18

IBM Power Based Linux
Linux on Power

9 (64-bit zSeries only)
18

20

Solaris Operating System (AMD64)
Solaris Operating System (x86-64)

13 - Oracle 11g onward 
17 - Oracle 10g onward, see Support Note 414043.1
20


對錶格檢視的解釋,這裡舉一例,假設準備搭建一個物理DG:

主庫:7(platform. id) Microsoft Windows IA (32-bit)

備庫:10 (platform. id) Linux IA (32-bit)


7

Microsoft Windows (32-bit)
Microsoft Windows (x86)

7
8, 12 - Oracle 10g onward, see Support Note 414043.1
10 - Oracle 11g onward, requires patch for Bug 13104881
11, 13 - Oracle 11g onward, see Support Note 414043.1, also requires patch for Bug 13104881


從這裡可以看出,7支援的備庫有7,8,12,10,11,13. 但是不同的版本也有限制。 我們的備庫要用10,那麼只能是Oracle 11g 以後才支援,並且還需要修復13104881的bug。




Additional information:

Transient Logical Database Rolling Upgrades: Beginning withOracle Database 11.1.0.7, a physical standby database can be used to execute arolling database upgrade to a new Oracle Patch Set or database release by usingthe transient logical rolling database upgrade process. See the MaximumAvailability Architecture Best Practice paper, " Rolling Database Upgrades for PhysicalStandby Databases using Transient Logical Standby 11g". Thedatabase rolling upgrade process enables a standby database to apply redo sentby a primary database that is operating at a previous Oracle release orpatchset. The transient logical rolling upgrade process requires that theprimary and standby platform. combination be a supported configuration for bothRedo Apply (see table above) and SQL Apply (see Support Note 1085687.1) as ofthe pre-upgrade Oracle release deployed in the Data Guard configuration.

DataGuard Configurations that Include a Combination of Physical and Logical StandbyDatabases:
 A Data Guardconfiguration includes a primary database and up to 30 standby databases.These standby databases may be a mix of physical and logical standby databases.All physical standby databases within a single Data Guard configuration mustadhere to the requirements described in this note. Likewise, if theconfiguration includes logical standby databases, they must conform. to therequirements of Support Note 1085687.1.

Real Application Cluster &Automatic Storage Management: It isnot necessary that the primary and the standby both be Oracle RAC databases, orboth use ASM. For example, the primary database may be running Oracle RAC withor without ASM, and the standby database(s) may be single-instance, with orwithout ASM. Also, in case both the primary and standby are Oracle RACdatabases, the number of Oracle RAC nodes between the primary and standbydatabases may vary. Furthermore, the versions of ASM and CRS do not need to bethe same between the primary and standby systems.

ExadataDatabase Machine: It istransparent to Data Guard whether primary and/or standby databases reside on anExadata Database Machine or on other hardware, as long as the platform. ID's ofprimary and standby systems within the same Data Guard configuration conform. tothe support requirements defined in the above table. If Exadata HybridColumnar Compression (EHCC) is used, it is strongly recommended that bothprimary and standby databases reside on Exadata. See the Maximum AvailabilityArchitecture Best Practice paper, "Disaster Recovery for Exadata Database Machine".


三.邏輯standby

In addition togeneral support when using the same Oracle platform, Data Guard SQL Apply(logical standby) can support specific mixed Oracle Platform. combinations as ofOracle Database 11g. Oracle Platform. IDs, platform. names, and whichcombinations of platform. ID(s) that can be combined to form. a supported DataGuard configuration using SQL Apply are listed in the table below. Platform. combinations not listed in the table below are not supported usingData Guard SQL Apply.

--邏輯standby 支援如下的平臺


Table Notes – 表格註釋

(1) All mixed platform. combinationsfor SQL Apply in the table below are supported from Oracle Database 11g onward.

(2) Prior to Data Guard Broker 11g,the Data Guard Broker did not support different word-size in the same DataGuard configuration, thus requiring all management from the SQL*Plus commandline. This restriction is lifted from Data Guard 11g onward.

(3) Both primary and standbydatabases must be set at the same compatibility mode as the minimum release (ifspecified) in the table below.

(4) Please be sure to read SupportNotes when referenced in the table below.

(5) RMAN generally supportsinstantiation of a physical standby database for the supported platformcombinations. Please see Support Note 1079563.1 for details.

(6) Platforms in a supportedcombination may operate in either the primary or standby role unless otherwisespecified.

(7) Enterprise Manager can not beused for standby database creation or other administrative functions in anyconfiguration where PLATFORM_IDs are not identical. Oracle recommends using theData Guard Broker command line interface (DGMGRL) to administer mixed platformcombinations from Oracle Database 11g onward and SQL*Plus command line forconfigurations that pre-date Oracle Database 11g.


PLATFORM_ID

PLATFORM_NAME
Release name

PLATFORM_IDs supported within the same Data Guard configuration when using Data Guard SQL Apply (Logical Standby)

2

Solaris[tm] OE (64-bit)
Solaris Operating System (SPARC) (64-bit)

2

3

HP-UX (64-bit)
HP-UX PA-RISC

3, 4

4

HP-UX IA (64-bit)
HP-UX Itanium

3, 4

5

HP Tru64 UNIX
HP Tru64 UNIX

5

6

AIX-Based Systems (64-bit)
AIX5L

6

7

Microsoft Windows (32-bit)
Microsoft Windows (x86)


10 requires patch for Bug 13104881 
8, 12 - Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.

8

Microsoft Windows IA (64-bit)
Microsoft Windows (64-bit Itanium)

7 - Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.
8, 12
11, 13, both require patch for Bug 13104881

9

IBM zSeries Based Linux
z/Linux

9

10

Linux (32-bit)
Linux x86

7, requires patch for Bug 13104881
10
11, 13 - Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.

11

Linux IA (64-bit)
Linux Itanium

10 - Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.
8, requires patch for Bug 13104881
11, 13

12

Microsoft Windows 64-bit for AMD
Microsoft Windows (x86-64)

7 - from Oracle 11g onward. Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.
8, 12

13

Linux 64-bit for AMD
Linux x86-64

10 - Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.
8, requires patch for Bug 13104881
11, 13

15

HP Open VMS
HP OpenVMS Alpha
HP IA OpenVMS
OpenVMS Itanium

15

16

Apple Mac OS
Mac OS X Server

16

17

Solaris Operating System (x86)
Solaris Operating System (x86)

17

18

IBM Power Based Linux
Linux on Power

18

20

Solaris Operating System (AMD64)
Solaris Operating System (x86-64)

20



Additional information:

Mixing Database Versions During Database Rolling Upgrades:Beginning with Oracle Database 10.1.0.3 and onward, a logical standby databasecan operate at a later Oracle release than on the primary when using SQL Applyto execute a rolling database upgrade. Please refer to "Rolling Database Upgrades using Data GuardSQL Apply", " Rolling Database Upgrades for PhysicalStandby Databases using Transient Logical Standby 11g", 

DataGuard Configurations that Include a Combination of Physical and Logical StandbyDatabases: A Data Guardconfiguration includes a primary database and up to 30 standby databases.These standby databases may be a mix of physical and logical standby databases.All logical standby databases within a single Data Guard configuration mustadhere to the requirements described in this note. Likewise, if theconfiguration includes physical standby databases, they must conform. to therequirements of Support Note 413484.1.

Real Application Cluster &Automatic Storage Management: It isnot necessary that the primary and the standby both be Oracle RAC databases, orboth use ASM. For example, the primary database may be running Oracle RAC withor without ASM, and the standby database(s) may be single-instance, with orwithout ASM. Also, in case both the primary and standby are Oracle RACdatabases, the number of Oracle RAC nodes between the primary and standbydatabases may vary. Furthermore, the versions of ASM and CRS do not need to bethe same between the primary and standby systems.

Exadata Database Machine: It is transparent to Data Guardwhether primary and/or standby databases reside on Exadata Database Machine oron other hardware, as long as the platform. ID's of primary and standby systemswithin the same Data Guard configuration conform. to the support requirementsdefined in the above table. If Exadata Hybrid Columnar Compression isused, it is strongly recommended that both primary and standby databases resideon Exadata storage. Note that Data Guard SQL Apply adds support for EHCC inOracle Database 11.2.0.2. See the Maximum Availability Architecture BestPractice paper, "Disaster Recovery for Exadata Database Machine".




在物理 Data Guard 中對異構主備系統的支援 (文件 ID 1602437.1)

Data Guard中主資料庫與物理備用資料庫(Redo Apply)之間可以有什麼差別?

本說明針對重做應用和 Oracle Data Guard 12 發行版 1 進行了更新。它適用於 Oracle Database 10g 和 Oracle Database 12c 的所有版本。

 

您是否希望與其他 Oracle 客戶、Oracle 員工和業內專家進一步探討此主題?

您可以直接在本說明底部關於本文的討論帖子中討論本說明,介紹您的經驗,也可以直接提出相關問題。

如果您希望就其他文章和話題進行討論,或者展開新的討論,您可以訪問中文資料庫社群

 

有關使用邏輯備用資料庫(SQL Apply)的支援配置資訊,請參閱技術支援Note 1085687.1

範圍和適用性:

部署 Data Guard 時最簡單的途徑是配置同構的對稱主/備用配置。但是,為了利用執行不同作業系統的現有伺服器,或者為了在儘可能減少停機時間或風險的情況下幫助從一個平臺向另一個平臺移植時,通常部署異構配置會非常有用。對於希望使用低於生產環境的處理能力的配置或者使用成本低於其主系統的元件來配置備用系統,從而減少其災難恢復投資的使用者而言,這是相當合理的選擇。使用本技術支援文件中提供的指示和資訊來確定單個 Data Guard 配置中支援哪些平臺組合以及可能存在的任何其他要求或限制。

如果考慮使用異構主/備配置,則 Oracle 建議使用者進行足夠的測試以確保在 switchover(切換)或 failover(故障轉移)到備用系統之後,能夠繼續達到所需的服務水平。

1. 確定主資料庫和備用資料庫的平臺 ID。

使用以下查詢可在 V$DATABASE 檢視中找到資料庫的PLATFORM_ID:

SQL> select platform_id, platform_name from v$database;

PLATFORM_ID PLATFORM_NAME
----------- -----------------------------------
         10 Linux IA (32-bit)


只要滿足以下條件,則始終支援主伺服器與備用伺服器之間的差別:在所有伺服器上安裝的 Oracle 軟體是相同Oracle平臺(如上定義);經過認證可在各伺服器上執行;具有相同的 Oracle 資料庫發行版和 Patch Set(補丁程式集)。支援的這種差別的示例包括:
  • 硬體生產商(例如 Dell 和 Sun 或 Hitachi 和 EMC)
  • 硬體配置(例如,CPU 數、RAM 大小、儲存配置等)
  • 處理器(例如 x86-64 AMD64 和 x86-64 Intel 64;POWER4 和 POWER5)
  • 作業系統發行版(例如 Red Hat Linux、SUSE Linux 或 Oracle Enterprise Linux)
  • O作業系統版本(例如 Windows 2000 和 Windows XP)

2. 如果您的主平臺與備用平臺的平臺 ID 不同,請檢查下表以檢視 Data Guard 重做日誌應用(物理備用)是否支援您的配置。

除了在使用相同 Oracle 平臺時的一般支援之外,Data Guard 重做日誌應用(物理備用)可以支援特定的混合 Oracle 平臺組合。下表中列出了 Oracle 平臺 ID、平臺名稱以及哪些平臺 ID 可以組合以構成支援的 Data Guard 配置來使用重做日誌應用。下表中未列出的平臺組合不支援使用 Data Guard 重做日誌應用。

表註釋

  1. 在 Data Guard 11g 之前,Data Guard Broker在相同 Data Guard 配置中不支援不同的字長,因而需要從 SQL*Plus 命令列管理混合字長的 Data Guard 配置。從 Data Guard 11g 開始消除了此限制。
  2. 主資料庫和備用資料庫必須設定為與下表中最低發行版(如果指定)相同的相容性模式。
  3. 在任何環境中,如果主資料庫和備用資料庫之間存在與二進位制級別相關的 PL/SQL 不相容,則備用資料庫無法以只讀模式開啟。下表中引用了文件 Note:414043.1,介紹這種情況的任意平臺組合(該說明提供有關在角色轉換後消除不相容性的指導)。  在 Oracle Database 11g 的這種環境中,可以通過將其臨時轉換為 Snapshot(快照)備用備用資料庫來的方式來訪問備用資料庫,而在 Oracle Database 10g 中,則按照《Data Guard 10g Concepts and Administration guide》中的以下章節所述來以讀/寫方式開啟備用資料庫:Using a Physical Standby Database for Read/Write Testing and Reporting。 這兩種方法需要遵守 Note:414043.1 中的步驟操作才能使資料庫對使用者可用。
  4. 請確保閱讀了下表中引用的技術支援文件。.
  5. 對於所支援平臺組合,RMAN 通常支援物理備用資料庫的例項化。有關詳細資訊,請參閱技術支援 Note 1079563.1。
  6. 支援組合中的平臺能夠以主或備用的角色執行。
  7. 在具有不同 PLATFORM_ID 的任意配置中,Enterprise Manager 不能用於備用資料庫建立或其他管理功能。Oracle 建議使用 Data Guard Broker命令列介面 (DGMGRL) 來管理 Oracle Database 11g 及更高版本的混合平臺組合,Oracle Database 11g 之前的配置則使用 SQL*Plus 命令列介面。
PLATFORM_ID
PLATFORM_NAME
發行版名稱
使用 Data Guard 重做日誌應用(物理備用)時,相同 Data Guard 配置中支援的 PLATFORM_ID
2
Solaris[tm] OE (64-bit)
Solaris Operating System (SPARC) (64-bit)
2
6 - 請參考文件 Note: 1982638.1 和 Note: 414043.1 
3 HP-UX (64-bit)
HP-UX PA-RISC
3
4 - Oracle 10g 及更高版本,請參閱技術支援文件 Note: 395982.1 和 Note:414043.1
4 HP-UX IA (64-bit)
HP-UX Itanium
4
3 - Oracle 10g 及更高版本,請參閱技術支援文件 Note: 395982.1 和 Note:414043.1
5 HP Tru64 UNIX
HP Tru64 UNIX
5
6 IBM AIX on POWER Systems (64-bit)
2 - 請參考文件 Note: 1982638.1 和 Note: 414043.1
6
7 Microsoft Windows (32-bit)
Microsoft Windows (x86)
7
8, 12  - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1 
10 - Oracle 11g 及更高版本,需要 Patch 13104881
11, 13 - Oracle 11g 及更高版本,請參閱 技術支援文件 Note: 414043.1,還需要 Patch 13104881
8 Microsoft Windows IA (64-bit)
Microsoft Windows (64-bit Itanium)
7 - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1
8
12 - Oracle 10g 及更高版本
11, 13 - Oracle 11g 及更高版本,需要 Patch 13104881
9 IBM zSeries Based Linux
z/Linux
9
18 (僅 64 位 zSeries)
10 Linux (32-bit)
Linux x86
7 - Oracle 11g 及更高版本,需要 Patch 13104881 
10
11, 13 - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1
11 Linux IA (64-bit)
Linux Itanium
10 - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1
11
13 - Oracle 10g 及更高版本
7 - Oracle 11g 及更高版本,請參閱 技術支援文件 Note: 414043.1,還需要 Patch 13104881
8, 12 - Oracle 11g 及更高版本,需要 Patch 13104881
12 Microsoft Windows 64-bit for AMD
Microsoft Windows (x86-64)
7 - Oracle 10g 及更高版本,請參閱技術支援說明 Note: 414043.1
8 - Oracle 10g 及更高版本
12
11, 13 - Oracle 11g 及更高版本,需要 Patch 13104881
13 Linux 64-bit for AMD
Linux x86-64
7 - Oracle 11g 及更高版本,請參閱 技術支援文件 Note: 414043.1,還需要 Patch 13104881
10 - Oracle 10g 及更高版本,請參閱技術支援文件 Note: 414043.1
11 - Oracle 10g 及更高版本
8, 12 - Oracle 11g 及更高版本,需要 Patch 13104881
13
20 - Oracle 11g 及更高版本
15 HP Open VMS
HP OpenVMS Alpha
HP IA OpenVMS
OpenVMS Itanium
15
16 Apple Mac OS
Mac OS X Server
16
17 Solaris Operating System (x86)
Solaris Operating System (x86)
17
20 - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1
18 IBM Power Based Linux
Linux on Power
9(僅 64 位 zSeries)
18
20 Solaris Operating System (AMD64)
Solaris Operating System (x86-64)
13 - Oracle 11g 及更高版本
17 - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1
20


3. 其他資訊:

臨時邏輯資料庫滾動升級: 從 Oracle Database 11.1.0.7 開始,可以利用物理備用資料庫,進行臨時邏輯備庫滾動資料庫升級過程,將資料庫滾動升級到新的 Oracle Patch Set(補丁程式集)和 資料庫發行版。請參閱“Maximum Availability Architecture Best Practice”一文中的 " Rolling Database Upgrades for Physical Standby  Databases using Transient Logical Standby 11g"。  使用資料庫滾動升級過程使得備用資料庫可以應用主資料庫傳送的重做,雖然主資料庫仍然在舊的 Oracle 發行版或 patchset(補丁程式集)上執行。臨時邏輯備庫滾動升級過程要求,在升級前 Oracle 發行版部署到 Data Guard 配置中時,主平臺和備用平臺組合是重做日誌應用(參見上表)和 SQL 應用(參閱 技術支援文件 1085687.1)支援的配置。
  

包括物理和邏輯備用 資料庫組合的 Data Guard 配置: Data Guard 配置  包括一個主資料庫和最多30個備用資料庫。這些備用資料庫可以是物理備用資料庫和邏輯備用資料庫的混合。單個Data Guard 配置中的所有物理備用資料庫必須符合本說明中的要求。與此類似,如果配置包括邏輯備用資料庫,則必須符合技術支援文件1085687.1 的要求。

Real Application Cluster 和 Automatic Storage Management: 主資料庫和備用資料庫不必都是 Oracle RAC 資料庫,也不必均使用 ASM。例如,主資料庫可以執行 Oracle RAC,使用或不使用 ASM,而備用資料庫則可以是單例項,使用或不使用ASM。 此外,在主資料庫和備用資料庫均為 Oracle RAC 資料庫時,主資料庫和備用資料庫之間的 Oracle RAC節點數可以不同。此外,主系統與備用系統之間的 ASM 和 CRS 的版本不必相同。

Exadata Database Machine:    只要相同 Data Guard 配置中的主系統和備用系統的平臺 ID 遵守上表中定義的支援要求,則主和/或備用資料庫是駐留在 Exadata Database Machine 上還是其他硬體上對於 Data Guard 來說是透明的。如果使用了 Exadata Hybrid Columnar Compression (EHCC),則強烈建議主系統和備用系統駐留在 Exadata 上。請參閱“Maximum Availability Architecture Best Practice”一文中的 "Disaster Recovery for Exadata Database Machine"。

參考

BUG:13104881 - ORA-600 [6101] DATA CORRUPTION IN 11.2.0.2 WINDOWS TO LINUX STANDBY DUPLICATION
NOTE:1079563.1 - RMAN DUPLICATE/RESTORE/RECOVER Mixed Platform Support
NOTE:414043.1 - Role Transitions for Data Guard Configurations Using Mixed Oracle Binaries
BUG:12702521 - CANNOT SUPPORT SPARC<->AIX MIXED DATA GUARD DUE TO CONTROLFILE INCOMPATIBILITY
BUG:13104881 - ORA-600 [6101] DATA CORRUPTION IN 11.2.0.2 WINDOWS TO LINUX STANDBY DUPLICATION



在物理 Data Guard 中對異構主備系統的支援 (文件 ID 1602437.1)

Data Guard中主資料庫與物理備用資料庫(Redo Apply)之間可以有什麼差別?

本說明針對重做應用和 Oracle Data Guard 12 發行版 1 進行了更新。它適用於 Oracle Database 10g 和 Oracle Database 12c 的所有版本。

 

您是否希望與其他 Oracle 客戶、Oracle 員工和業內專家進一步探討此主題?

您可以直接在本說明底部關於本文的討論帖子中討論本說明,介紹您的經驗,也可以直接提出相關問題。

如果您希望就其他文章和話題進行討論,或者展開新的討論,您可以訪問中文資料庫社群

 

有關使用邏輯備用資料庫(SQL Apply)的支援配置資訊,請參閱技術支援Note 1085687.1

範圍和適用性:

部署 Data Guard 時最簡單的途徑是配置同構的對稱主/備用配置。但是,為了利用執行不同作業系統的現有伺服器,或者為了在儘可能減少停機時間或風險的情況下幫助從一個平臺向另一個平臺移植時,通常部署異構配置會非常有用。對於希望使用低於生產環境的處理能力的配置或者使用成本低於其主系統的元件來配置備用系統,從而減少其災難恢復投資的使用者而言,這是相當合理的選擇。使用本技術支援文件中提供的指示和資訊來確定單個 Data Guard 配置中支援哪些平臺組合以及可能存在的任何其他要求或限制。

如果考慮使用異構主/備配置,則 Oracle 建議使用者進行足夠的測試以確保在 switchover(切換)或 failover(故障轉移)到備用系統之後,能夠繼續達到所需的服務水平。

1. 確定主資料庫和備用資料庫的平臺 ID。

使用以下查詢可在 V$DATABASE 檢視中找到資料庫的PLATFORM_ID:

SQL> select platform_id, platform_name from v$database;

PLATFORM_ID PLATFORM_NAME
----------- -----------------------------------
         10 Linux IA (32-bit)


只要滿足以下條件,則始終支援主伺服器與備用伺服器之間的差別:在所有伺服器上安裝的 Oracle 軟體是相同Oracle平臺(如上定義);經過認證可在各伺服器上執行;具有相同的 Oracle 資料庫發行版和 Patch Set(補丁程式集)。支援的這種差別的示例包括:
  • 硬體生產商(例如 Dell 和 Sun 或 Hitachi 和 EMC)
  • 硬體配置(例如,CPU 數、RAM 大小、儲存配置等)
  • 處理器(例如 x86-64 AMD64 和 x86-64 Intel 64;POWER4 和 POWER5)
  • 作業系統發行版(例如 Red Hat Linux、SUSE Linux 或 Oracle Enterprise Linux)
  • O作業系統版本(例如 Windows 2000 和 Windows XP)

2. 如果您的主平臺與備用平臺的平臺 ID 不同,請檢查下表以檢視 Data Guard 重做日誌應用(物理備用)是否支援您的配置。

除了在使用相同 Oracle 平臺時的一般支援之外,Data Guard 重做日誌應用(物理備用)可以支援特定的混合 Oracle 平臺組合。下表中列出了 Oracle 平臺 ID、平臺名稱以及哪些平臺 ID 可以組合以構成支援的 Data Guard 配置來使用重做日誌應用。下表中未列出的平臺組合不支援使用 Data Guard 重做日誌應用。

表註釋

  1. 在 Data Guard 11g 之前,Data Guard Broker在相同 Data Guard 配置中不支援不同的字長,因而需要從 SQL*Plus 命令列管理混合字長的 Data Guard 配置。從 Data Guard 11g 開始消除了此限制。
  2. 主資料庫和備用資料庫必須設定為與下表中最低發行版(如果指定)相同的相容性模式。
  3. 在任何環境中,如果主資料庫和備用資料庫之間存在與二進位制級別相關的 PL/SQL 不相容,則備用資料庫無法以只讀模式開啟。下表中引用了文件 Note:414043.1,介紹這種情況的任意平臺組合(該說明提供有關在角色轉換後消除不相容性的指導)。  在 Oracle Database 11g 的這種環境中,可以通過將其臨時轉換為 Snapshot(快照)備用備用資料庫來的方式來訪問備用資料庫,而在 Oracle Database 10g 中,則按照《Data Guard 10g Concepts and Administration guide》中的以下章節所述來以讀/寫方式開啟備用資料庫:Using a Physical Standby Database for Read/Write Testing and Reporting。 這兩種方法需要遵守 Note:414043.1 中的步驟操作才能使資料庫對使用者可用。
  4. 請確保閱讀了下表中引用的技術支援文件。.
  5. 對於所支援平臺組合,RMAN 通常支援物理備用資料庫的例項化。有關詳細資訊,請參閱技術支援 Note 1079563.1。
  6. 支援組合中的平臺能夠以主或備用的角色執行。
  7. 在具有不同 PLATFORM_ID 的任意配置中,Enterprise Manager 不能用於備用資料庫建立或其他管理功能。Oracle 建議使用 Data Guard Broker命令列介面 (DGMGRL) 來管理 Oracle Database 11g 及更高版本的混合平臺組合,Oracle Database 11g 之前的配置則使用 SQL*Plus 命令列介面。
PLATFORM_ID
PLATFORM_NAME
發行版名稱
使用 Data Guard 重做日誌應用(物理備用)時,相同 Data Guard 配置中支援的 PLATFORM_ID
2
Solaris[tm] OE (64-bit)
Solaris Operating System (SPARC) (64-bit)
2
6 - 請參考文件 Note: 1982638.1 和 Note: 414043.1 
3 HP-UX (64-bit)
HP-UX PA-RISC
3
4 - Oracle 10g 及更高版本,請參閱技術支援文件 Note: 395982.1 和 Note:414043.1
4 HP-UX IA (64-bit)
HP-UX Itanium
4
3 - Oracle 10g 及更高版本,請參閱技術支援文件 Note: 395982.1 和 Note:414043.1
5 HP Tru64 UNIX
HP Tru64 UNIX
5
6 IBM AIX on POWER Systems (64-bit)
2 - 請參考文件 Note: 1982638.1 和 Note: 414043.1
6
7 Microsoft Windows (32-bit)
Microsoft Windows (x86)
7
8, 12  - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1 
10 - Oracle 11g 及更高版本,需要 Patch 13104881
11, 13 - Oracle 11g 及更高版本,請參閱 技術支援文件 Note: 414043.1,還需要 Patch 13104881
8 Microsoft Windows IA (64-bit)
Microsoft Windows (64-bit Itanium)
7 - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1
8
12 - Oracle 10g 及更高版本
11, 13 - Oracle 11g 及更高版本,需要 Patch 13104881
9 IBM zSeries Based Linux
z/Linux
9
18 (僅 64 位 zSeries)
10 Linux (32-bit)
Linux x86
7 - Oracle 11g 及更高版本,需要 Patch 13104881 
10
11, 13 - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1
11 Linux IA (64-bit)
Linux Itanium
10 - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1
11
13 - Oracle 10g 及更高版本
7 - Oracle 11g 及更高版本,請參閱 技術支援文件 Note: 414043.1,還需要 Patch 13104881
8, 12 - Oracle 11g 及更高版本,需要 Patch 13104881
12 Microsoft Windows 64-bit for AMD
Microsoft Windows (x86-64)
7 - Oracle 10g 及更高版本,請參閱技術支援說明 Note: 414043.1
8 - Oracle 10g 及更高版本
12
11, 13 - Oracle 11g 及更高版本,需要 Patch 13104881
13 Linux 64-bit for AMD
Linux x86-64
7 - Oracle 11g 及更高版本,請參閱 技術支援文件 Note: 414043.1,還需要 Patch 13104881
10 - Oracle 10g 及更高版本,請參閱技術支援文件 Note: 414043.1
11 - Oracle 10g 及更高版本
8, 12 - Oracle 11g 及更高版本,需要 Patch 13104881
13
20 - Oracle 11g 及更高版本
15 HP Open VMS
HP OpenVMS Alpha
HP IA OpenVMS
OpenVMS Itanium
15
16 Apple Mac OS
Mac OS X Server
16
17 Solaris Operating System (x86)
Solaris Operating System (x86)
17
20 - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1
18 IBM Power Based Linux
Linux on Power
9(僅 64 位 zSeries)
18
20 Solaris Operating System (AMD64)
Solaris Operating System (x86-64)
13 - Oracle 11g 及更高版本
17 - Oracle 10g 及更高版本,請參閱 技術支援文件 Note: 414043.1
20


3. 其他資訊:

臨時邏輯資料庫滾動升級: 從 Oracle Database 11.1.0.7 開始,可以利用物理備用資料庫,進行臨時邏輯備庫滾動資料庫升級過程,將資料庫滾動升級到新的 Oracle Patch Set(補丁程式集)和 資料庫發行版。請參閱“Maximum Availability Architecture Best Practice”一文中的 " Rolling Database Upgrades for Physical Standby  Databases using Transient Logical Standby 11g"。  使用資料庫滾動升級過程使得備用資料庫可以應用主資料庫傳送的重做,雖然主資料庫仍然在舊的 Oracle 發行版或 patchset(補丁程式集)上執行。臨時邏輯備庫滾動升級過程要求,在升級前 Oracle 發行版部署到 Data Guard 配置中時,主平臺和備用平臺組合是重做日誌應用(參見上表)和 SQL 應用(參閱 技術支援文件 1085687.1)支援的配置。
  

包括物理和邏輯備用 資料庫組合的 Data Guard 配置: Data Guard 配置  包括一個主資料庫和最多30個備用資料庫。這些備用資料庫可以是物理備用資料庫和邏輯備用資料庫的混合。單個Data Guard 配置中的所有物理備用資料庫必須符合本說明中的要求。與此類似,如果配置包括邏輯備用資料庫,則必須符合技術支援文件1085687.1 的要求。

Real Application Cluster 和 Automatic Storage Management: 主資料庫和備用資料庫不必都是 Oracle RAC 資料庫,也不必均使用 ASM。例如,主資料庫可以執行 Oracle RAC,使用或不使用 ASM,而備用資料庫則可以是單例項,使用或不使用ASM。 此外,在主資料庫和備用資料庫均為 Oracle RAC 資料庫時,主資料庫和備用資料庫之間的 Oracle RAC節點數可以不同。此外,主系統與備用系統之間的 ASM 和 CRS 的版本不必相同。

Exadata Database Machine:    只要相同 Data Guard 配置中的主系統和備用系統的平臺 ID 遵守上表中定義的支援要求,則主和/或備用資料庫是駐留在 Exadata Database Machine 上還是其他硬體上對於 Data Guard 來說是透明的。如果使用了 Exadata Hybrid Columnar Compression (EHCC),則強烈建議主系統和備用系統駐留在 Exadata 上。請參閱“Maximum Availability Architecture Best Practice”一文中的 "Disaster Recovery for Exadata Database Machine"。

參考

BUG:13104881 - ORA-600 [6101] DATA CORRUPTION IN 11.2.0.2 WINDOWS TO LINUX STANDBY DUPLICATION
NOTE:1079563.1 - RMAN DUPLICATE/RESTORE/RECOVER Mixed Platform Support
NOTE:414043.1 - Role Transitions for Data Guard Configurations Using Mixed Oracle Binaries
BUG:12702521 - CANNOT SUPPORT SPARC<->AIX MIXED DATA GUARD DUE TO CONTROLFILE INCOMPATIBILITY
BUG:13104881 - ORA-600 [6101] DATA CORRUPTION IN 11.2.0.2 WINDOWS TO LINUX STANDBY DUPLICATION





About Me

...............................................................................................................................

● 本文整理自網路

● 本文在itpub(http://blog.itpub.net/26736162)、部落格園(http://www.cnblogs.com/lhrbest)和個人微信公眾號(xiaomaimiaolhr)上有同步更新

● 本文itpub地址:http://blog.itpub.net/26736162/abstract/1/

● 本文部落格園地址:http://www.cnblogs.com/lhrbest

● 本文pdf版及小麥苗雲盤地址:http://blog.itpub.net/26736162/viewspace-1624453/

● 資料庫筆試面試題庫及解答:http://blog.itpub.net/26736162/viewspace-2134706/

● QQ群:230161599     微信群:私聊

● 聯絡我請加QQ好友(646634621),註明新增緣由

● 於 2017-07-01 09:00 ~ 2017-07-31 22:00 在魔都完成

● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解

● 版權所有,歡迎分享本文,轉載請保留出處

...............................................................................................................................

拿起手機使用微信客戶端掃描下邊的左邊圖片來關注小麥苗的微信公眾號:xiaomaimiaolhr,掃描右邊的二維碼加入小麥苗的QQ群,學習最實用的資料庫技術。

Oracle DG(Data Guard)支援異構平臺說明
DBA筆試面試講解
歡迎與我聯絡

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2140635/,如需轉載,請註明出處,否則將追究法律責任。

相關文章