How to Copy ASM Files Across Nodes [ID 1147859.1]
来源:互联网 发布:java web war包下载 编辑:程序博客网 时间:2024/05/01 15:27
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
- How to Copy ASM Files Across Nodes [ID 1147859.1]
- How to Copy asm files between remote ASM instances using ASMCMD command
- How to Copy Archivelog Files From ASM to Filesystem and vice versa
- How to collect the full path name of the files in ASM diskgroups (文档 ID 888943.1)
- How to collect the full path name of the files in ASM diskgroups (文档 ID 888943.1)
- How to map asm files with online database files
- How to copy a datafile from ASM to a file system not using RMAN (Doc ID 428893.1)
- How To Create ASM Diskgroups using NFS/NAS Files
- How To Delete Archive Log Files Out Of +Asm
- How To Create ASM Diskgroups using NFS/NAS Files
- How to Convert a Single-Instance ASM to Cluster ASM [ID 452758.1]
- How to Convert a Single-Instance ASM to Cluster ASM [ID 452758.1]
- How to Convert a Single-Instance ASM to Cluster ASM [ID 452758.1]
- How to move ASM database files from one diskgroup to another
- How to move ASM database files from one diskgroup to another
- How to copy a datafile from ASM to a file system not using RMAN
- How to copy files from server to virtual machine in Windows 2012/2016
- How to configure dbconsole to display information from the ASM DISKGROUPS [ID 329581.1]
- Linux设备驱动之——I2C总线
- 解决RPM包依赖的几种方法
- linux下RFID卡(门禁卡,Mifare卡)的编程
- Linux ALSA 系统架构
- oracle冷备份和热备份
- How to Copy ASM Files Across Nodes [ID 1147859.1]
- sqlserver数据库大型应用解决方案总结
- recovery学习
- Bochs 安装配置等相关问题
- 时间匹配小例子
- cmd中查看端口使用并关闭端口服务的进程的方法
- QTP COM组件归纳
- 2012中国数据库技术大会
- 59 从可行走骨架开始开发应用