How to Copy ASM Files Across Nodes [ID 1147859.1]

 

How to Copy ASM Files Across Nodes [ID 1147859.1]

--------------------------------------------------------------------------------
 
  修改时间 13-DEC-2011     类型 HOWTO     状态 PUBLISHED  

In this Document
  Goal
  Solution

 

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

 

Applies to:
Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.2 - Release: 11.1 to 11.2
Information in this document applies to any platform.
Database - RMAN
***Checked for relevance on 14-Dec-2011***
Goal
You have a database (controlfiles, datafiles and archivelog files) on Node 1 residing on ASM and you wish to copy some of these files (or all) to another node.  This second node may be using filesystem or ASM.

Solution
Oracle 11g Release 1 and Release 2 allows you to copy files across the network with the RMAN Active File Copy feature.   This feature is controlled with the 'AUXILIARY FORMAT' option to the backup command. 

For example, you can copy an archivelog like:

connect target SYS/...@srcinst # source system
connect auxiliary SYS/...@destinst # destination system
backup as copy reuse
archivelog like "/u01/oracle/archivelog/arc_des/arch%.arc"
auxiliary format "+RCVAREA" ;
Or copy a datafile like:

connect target SYS/...@srcinst # source system
connect auxiliary SYS/...@destinst # destination system
backup as copy reuse datafile "/u01/oracle/datafiles/system01.dbf"
auxiliary format "+DATA" ;
Oracle� Database Backup and Recovery Reference 11g Release 2 (11.2)
Part Number E10643-02:

AUXILIARY FORMAT:   Copies the files on the target database to the specified location on the auxiliary instance. RMAN can only generate image copies when AUXILIARY FORMAT is specified. RMAN must be connected to both TARGET and AUXILIARY instances and have
access to auxiliary channels.
You can use the BACKUP AUXILIARY FORMAT command to copy datafiles over the network between primary and standby databases. For example, if a datafile on a primary database was lost, you could CONNECT to the standby database as TARGET and the primary database
as AUXILIARY, and copy an intact datafile from the standby host to the primary host.

formatSpec Specifies a pattern for naming the output image copies on an auxiliary instance. The path must be valid on the auxiliary host.

NEW Creates an image copy in the directory specified in the DB_CREATE_FILE_DEST initialization parameter of the auxiliary instance. The image copy is an Oracle-managed file.

REUSE Enables RMAN to overwrite an already existing backup or copy with the same file name as the file that BACKUP is currently creating.

See documentation for further details.   

 相关内容

 

--------------------------------------------------------------------------------
产品
--------------------------------------------------------------------------------

•Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition

关键字
--------------------------------------------------------------------------------
ASM; AUXILIARY; COPY FILING; DATAFILES; DB_CREATE_FILE_DEST; FILES; FILESYSTEM; ORACLE DATABASE; ORACLE-MANAGED FILES

 

 

 

时间: 2024-12-27 19:42:11

How to Copy ASM Files Across Nodes [ID 1147859.1]的相关文章

RAC ASM instances crash with ORA-29702 when multiple ASM instances start(ed) [ID 733262.1]

RAC ASM instances crash with ORA-29702 when multiple ASM instances start(ed) [ID 733262.1]   修改时间 21-JAN-2011     类型 PROBLEM     状态 PUBLISHED   In this Document  Symptoms   Cause   Solution Applies to: Oracle Server - Enterprise Edition - Version: 10

ASM 11g New Features - How ASM Disk Resync Works. [ID 466326.1]

ASM 11g New Features - How ASM Disk Resync Works. [ID 466326.1]   修改时间 05-MAR-2012     类型 BULLETIN     状态 PUBLISHED   In this Document  Purpose   Scope and Application      ASM Fast Disk Resync Overview   ASM 11g New Features - How ASM Disk Resync Wo

Oracle ASM 翻译系列第二十三弹:ASM Internal ASM files number 12 and 254

ASM files number 12 and 254 staleness directory是ASM元信息的12号文件,包含了可以把staleness registry中的槽位映射给特定磁盘和客户端的元信息.staleness registry是ASM元信息254号文件,当磁盘offline时,用于跟踪AU的状态.这两个特性适用于COMPATIBLE.RDBMS设置为11.1或以上且NORMAL或HIGH冗余模式的磁盘组.只有在需要时staleness元信息才会被创建,本身的内容大小会随着of

win7 U盘出错日志---We were unable to copy your files. Please check your USB device and the selected ISO file and try again (转)

已找到解决出现:"We were unable to copy your files. Please check your USB device and the selected ISO file and try again."这个问题的方法了. 方法:插上要U启的U盘后,运行-->diskpart list disk(列出磁盘) select disk #(选择磁盘#) clean(清理) create partition primary(创建主要分区) select part

【MOS】Parameter FILESIZE - Multiple Export Files (文档 ID 290810.1)

                                                                                        >                     >        >      >                                                                 >                                               

ASM 翻译系列第三弹:基础知识 About ASM disk groups, disks and files

Oracle ASM使用磁盘组来存放数据文件,每一个ASM的磁盘组由一些ASM磁盘组成,每一个ASM磁盘组本身是一个独立的存储单元,是自描述的,对于ASM磁盘组中数据库文件,ASM提供一个文件系统的接口,方便DBA做管理.存放在ASM磁盘组中的文件被均匀的分布在磁盘组中的所有磁盘上,通过这种方式,每一块磁盘都可以提供一致的性能,同时ASM的性能可以比得上裸设备的性能.[摘录自11GR2版本的ASM官方文档] ASM Disk Groups 一个ASM磁盘组是由一个或多个ASM磁盘组成的,每个AS

Master Note For Automatic Storage Management (ASM) For Operating System (OS) Administrators [ID 1345

In this Document  Purpose   Scope   Master Note For Automatic Storage Management (ASM) For Operating System (OS) Administrators      All Platforms      Linux x86-64      Solaris      HP-UX      IBM AIX      Microsoft Windows      IBM Linux on Z Appli

ORA-24300 When Configuring GC Agent to monitor 11g ASM [ID 977472.1]

ORA-24300 When Configuring GC Agent to monitor 11g ASM [ID 977472.1]   修改时间 05-OCT-2011     类型 PROBLEM     状态 PUBLISHED   Applies to: Enterprise Manager for Oracle Database - Version: 11.1.0.6 to 11.2.0.1 - Release: 11.1 to 11.2 Information in this d

探索ORACLE之ASM概念(完整版)_oracle

一.     ASM(自动存储管理)的来由: ASM是Oracle 10g R2中为了简化Oracle数据库的管理而推出来的一项新功能,这是Oracle自己提供的卷管理器,主要用于替代操作系统所提供的LVM,它不仅支持单实例,同时对RAC的支持也是非常好.ASM可以自动管理磁盘组并提供有效的数据冗余功能.使用ASM(自动存储管理)后,数据库管理员不再需要对ORACLE中成千上万的数据文件进行管理和分类,从而简化了DBA的工作量,可以使得工作效率大大提高. 二.     什么是ASM ASM它提供