Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2004

Size: px
Start display at page:

Download "Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2004"

Transcription

1 Oracle Database 10g Migration to Automatic Storage Management An Oracle White Paper August 2004

2 Oracle Database 10g Migration to Automatic Storage Management Executive Overview... 3 Introduction... 3 Database Migration to ASM overview... 3 Cold Migration... 3 Hot Migration... 4 Database Migration Detailed Steps... 5 Assumptions... 5 Choosing the correct method... 6 Cold Migration... 6 Hot Migration... 6 Cold Migration to ASM Cold Migration - Pre Migration Cold Migration - First Outage Recovery Area moves to ASM Cold Migration - Database Backup Cold Migration - Second Outage Data Area moves to ASM Cold Migration - Post Migration Hot Migration to ASM Hot Migration - Pre Migration Hot Migration - The Switch Hot Migration - Post Migration Conclusion Appendix 1: Migrating ASM Disk Groups Back to Original Database Storage Oracle Database 10g Migration to Automatic Storage Management Page 2

3 Oracle Database 10g Migration to Automatic Storage Management EXECUTIVE OVERVIEW In Oracle Database 10g, storage management and provisioning for the database has becomes much more simplified with a new feature called Automatic Storage Management (ASM). ASM provides filesystem and volume manager capabilities built into the Oracle database kernel. With this capability, ASM simplifies storage management tasks, such as creating/laying out databases and disk space management. Since ASM allows disk management to be done using familiar create/alter/drop SQL statements, DBAs do not need to learn a new skill set or make crucial decisions on provisioning. This white paper describes two methods of migrating the Oracle database from its current storage to ASM. INTRODUCTION With the introduction of Oracle Database 10g, Oracle now provides Automatic Storage Management (ASM) that is optimized for Oracle files. You may decide to migrate to ASM with a piecemeal approach by allocating new Oracle data files into ASM as the database grows, however to receive the full benefits of ASM such as the ability to add or remove storage from the database configuration with automated balancing of the distribution of the data files without downtime, the entire database should be migrated to ASM. This white paper introduces two methods to migrate an existing database completely from legacy storage to ASM. DATABASE MIGRATION TO ASM OVERVIEW There are two migration methods, cold migration and hot migration, described in this white paper. Both of these migration methods use Recovery Manager (RMAN) as RMAN is the utility that must be used to recover a database that is located on an ASM disk group. The migration method to use depends upon the amount of storage and processing capacity available, and the amount of down time that can be tolerated. Cold Migration The cold migration method is used when there is insufficient unallocated disk space available to hold a full copy of the database. This method consists of two phases: Oracle Database 10g Migration to Automatic Storage Management Page 3

4 the first phase migrates the flash recovery area, which contains recovery related files such as archived redo logs and database backups. The second phase migrates the data and redo log files. Both phases of the cold migration can be completed during a single maintenance window or spread over the course of multiple days or even weeks. Hot Migration The hot migration method is used when there is sufficient, unallocated disk space that can be used for ASM. The amount of disk space required for hot migration depends on the backup strategy and the amount of disk space used by disk-based backups. The minimum amount of unallocated disk space required is equivalent to at least the size of the database. This method consists of a preparation phase that builds and configures the ASM storage while the database remains online followed by a short outage phase that switches the database to the new ASM storage while the database is offline. Oracle Database 10g Migration to Automatic Storage Management Page 4

5 DATABASE MIGRATION DETAILED STEPS The following pages describe the migration of an Oracle Database 10g database from Unix File Systems to ASM. The database is a single instance database residing on Redhat Linux, but the procedure is identical for users migrating from a Cluster File System or RAW partitions, irrespective of the Operating System 1. Assumptions The following assumptions have been made about the environment. The database area (init.ora:db_create_file_dest) for the database resides on the Unix file system /oradata, and is striped and mirrored over 4 individual disks. The recovery area (init.ora:db_recovery_file_dest) for the database resides on the Unix file system /flash_recovery, and is striped and mirrored over 4 individual disks. The database has two redo log members per group, one on the /oradata file system and the other on the /flash_recovery file system. The database has two control files, one on the /oradata file system and the other on the /flash_recovery file system. There are 8 additional disks available for the Hot Migration. The following picture represents the disk layout before and after the migration is completed. Note: For more information on ASM best practices and failure groups, please take a look at the following links: ASM on OTN Oracle Database Administrator's Guide, Chapter 12 1 The commands may differ from those described below depending upon the Operating System. Oracle Database 10g Migration to Automatic Storage Management Page 5

6 Choosing the correct method Use the table below to assist in determining the available migration methods based upon the amount of disk space required for the migration Disk Space Availability Method Outage Time Not enough space to contain the database and recovery area Sufficient space to create a second copy of the database and recovery area Cold Migration Hot Migration First Outage Proportional to storage reconfiguration and log file member recreation Second Outage Proportional to database restore and recovery Only One Outage Proportional to database recovery from disk Cold Migration Cold Migration is required when there is not enough disk space to make an ASM disk group large enough to contain a copy of the database and recovery area files during the course of the migration. This can be done using RMAN with two methods: disk or tape. Cold Migration using Disk Cold Migration using disk relies on the ability to create a full RMAN backup in the Flash Recovery Area to speed up the time take for the database to be restored during the second outage. Cold Migration using Tape Cold Migration using tape is the slowest method to migrate to ASM and requires the use of tape devices to hold the backup of the database. The method described below assumes that the default device type for backup s has been set to tape using the RMAN configure command. Hot Migration Hot Migration is possible when there is sufficient disk space available to create an ASM disk group to contain a duplicate of the database during the course of the migration. Oracle Database 10g Migration to Automatic Storage Management Page 6

7 Hot Migration to New Storage Hot Migration to new storage relies upon the additional allocation of disk space to be available on a permanent basis. This method is ideal in the event that new storage is being added to hold the database, and the current storage is remaining in place to be used to hold disk backups. Hot Migration with Current Storage Hot Migration with current storage utilizes the temporary presence of additional storage. The method has additional steps that are documented in Appendix 1 of the paper, and is used when the disk space is available for a limited amount of time. The ultimate goal is to migrate the database back to the original storage system after it is configured with ASM. Oracle Database 10g Migration to Automatic Storage Management Page 7

8 Cold Migration to ASM There are five phases to the migration of a database from Unix File Systems to ASM. 1. Cold Migration - Pre Migration 2. Cold Migration - First Outage Recovery Area moves to ASM 3. Cold Migration - Database Backup 4. Cold Migration - Second Outage Data Area moves to ASM 5. Cold Migration - Post Migration 1. Cold Migration - Pre Migration During this phase of the migration, there is no outage to the database. Create the ASM Instance init.ora file Create an SPFILE for the ASM Instance Start the ASM Instance Save any backups to tape Create the ASM Instance init.ora file The ASM Instance is created using a special init.ora file. A typical ASM init.ora file is as follows; *.instance_type='asm' *.remote_login_passwordfile='shared' *.large_pool_size=12m *.asm_power_limit=10 *.background_dump_dest='/u01/app/oracle/admin/+asm/bdump' *.core_dump_dest='/u01/app/oracle/admin/+asm/cdump' *.user_dump_dest='/u01/app/oracle/admin/+asm/udump' *.asm_diskstring='/dev/raw/raw*' Oracle defaults the ASM instance to have an Oracle SID of +ASM Create an SPFILE for the ASM Instance It is considered best practice to create an spfile for the ASM Instance so that the asm_diskgroups parameter is automatically updated when a new disk group is created. With this parameter set, the proper ASM disk groups are mounted when the ASM Instance is subsequently started. $ export ORACLE_SID=+ASM $ sqlplus /as sysdba Connected to an idle instance. SQL> create spfile from pfile; File created. Start the ASM Instance The ASM instance is started no mount in the same way that any other Oracle Instance may be started. SQL> startup nomount Oracle Database 10g Migration to Automatic Storage Management Page 8

9 ASM instance started Total System Global Area bytes Fixed Size bytes Variable Size bytes Database Buffers 0 bytes Redo Buffers 0 bytes These backups will not be used to aid the migration of the database to ASM. However, it is strongly recommended that these backups be saved to an alternate location such as tape, because the contents of the current Recovery Area will be destroyed during this migration. Save any backups to tape Prior to the start of the first outage, any backups that need to be saved should be copied to tape or to an alternate location. The following example assumes that RMAN is being used to transfer the backups to tape. Save current backup sets to tape RMAN> backup device type sbt backupset all delete input; Save current data file copies to tape RMAN> backup device type sbt datafilecopy all delete input; Save current archive log files to tape RMAN> backup device type sbt archivelog all delete input; 2. Cold Migration - First Outage Recovery Area moves to ASM During this phase, the database must be shutdown so that the storage currently used for the recovery area may be reformatted for use by ASM. Clear the old Recovery Area Prepare the disks for use by ASM Change the permissions on the disk device file Create the Recovery Area Disk Group Prepare the Production Database to use the ASM disk group Clear the old Recovery Area Remove the redo log members from the /flash_recovery file system. Query v$logfile and for all files residing in the /flash_recovery file system, and then drop the redo log member. This should be completed for both online and standby redo log files. SQL> alter database drop logfile member '/flash_recovery/orcl/onlinelog/o1_mf_1_0fpqygx6_.log'; Shutdown the database and then remount RMAN> shutdown immediate; RMAN> startup mount Backup and remove any final archive log files that might have been generated. RMAN> backup device type sbt archivelog all delete input; Disable Flashback Database if it is currently in use. SQL> alter database flashback off; Query the v$controlfile view, and redefine the control_file parameter in the spfile so that the database will not reference the /flash_recovery file system copy. SQL> select name from v$controlfile; Oracle Database 10g Migration to Automatic Storage Management Page 9

10 NAME /oradata/orcl/controlfile/o1_mf_0fpqyfw7_.ctl /flash_recovery/orcl/controlfile/o1_mf_0fpqyg20_.ctl SQL> alter system set control_files= '/oradata/orcl/controlfile/o1_mf_0fpqyfw7_.ctl' scope=spfile; Shutdown the database SQL> shutdown immediate; Unmount the flash recovery area file system # umount /flash_recovery Prepare the disks for use by ASM This step varies depending on the operating system. For example, on Linux, the device that the original file system was built on must be removed, the RAID device must be stopped, and then the disks must have a RAW device created over the block device. Change the permissions on the disk device file The ASM Instance runs as the Oracle user and therefore the permissions of the disk device files for all the disks that will be used by ASM should be changed so that the ASM instance has write access. # chown oracle:dba /dev/raw/raw[5-8] # chmod 640 /dev/raw/raw[5-8] Create the Recovery Area Disk Group Using the disk device files created previously, the ASM disk group for the Recovery Area can be built. Assuming the Recovery Area is to be built on 4 disks with two failure groups the command would be. SQL> create diskgroup RECOVERY_AREA normal redundancy failgroup controller1 disk /dev/raw/raw5, /dev/raw/raw6 failgroup controller2 disk /dev/raw/raw7, /dev/raw/raw8 ; Diskgroup created. When an ASM Disk Group is used in an Oracle database, the disk group name is prefixed by a + sign. Prepare the Production Database to use the ASM disk group With the creation of the ASM disk group, the Oracle database instance must be instructed to use the ASM disk group for recovery related files. The Oracle database instance must be mounted to allow the changes to proceed SQL> startup mount Change the db_recovery_file_dest parameter to point to the RECOVERY_AREA disk group. SQL> alter system set db_recovery_file_dest='+recovery_area' scope=both; Re-enable flashback database if required SQL> alter database flashback on; Re-establish the redo logfile members back into the database. SQL> alter database add logfile member '+RECOVERY_AREA' to group 1; SQL> alter database add logfile member '+RECOVERY_AREA' to group 2; SQL> alter database add logfile member '+RECOVERY_AREA' to group 3; Oracle Database 10g Migration to Automatic Storage Management Page 10

11 Re-establish the second control file back into the database SQL> select name from v$controlfile; NAME /oradata/orcl/controlfile/o1_mf_0fpqyfw7_.ctl SQL> alter system set control_files= '/oradata/orcl/controlfile/mycontrol.ctl', '+RECOVERY_AREA/mycontrol.ctl' scope=spfile; SQL> shutdown SQL> startup nomount; RMAN> restore controlfile from '/oradata/orcl/controlfile/o1_mf_0fpqyfw7_.ctl'; RMAN> alter database mount; Open the database SQL> alter database open; This concludes the first outage. The database is now available and recovery related files would be written to the ASM disk group. 3. Cold Migration - Database Backup The database is available and the Oracle instance is using the original storage for the database area and the ASM disk group (+RECOVERY_AREA) for flash recovery area files. We can now prepare for the second phase of the migration. Enable optimized incremental backups Make the initial database backup to the ASM Disk Group Remove the redo logfile member Create an incremental backup of the database to the ASM Disk Group Enable optimized incremental backups Oracle 10g introduced optimized incremental backups via the use of the block change-tracking file. If block change tracking has not been enabled previously on the database, then it should be enabled for the duration of the ASM migration. The use of the block change-tracking file will reduce the time that the final incremental backups take to run. SQL> alter database enable block change tracking; If there is insufficient space in the recovery area for a full database backup, this backup must be directed to a tape device. This backup, along with the level 1 backup taken below, will be restored during the migration of the database to ASM Make the initial database backup to the ASM Disk Group This phase will make the initial backup set of the Oracle database. RMAN> backup incremental level 0 database tag ASM_Migration ; Remove the redo logfile member Remove the redo log members from the /oradata file system. Query v$logfile and for all files residing in the /oradata file system, and drop the redo log member. SQL> alter database drop logfile member '/oradata/orcl/onlinelog/o1_mf_3_0fpqyp56_.log'; Oracle Database 10g Migration to Automatic Storage Management Page 11

12 It is advisable that this phase is repeated on a regular basis in the lead up to the scheduled outage. When the final transfer occurs, which requires an outage to the database, the time for the outage will be reduced if there is less data needing to be recovered. Ideally, this command should complete just before the scheduled outage commences. Create an incremental backup of the database to the ASM Disk Group This phase will create an incremental backup of the database in the RECOVERY_AREA ASM Disk Group. Using RMAN create an incremental level 1 backup of the database, and restore the backup into the database copy. RMAN> backup incremental level 1 database tag 'ASM_Migration'; 4. Cold Migration - Second Outage Data Area moves to ASM This is the start of the second and longer outage phase. Prepare the control file for ASM Disk Groups Drop the temporary files that reside on the file system Shutdown the database and unmount the file system Prepare the disks for use by ASM Migrate the Control File to the official locations on both ASM Disk Groups Restore the database files from the backup Restore the temporary files If the DB_UNIQUE_NAME is not set, then the DB_UNIQUE_NAME defaults to the value of the DB_NAME parameter. Prepare the control file for ASM Disk Groups Ensure that the directory structure exists in the new ASM Disk Group for the control files. SQL> alter database backup controlfile to +RECOVERY_AREA ; Determine the value of the db_unique_name init.ora parameter. SQL> show parameter db_unique_name NAME TYPE VALUE db_unique_name string ORCL SQL> show parameter db_name The control file that resides in the +RECOVERY_AREA disk group will be referenced in a later step in this section. NAME TYPE VALUE db_name string ORCL Now we must capture the current control file name SQL> select name from v$controlfile; NAME /oradata/orcl/controlfile/mycontrol.ctl +RECOVERY_AREA/mycontrol.ctl Finally, we must update the control_file parameter in the spfile SQL> alter system set control_files = +RECOVERY_AREA/mycontrol.ctl scope=spfile; Drop the temporary files that reside on the file system First restart the database to a mount state SQL> shutdown immediate; Oracle Database 10g Migration to Automatic Storage Management Page 12

13 SQL> startup mount; then, identify the current temporary files and their file size SQL> select bytes, name from v$tempfile; BYTES NAME /oradata/orcl/datafile/o1_mf_temp_0fpr0dbs_.tmp Drop the temporary files SQL> alter database tempfile /oradata/orcl/datafile/o1_mf_temp_0fpr0dbs_.tmp drop; Shutdown the database and unmount the file system We now need to shutdown the database in preparation for the creation of the ASM DATA_AREA Disk Group SQL> shutdown immediate Unmount the Data Area file system # umount /oradata Prepare the disk for ASM Usage Repeat Prepare the disks for use by ASM and Change the permissions on the disk device file on page 10 for the new disks that will be added to the Data Area Disk Group. Create the Data Area Disk Group - Assuming that the Data Area is to be built on the following 4 disks, with two failure groups SQL> create diskgroup DATA_AREA normal redundancy failgroup controller1 disk /dev/raw/raw1, /dev/raw/raw2 failgroup controller2 disk /dev/raw/raw3, /dev/raw/raw4 ; Diskgroup created. Substitute the {DB_UNIQUE_NAME} with the value previously identified. In this example the DB_UNIQUE_NAME is ORCL Migrate the Control File to the official locations on both ASM Disk Groups Mount the database SQL> startup mount We must first ensure that the directory structure exists in the newly created ASM Disk Group for the control files. SQL> alter database backup controlfile to +DATA_AREA ; Now we must update the control_file parameter in the spfile SQL> alter system set control_files = +DATA_AREA/{DB_UNIQUE_NAME}/CONTROLFILE/mycontrol.ctl, +RECOVERY_AREA/{DB_UNIQUE_NAME}/CONTROLFILE/mycontrol.ctl scope=spfile; First step is to shutdown the database cleanly. SQL> shutdown immediate Now we need to startup the instance with the nomount option in preparation for restoring the control files. SQL> startup nomount Restore one of the original control files into the new control file locations. RMAN> restore controlfile from '+RECOVERY_AREA/mycontrol.ctl'; Starting restore at 25-JUN-04 using target database controlfile instead of recovery catalog Oracle Database 10g Migration to Automatic Storage Management Page 13

14 allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=106 devtype=disk channel ORA_DISK_1: copied controlfile copy output filename=+data_area/orcl/controlfile/cmycontrol.ctl output filename=+recovery_area/orcl/controlfile/mycontrol.ctl Finished restore at 25-JUN-04 For each file in the database, issue the set newname for datafile n to new; command. Restore the database files from the backup Update the configuration SQL> alter system set db_create_file_dest='+data_area'; Bring the database to a mounted state RMAN> alter database mount; Restore the database to the DATA_AREA Disk Group RMAN> run { set newname for datafile 1 to new; set newname for datafile 2 to new; set newname for datafile 3 to new; set newname for datafile 4 to new; set newname for datafile 5 to new; restore database; switch datafile all; recover database; } The Block Change Tracking file must now either be dropped, or relocated to the ASM Disk Group RMAN> sql "alter database disable block change tracking"; sql statement: alter database disable block change tracking RMAN> sql "alter database enable block change tracking"; sql statement: alter database enable block change tracking And the database can be opened. RMAN> alter database open; Restore the temporary files In the alert log, a message reporting that a number of temporary tablespaces contain no datafiles ******************************************************************* ** WARNING: The following temporary tablespaces contain no files. This condition can occur when a backup controlfile has been restored. It may be necessary to add files to these tablespaces. That can be done using the SQL statement: longer ALTER TABLESPACE <tablespace_name> ADD TEMPFILE Alternatively, if these temporary tablespaces are no needed, then they can be dropped. Empty temporary tablespace: TEMP ******************************************************************* ** Add the temporary file to the necessary tablespaces SQL> alter tablespace temp add tempfile; Alternatively, if the temporary file size is to be controlled SQL> alter tablespace temp add tempfile size 20480k; Oracle Database 10g Migration to Automatic Storage Management Page 14

15 Restore the redo log file members At present, there is only one redo log file member per group that resides in the ASM RECOVERY_AREA Disk Group. Re-establish the second redo log member on the +DATA_AREA diskgroup for all online and standby redo log groups. SQL> alter database add logfile member '+DATA_AREA' to group 1; 5. Cold Migration - Post Migration All that remains is to validate that all files have been moved to the ASM Disk Groups We can now query the database and ensure that all files reside in either the DATA_AREA or RECOVERY_AREA ASM Disk Group SQL> select name from v$datafile union select name from v$tempfile union select member from v$logfile union select name from v$controlfile union select filename from v$block_change_tracking union select name from v$flashback_database_logfile; NAME DATA_AREA/orcl/changetracking/ctf DATA_AREA/orcl/controlfile/mycontrol.ctl +DATA_AREA/orcl/datafile/sysaux DATA_AREA/orcl/datafile/system DATA_AREA/orcl/datafile/undotbs DATA_AREA/orcl/datafile/users DATA_AREA/orcl/onlinelog/group_ DATA_AREA/orcl/onlinelog/group_ DATA_AREA/orcl/onlinelog/group_ DATA_AREA/orcl/tempfile/temp RECOVERY_AREA/orcl/controlfile/mycontrol.ctl +RECOVERY_AREA/orcl/flashback/log_ RECOVERY_AREA/orcl/onlinelog/group_ RECOVERY_AREA/orcl/onlinelog/group_ RECOVERY_AREA/orcl/onlinelog/group_ Oracle Database 10g Migration to Automatic Storage Management Page 15

16 Hot Migration to ASM There are three phases to the migration of a database from Unix File Systems to ASM. 1. Hot Migration - Pre Migration 2. Hot Migration - The Switch 3. Hot Migration - Post Migration Optionally, if the additional storage required by the hot migration needs to be removed, perform Appendix 1: Migrating ASM Disk Groups Back to Original Database Storage. 1. Hot Migration - Pre Migration During this phase of the migration, there is no outage to the primary database. Prepare the ASM Instance Create the Data Area Disk Group Create the Recovery Area Disk Group Prepare the Production Database for ASM Disk Group usage Migrate the current RMAN backups to the Recovery Area Make the initial copy of the Oracle Datafiles Migrate the Oracle Redo Log and Standby Redo Log files to ASM Disk Groups Migrate the tempfiles to ASM Disk Groups Refresh the previous copy of the Oracle Datafiles Prepare the ASM Instance Repeat Prepare the disks for use by ASM through Start the ASM Instance commencing on page 10 for the new disks that will be added to the Data Area Disk Group. The new disk devices being added to the system are /dev/raw/raw9 through /dev/raw/raw16 Create the Data Area Disk Group Assuming that the Data Area is to be built on the following 4 disks, with two failure groups SQL> create diskgroup DATA_AREA normal redundancy failgroup controller1 disk /dev/raw/raw9, /dev/raw/raw10 failgroup controller2 disk /dev/raw/raw11, /dev/raw/raw12 ; Diskgroup created. Create the Recovery Area Disk Group Assuming that the Recovery Area is to be built on the following 4 disks, with two failure groups SQL> create diskgroup RECOVERY_AREA normal redundancy failgroup controller1 disk /dev/raw/raw13, /dev/raw/raw14 Oracle Database 10g Migration to Automatic Storage Management Page 16

17 failgroup controller2 disk /dev/raw/raw15, /dev/raw/raw16 ; Diskgroup created. Prepare the Production Database for ASM Disk Group usage The next phase is to advise the production database that ASM Disk Groups should be used for all new data files as well as all recovery area usage. Change the db_create_file_dest init.ora parameter to point to the DATA_AREA diskgroup. SQL> alter system set db_create_file_dest='+data_area' scope=both; Change the db_recovery_file_dest init.ora parameter to point to the RECOVERY_AREA diskgroup. SQL> alter system set db_recovery_file_dest='+recovery_area' scope=both; The Block Change Tracking file cannot be moved to the ASM Disk Group, which means that the all Level 1 backups taken after the Block Change Tracking file has been recreated will not be able to exploit the Block Change Tracking file. In order to exploit the Block Change Tracking file, a new level 0 backup must be taken. Migrate the current RMAN backups to the Recovery Area This phase will migrate all the current RMAN backups in the recovery area to the ASM Disk Group. Move current backup sets to the ASM disk groups RMAN> backup backupset all delete input; Move current data file copies to the ASM disk groups RMAN> backup as copy datafilecopy all delete input; Move current archive log files RMAN> backup as copy archivelog all delete input; If Database Block Change Tracking has been enabled previously, the file must be recreated in the ASM Disk Groups. SQL> alter database disable block change tracking; Database altered. SQL> alter database enable block change tracking; Database altered. If Database Block Change Tracking has not been enabled previously on the database, then it must be enabled for the duration of the ASM Migration. SQL> alter database enable block change tracking; Database altered. Make the initial copy of the Oracle Datafiles This phase will make copies of all the Oracle datafiles in to the DATA_AREA ASM Disk Group Using RMAN backup the database using the AS COPY syntax. RMAN> backup device type disk incremental level 0 as copy tag 'ASM_Migration' database format '+DATA_AREA'; Migrate the Oracle Redo Log and Standby Redo Log files to ASM Disk Groups This phase will move the Oracle redo log files and Oracle standby redo log files to ASM Disk Groups. How the new redo log files are added, depends upon the Oracle Database 10g Migration to Automatic Storage Management Page 17

18 number of redo log members that control file can support. The following example assumes a maximum of 3 redo log members per group. Identify the current redo log members SQL> select member from v$logfile; Since you cannot drop a member from the current logfile group, you must switch logs at least once. Before a logfile member can be dropped, a new member must have been initialized, so each logfile group must be switched into at a minimum. MEMBER /oradata/orcl/onlinelog/o1_mf_1_0fs38tdh_.log /flash_recovery/orcl/onlinelog/o1_mf_1_0fs38tyq_.log /oradata/orcl/onlinelog/o1_mf_2_0fs38vmw_.log /flash_recovery/orcl/onlinelog/o1_mf_2_0fs393bj_.log /oradata/orcl/onlinelog/o1_mf_3_0fs3942r_.log /flash_recovery/orcl/onlinelog/o1_mf_3_0fs39c12_.log For each redo log group, Drop one of the two current redo log members. SQL> alter database drop logfile member '/flash_recovery/orcl/onlinelog/o1_mf_1_0fs38tyq_.log'; Add the two new redo log members SQL> alter database add logfile member '+DATA_AREA','+RECOVERY_AREA' to group 1; And finally drop the other original redo log member SQL> alter database drop logfile member '/oradata/orcl/onlinelog/o1_mf_1_0fs38tdh_.log'; Migrate the tempfiles to ASM Disk Groups First identify the current temporary files and their sizes, SQL> select bytes, name from v$tempfile; BYTES NAME /oradata/orcl/datafile/o1_mf_temp_0fs3bq8w_.tmp Add the new temporary file SQL> alter tablespace temp add tempfile size 20m; Then remove the original temporary file SQL> alter database tempfile '/oradata/orcl/datafile/o1_mf_temp_0fs3bq8w_.tmp' drop; It is advisable that this phase is repeated on a regular basis leading up to the scheduled outage. When the final transfer occurs, which requires an outage to the database, the time for the outage will be reduced if recovery is minimized. Ideally, this command should be completed just before the scheduled outage commences. Refresh the previous copy of the Oracle Datafiles This phase will refresh the copies of all the Oracle datafiles in the DATA_AREA ASM Disk Group Using RMAN create an incremental level 1 backup of the database, and restore the backup into the database copy. RMAN> run { backup incremental level 1 for recover of copy with tag 'ASM_Migration' database; recover copy of database with tag 'ASM_Migration'; } 2. Hot Migration - The Switch This is the start of the outage phase, which should be kept to a minimum of steps Prepare the control_file from ASM Disk Groups Oracle Database 10g Migration to Automatic Storage Management Page 18

19 Switching the database data files to ASM Disk Groups Move the Flashback Database Log Files If the DB_UNIQUE_NAME is not set, then the DB_UNIQUE_NAME defaults to the value of the DB_NAME parameter. Prepare the control_file from ASM Disk Groups We must first ensure that the directory structure exists in the new ASM Disk Groups for the control files. SQL> alter database backup controlfile to +DATA_AREA ; SQL> alter database backup controlfile to +RECOVERY_AREA ; We must now determine the value of the db_unique_name init.ora parameter. SQL> show parameter db_name NAME TYPE VALUE db_name string ORCL SQL> show parameter db_unique_name NAME TYPE VALUE db_unique_name string ORCL SQL> Now we must update the control_file parameter in the spfile SQL> alter system set control_files = +DATA_AREA/{DB_UNIQUE_NAME}/CONTROLFILE/mycontrol.ctl, +RECOVERY_AREA/{DB_UNIQUE_NAME}/CONTROLFILE/mycontrol.ctl scope=spfile; Finally, we must capture the current control file name SQL> select name from v$controlfile; NAME /oradata/orcl/controlfile/o1_mf_0fs38sx3_.ctl /flash_recovery/orcl/controlfile/o1_mf_0fs38t2w_.ctl Switching the database data files to ASM Disk Groups First step is to shutdown the database cleanly. RMAN> shutdown immediate; Now we need to nomount the instance in preparation for restoring the control files. RMAN> startup nomount Restore one of the original control files into the new control file locations. RMAN> restore controlfile from '/oradata/orcl/controlfile/o1_mf_0fs38sx3_.ctl'; Starting restore at 25-JUN-04 allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=270 devtype=disk channel ORA_DISK_1: copied controlfile copy output filename=+data_area/orcl/controlfile/mycontrol.ctl output filename=+recovery_area/orcl/controlfile/mycontrol.ctl Finished restore at 25-JUN-04 Now we need to mount the database RMAN> alter database mount; Switch the database to use the backup datafiles copies created previously. RMAN> switch database to copy; Oracle Database 10g Migration to Automatic Storage Management Page 19

20 Since there is a degree of change between the time the last incremental backup was taken and the database being shutdown, we must recover the datafile copies. RMAN> recover database; Move the Flashback Database Log Files We must now disable and re-enable Flashback Database so that the flashback log files are recreated in the ASM Recovery Area disk group. RMAN> sql "alter database flashback off"; sql statement: alter database flashback off RMAN> sql "alter database flashback on"; sql statement: alter database flashback on And then we can open the database RMAN> alter database open; 3. Hot Migration - Post Migration All that remains is to remove the block change-tracking file and to validate that all files have been moved to the ASM Disk Groups If Block Change Tracking was enabled for the purpose of the migration, then this should now be disabled SQL> alter database disable block change tracking; We can now query the database and ensure that all files reside in either the DATA_AREA or RECOVERY_AREA ASM Disk Group SQL> select name from v$controlfile union select name from v$datafile union select name from v$tempfile union select member from v$logfile union select filename from v$block_change_tracking union select name from v$flashback_database_logfile; NAME DATA_AREA/orcl/changetracking/ctf DATA_AREA/orcl/controlfile/mycontrol.ctl +DATA_AREA/orcl/datafile/sysaux DATA_AREA/orcl/datafile/system DATA_AREA/orcl/datafile/undotbs DATA_AREA/orcl/datafile/users DATA_AREA/orcl/onlinelog/group_ DATA_AREA/orcl/onlinelog/group_ DATA_AREA/orcl/onlinelog/group_ DATA_AREA/orcl/tempfile/temp RECOVERY_AREA/orcl/controlfile/mycontrol.ctl +RECOVERY_AREA/orcl/flashback/log_ RECOVERY_AREA/orcl/onlinelog/group_ RECOVERY_AREA/orcl/onlinelog/group_ RECOVERY_AREA/orcl/onlinelog/group_ Oracle Database 10g Migration to Automatic Storage Management Page 20

21 CONCLUSION This white paper has provided two different methods of moving an existing Oracle Database 10g database from a traditional file system configuration into Oracle s Automatic Storage Management, depending upon the amount of storage available to the customer and the amount of down time the customer can tolerate. Oracle Database 10g Migration to Automatic Storage Management Page 21

22 APPENDIX 1: MIGRATING ASM DISK GROUPS BACK TO ORIGINAL DATABASE STORAGE Following the completion of the HOT Migration to Automatic Storage Management, the database and recovery area is residing on the new storage. If it is necessary to move the database back to the original storage, the following sequence of events can be performed online. This might be the case if you borrowed storage to accomplish this migration that needs to be returned. Login to the ASM Instance $ export ORACLE_SID=+ASM $ sqlplus /as sysdba Identify the ASM Disk Name, Disk Group Name of the disks to be removed SQL> select failgroup,name from v$asm_disk FAILGROUP NAME CONTROLLER2 RECOVERY_AREA_0003 CONTROLLER2 RECOVERY_AREA_0002 CONTROLLER1 RECOVERY_AREA_0001 CONTROLLER1 RECOVERY_AREA_0000 CONTROLLER2 DATA_AREA_0003 CONTROLLER2 DATA_AREA_0002 CONTROLLER1 DATA_AREA_0001 CONTROLLER1 DATA_AREA_0000 Now we can modify the disk group, remove the temporary storage and add the original storage back into the ASM Disk Group. Before the disks can be added into the appropriate disk group, the original storage must be formatted for use by ASM. SQL> alter diskgroup data_area drop disk data_area_0000, data_area_0001, data_area_0002, data_area_0003 add failgroup controller1 disk /dev/raw/raw1, /dev/raw/raw2 failgroup controller2 disk /dev/raw/raw3, /dev/raw/raw4 ; Diskgroup altered. SQL> alter diskgroup data_area drop disk recovery_area_0000, recovery_area_0001, recovery_area_0002, recovery_area_0003 add failgroup controller1 disk /dev/raw/raw5, /dev/raw/raw6 failgroup controller2 disk /dev/raw/raw7, /dev/raw/raw8 ; Diskgroup altered. To check the status of the rebalance operation, that occurs in the background, query the v$asm_operation view; SQL> select * from v$asm_operation; GROUP_NUMBER OPERA STAT POWER ACTUAL SOFAR EST_WORK EST_RATE EST_MINUTES REBAL RUN Once the rebalance operation has been completed indicated by no information being returned from the v$asm_operation view, query the v$asm_disk view again to verify that the diskgroup is using the original disks. SQL> select path,failgroup,name from v$asm_disk PATH FAILGROUP NAME /dev/raw/raw9 Oracle Database 10g Migration to Automatic Storage Management Page 22

23 /dev/raw/raw10 /dev/raw/raw11 /dev/raw/raw12 /dev/raw/raw13 /dev/raw/raw14 /dev/raw/raw15 /dev/raw/raw16 /dev/raw/raw8 CONTROLLER2 RECOVERY_AREA_0007 /dev/raw/raw7 CONTROLLER2 RECOVERY_AREA_0006 /dev/raw/raw6 CONTROLLER1 RECOVERY_AREA_0005 /dev/raw/raw5 CONTROLLER1 RECOVERY_AREA_0004 /dev/raw/raw4 CONTROLLER2 DATA_AREA_0007 /dev/raw/raw3 CONTROLLER2 DATA_AREA_0006 /dev/raw/raw2 CONTROLLER1 DATA_AREA_0005 /dev/raw/raw1 CONTROLLER1 DATA_AREA_0004 The temporary storage may now be removed from the system. Oracle Database 10g Migration to Automatic Storage Management Page 23

24 Oracle Database 10g Migration to Automatic Storage Management August 2004 Author: Andrew Babb Contributing Authors:, Ray Dutcher, Susan Kornberg, Lawrence To, Doug Utzig, James Viscusi, Pradeep Bhat, Tammy Bednar, Paul Manning Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA U.S.A. Worldwide Inquiries: Phone: Fax: Oracle is a registered trademark of Oracle Corporation. Various product and service names referenced herein may be trademarks of Oracle Corporation. All other product and service names mentioned may be trademarks of their respective owners. Copyright 2001 Oracle Corporation All rights reserved.

Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2005

Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2005 Oracle Database 10g Migration to Automatic Storage Management An Oracle White Paper August 2005 Oracle Database 10g Migration to Automatic Storage Management Introduction... 3 Database Migration to ASM

More information

ASM migration process

ASM migration process Management on Dell/EMC Storage Arrays By Zafar Mahmood, Uday Datta Shet, and Bharat Sajnani ASM migration process The process for migrating an Oracle Real Application Clusters (RAC) database from Oracle

More information

Steps how to duplicate a database to a new machine. Version 10gR2

Steps how to duplicate a database to a new machine. Version 10gR2 Steps how to duplicate a database to a new machine. Version 10gR2 First take a fresh backup of the target database set the ORACLE_* variables If the databse is running in noarchivelog mode, shut it down

More information

Disaster Recovery: Restore Database from One Server to another Server when Different Location

Disaster Recovery: Restore Database from One Server to another Server when Different Location Disaster Recovery: Restore Database from One Server to another Server when Different Location Mohamed Azar Oracle DBA http://mohamedazar.wordpress.com 1 Mohamed Azar http://mohamedazar.wordpress.com Step

More information

Using Recovery Manager with Oracle Data Guard in Oracle9i. An Oracle White Paper March 2004

Using Recovery Manager with Oracle Data Guard in Oracle9i. An Oracle White Paper March 2004 Using Recovery Manager with Oracle Data Guard in Oracle9i An Oracle White Paper March 2004 Using Recovery Manager with Oracle Data Guard in Oracle9i Executive summary... 3 Introduction... 3 Configuration

More information

Recovering Oracle Databases

Recovering Oracle Databases CHAPTER 20 Recovering Oracle Databases In this chapter you will learn how to Recover from loss of a controlfile Recover from loss of a redo log file Recover from loss of a system-critical datafile Recover

More information

LOSS OF FULL DATABASE AND DATABASE RECOVERY ORACLE 11g

LOSS OF FULL DATABASE AND DATABASE RECOVERY ORACLE 11g CONNECT TO TARGET DATABASE USING RMAN $ export ORACLE_SID=crms $ rlrman target / Recovery Manager: Release 11.2.0.1.0 - Production on Sat Jan 31 10:13:56 2015 Copyright (c) 1982, 2009, Oracle and/or its

More information

Oracle Database Upgrade, Migration & Transformation Tips & Techniques Chapter 5

Oracle Database Upgrade, Migration & Transformation Tips & Techniques Chapter 5 Oracle Database Upgrade, Migration & Transformation Tips & Techniques Chapter 5 CHECKLIST 5-1 Migration Preparation Operations 1 Capture database file metadata 2 Verify COMPATIBLE setting 3 Create INCREMENTAL

More information

Maximum Availability Architecture: Overview. An Oracle White Paper July 2002

Maximum Availability Architecture: Overview. An Oracle White Paper July 2002 Maximum Availability Architecture: Overview An Oracle White Paper July 2002 Maximum Availability Architecture: Overview Abstract...3 Introduction...3 Architecture Overview...4 Application Tier...5 Network

More information

Deploying the Zero Data Loss Recovery Appliance in a Data Guard Configuration ORACLE WHITE PAPER MARCH 2018

Deploying the Zero Data Loss Recovery Appliance in a Data Guard Configuration ORACLE WHITE PAPER MARCH 2018 Deploying the Zero Data Loss Recovery Appliance in a Data Guard Configuration ORACLE WHITE PAPER MARCH 2018 Table of Contents Introduction 1 Overview 2 Prerequisites 2 Deploying Recovery Appliances with

More information

Oracle Exam 11gocmu Oracle Database 11g Certified Master Upgrade Exam Version: 4.0 [ Total Questions: 671 ]

Oracle Exam 11gocmu Oracle Database 11g Certified Master Upgrade Exam Version: 4.0 [ Total Questions: 671 ] s@lm@n Oracle Exam 11gocmu Oracle Database 11g Certified Master Upgrade Exam Version: 4.0 [ Total Questions: 671 ] Topic break down Topic No. of Questions Topic 1: Pool 1 112 Topic 2: Pool 2 100 Topic

More information

How to Recover the lost current control file, or the current control file is inconsistent with files that you need to recover??

How to Recover the lost current control file, or the current control file is inconsistent with files that you need to recover?? How to Recover the lost current control file, or the current control file is inconsistent with files that you need to recover?? If it is multiplexed then replace the lost one with the available one else

More information

Disaster Recovery Strategies for RAC on Oracle SE Arjen Visser Dbvisit Software Limited

Disaster Recovery Strategies for RAC on Oracle SE Arjen Visser Dbvisit Software Limited Disaster Recovery Strategies for RAC on Oracle SE Arjen Visser Dbvisit Software Limited Keywords Oracle RAC on Standard Edition Standby Database with RAC on Standard Edition Different standby database

More information

Getting Started with Database Ingestion

Getting Started with Database Ingestion Getting Started with Database Ingestion VMware vfabric Data Director 2.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by

More information

Technical White Paper August Migrating to Oracle 11g Using Data Replicator Software with Transportable Tablespaces

Technical White Paper August Migrating to Oracle 11g Using Data Replicator Software with Transportable Tablespaces Technical White Paper August 2010 Migrating to Oracle 11g Using Data Replicator Software with Transportable Tablespaces Migrating to Oracle 11g Using DRS with Transportable Tablespaces Contents Contents...

More information

What was new in 11g for Backup and Recovery? Contents

What was new in 11g for Backup and Recovery? Contents What was new in 11g for Backup and Recovery? Contents Introduction... 3 RMAN New Features and Enhancements... 3 Proactive Health Check... 3 Database Recovery Advisor... 6 Faster Backup Compression... 11

More information

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE ORACLE 11gR2 DBA by Mr. Akal Singh ( Oracle Certified Master ) INTRODUCTION to ORACLE COURSE CONTENT Exploring the Oracle Database Architecture List the major architectural components of Oracle Database

More information

Redefining Data Protection. Title Page. User s Guide. for the NetVault:Backup APM for Oracle. APM Version 5.1 OAG

Redefining Data Protection. Title Page. User s Guide. for the NetVault:Backup APM for Oracle. APM Version 5.1 OAG Redefining Data Protection Title Page User s Guide for the NetVault:Backup APM for Oracle APM Version 5.1 OAG-101-5.1-EN-01 01/30/08 Copyrights NetVault:Backup - User s Guide for the NetVault:Backup APM

More information

An Oracle White Paper April Deploying Oracle Data Guard with Oracle Database Appliance

An Oracle White Paper April Deploying Oracle Data Guard with Oracle Database Appliance An Oracle White Paper April 2012 Deploying Oracle Data Guard with Oracle Database Appliance Table of Contents Introduction... 2 Why do I need a standby database environment?... 2 Why Oracle Data Guard?...

More information

Cloning an Oracle Database to the Same Server Using FlashCopy and VolumeCopy on DS3400, DS4000, and DS5000

Cloning an Oracle Database to the Same Server Using FlashCopy and VolumeCopy on DS3400, DS4000, and DS5000 Cloning an Oracle Database to the Same Server Using FlashCopy and VolumeCopy on DS3400, DS4000, and DS5000 Technical White Paper 40563-00 Rev B December 2009 Copyright 2009 by International Business Machines

More information

Oracle RMAN for Absolute Beginners

Oracle RMAN for Absolute Beginners Oracle RMAN for Absolute Beginners Darl Kuhn Apress Contents About the Author Acknowledgments Introduction xvii xix xxi Chapter 1: Getting Started... 1 Connecting to Your Database 1 Establishing OS Variables

More information

Automatic Storage Management (ASM) Best Practices OUGN Marie-Louise Lindstrøm Service Delivery Engineer Oracle Support ACS

Automatic Storage Management (ASM) Best Practices OUGN Marie-Louise Lindstrøm Service Delivery Engineer Oracle Support ACS Automatic Storage Management (ASM) Best Practices OUGN 27.05.2009 Marie-Louise Lindstrøm Service Delivery Engineer Oracle Support ACS Agenda Concepts, Architecture New Features in Database Release 11g

More information

A. Automatic memory management is disabled because PGA_AGGREGATE_TARGET and SGA_TARGET are not set.

A. Automatic memory management is disabled because PGA_AGGREGATE_TARGET and SGA_TARGET are not set. Volume: 148 Questions Question No : 1 memory_target big integer 808M pga_aggregate_target big integer 0 sga_target big integer 0 SQL> SHOW PARAMETER SGA_MAX_SIZE NAME TYPE VALUE sga_max_size big integer

More information

Oracle Database 12C: Advanced Administration - 1Z0-063

Oracle Database 12C: Advanced Administration - 1Z0-063 Oracle Database 12C: Advanced Administration - 1Z0-063 Backup and Recovery Explain Oracle backup and recovery solutions o Describe types of database failures o Describe the tools available for backup and

More information

OCP Oracle Database 12c: Advanced Administration Exam Guide

OCP Oracle Database 12c: Advanced Administration Exam Guide OCP Oracle Database 12c: Advanced Administration Exam Guide (Exam 1Z0-063) Bob Bryla Copyright by McGraw-Hill Education. This is prepublication content and is subject to change prior to publication. 2

More information

An Oracle White Paper September Methods for Upgrading to Oracle Database 11g Release 2

An Oracle White Paper September Methods for Upgrading to Oracle Database 11g Release 2 An Oracle White Paper September 2009 Methods for Upgrading to Oracle Database 11g Release 2 Introduction... 1 Database Upgrade Methods... 2 Database Upgrade Assistant (DBUA)... 2 Manual Upgrade... 3 Export

More information

"Charting the Course... Oracle 18c DBA I (3 Day) Course Summary

Charting the Course... Oracle 18c DBA I (3 Day) Course Summary Oracle 18c DBA I (3 Day) Course Summary Description This course provides a complete, hands-on introduction to Oracle Database Administration including the use of Enterprise Manager (EMDE), SQL Developer

More information

INDEX SUMMARY...3 RMAN Check List...4 The Hands-On Environment...5 CATALOG...7

INDEX SUMMARY...3 RMAN Check List...4 The Hands-On Environment...5 CATALOG...7 Alejandro Vargas Principal Support Consultant Oracle Israel Support Services INDEX SUMMARY...3 RMAN Check List...4 The Hands-On Environment...5 CATALOG...7 1-set-catalog...8 2-create-catalog...9 3-register-database...10

More information

Exam 1Z0-061 Oracle Database 12c: SQL Fundamentals

Exam 1Z0-061 Oracle Database 12c: SQL Fundamentals Exam 1Z0-061 Oracle Database 12c: SQL Fundamentals Description The SQL Fundamentals exam is intended to verify that certification candidates have a basic understanding of the SQL language. It covers the

More information

Migrate Databases to Exadata Using RMAN Duplicate

Migrate Databases to Exadata Using RMAN Duplicate Migrate Databases to Exadata Using RMAN Duplicate BY UMAIR MANSOOB Who Am I Oracle Certified Administrator from Oracle 7 12c Exadata Certified Implementation Specialist since 2011 Oracle Database Performance

More information

Redefining Data Protection. Title Page. User s Guide. for the NetVault: Backup APM for Oracle. APM Version 5.5 OAG

Redefining Data Protection. Title Page. User s Guide. for the NetVault: Backup APM for Oracle. APM Version 5.5 OAG Redefining Data Protection Title Page User s Guide for the NetVault: Backup APM for Oracle APM Version 5.5 OAG-101-5.5-EN-01 06/06/08 Copyrights NetVault: Backup - User s Guide for the NetVault: Backup

More information

Oracle Database Administration

Oracle Database Administration A Active (Current) and Inactive Redo Log Files... 12:8 Alert and Trace Log Files... 1:34 Alert Log Files... 1:34 ALTER TABLE Statement - Reasons for using... 9:18 ALTER TABLESPACE... 7:23 Application Development...

More information

HP 3PAR Recovery Manager Software for Oracle

HP 3PAR Recovery Manager Software for Oracle HP 3PAR Recovery Manager 4.2.0 Software for Oracle User s Guide Abstract This document provides the information needed to install, configure, and use the HP 3PAR Recovery Manager 4.2.0 Software for Oracle

More information

Managing an Oracle Instance

Managing an Oracle Instance Managing an Oracle Instance Date: 07.10.2009 Instructor: SL. Dr. Ing. Ciprian Dobre 1 Objectives After completing this lesson, you should be able to do the following: Create and manage initialization parameter

More information

1Z Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions

1Z Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions 1Z0-060 Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-060 Exam on Upgrade to Oracle Database 12c... 2 Oracle 1Z0-060 Certification Details:... 2

More information

Managing Oracle Real Application Clusters. An Oracle White Paper January 2002

Managing Oracle Real Application Clusters. An Oracle White Paper January 2002 Managing Oracle Real Application Clusters An Oracle White Paper January 2002 Managing Oracle Real Application Clusters Overview...3 Installation and Configuration...3 Oracle Software Installation on a

More information

Oracle DBA Course Content

Oracle DBA Course Content 1 Oracle DBA Course Content Database Architecture: Introduction to Instance and Database How user connects to database How SQL statement process in the database Oracle data dictionary and its role Memory

More information

RMAN CHEAT SHEET 1 TECHGOEASY.COM. the version required by the RMAN executable. RMAN> UPGRADE CATALOG; Start command

RMAN CHEAT SHEET 1 TECHGOEASY.COM. the version required by the RMAN executable. RMAN> UPGRADE CATALOG; Start command Start command $ rman $ rman NOCATALOG $ rman TARGET SYS/pwd@target $ rman TARGET SYS/pwd@target NOCATALOG $ rman CATALOG rman/pwd@catdb $ rman TARGET=SYS/pwd@target CATALOG=rman/pwd@cat $ rman TARGET /

More information

Maximum Availability Architecture. Oracle Best Practices For High Availability

Maximum Availability Architecture. Oracle Best Practices For High Availability MAA / Data Guard 10g Release 2 Setup Guide Creating a RAC Logical Standby for a RAC Primary Oracle Maximum Availability Architecture White Paper May 2006 Maximum Availability Architecture Oracle Best Practices

More information

Oracle EXAM - 1Z Oracle Real Application Clusters 11g Release 2 and Grid Infrastructure Administration. Buy Full Product

Oracle EXAM - 1Z Oracle Real Application Clusters 11g Release 2 and Grid Infrastructure Administration. Buy Full Product Oracle EXAM - 1Z0-058 Oracle Real Application Clusters 11g Release 2 and Grid Infrastructure Administration Buy Full Product http://www.examskey.com/1z0-058.html Examskey Oracle 1Z0-058 exam demo product

More information

OTN Case Study: Amadeus Using Data Guard for Disaster Recovery & Rolling Upgrades

OTN Case Study: Amadeus Using Data Guard for Disaster Recovery & Rolling Upgrades OTN Case Study: Amadeus Using Data Guard for Disaster Recovery & Rolling Upgrades "We had already standardized on Oracle Data Guard for DR protection when we discovered additional ways to enhance overall

More information

for RAC migrations WLCG Service Reliability Workshop CERN, November 30 th, 2007 Jacek Wojcieszuk, CERN IT LCG

for RAC migrations WLCG Service Reliability Workshop CERN, November 30 th, 2007 Jacek Wojcieszuk, CERN IT LCG Oracle Data Guard for RAC migrations WLCG Service Reliability Workshop CERN, November 30 th, 2007 Jacek Wojcieszuk, CERN IT LCG Outline Problem description Possible approaches Oracle Data Guard Migration

More information

Oracle 1Z Number: Passing Score: 800 Time Limit: 120 min File Version: 1.0

Oracle 1Z Number: Passing Score: 800 Time Limit: 120 min File Version: 1.0 Oracle 1Z0-053 Number: 000-000 Passing Score: 800 Time Limit: 120 min File Version: 1.0 http://www.gratisexam.com/ 1Z0-053 Oracle Database 11g: Administration II. This 1Z0-053 exam continues to cover basic

More information

An Oracle White Paper September Upgrade Methods for Upgrading to Oracle Database 11g Release 2

An Oracle White Paper September Upgrade Methods for Upgrading to Oracle Database 11g Release 2 An Oracle White Paper September 2010 Upgrade Methods for Upgrading to Oracle Database 11g Release 2 Introduction... 1 Database Upgrade Methods... 2 Database Upgrade Assistant (DBUA)... 2 Manual Upgrade...

More information

COPYRIGHTED MATERIAL. Using Oracle ASM. Chapter. ÛÛDatabase Architecture and ASM. Describe Automatic Storage Management (ASM)

COPYRIGHTED MATERIAL. Using Oracle ASM. Chapter. ÛÛDatabase Architecture and ASM. Describe Automatic Storage Management (ASM) Chapter 1 Using Oracle ASM Oracle Database 11g: Administration II exam objectives covered in this chapter: ÛÛDatabase Architecture and ASM NN NN NN NN Describe Automatic Storage Management (ASM) Set up

More information

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI)

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI) Oracle DBA (10g, 11g) Training Course Content Introduction (Database Architecture) Describe course objectives Explore the Oracle 10g database architecture Installing the Oracle Database Software Explain

More information

Redefining Data Protection

Redefining Data Protection Redefining Data Protection Title Page User s Guide for the NetVault:Backup APM for Oracle APM Version 5.000 NVE 7009-7F 07/23-07 Copyrights NetVault:Backup - User s Guide for the NetVault:Backup APM for

More information

ASM BASED TABLESPACES BACKUP WITH RMAN FOR LONG TERM OFFLINE STORING

ASM BASED TABLESPACES BACKUP WITH RMAN FOR LONG TERM OFFLINE STORING ASM BASED TABLESPACES BACKUP WITH RMAN FOR LONG TERM OFFLINE STORING Alejandro Vargas Oracle Support Israel Principal Support Consultant TEST OBJECTIVES...2 COMMENTS...3 DESCRIPTION OF THE TESTS...3 1)

More information

Purpose. Configuring ARCHIVELOG mode

Purpose. Configuring ARCHIVELOG mode Purpose This document provides a guide to setting up the backup process specific to Oracle Database Standard Edition One on Dell servers. The following backup process takes advantage of the new Oracle

More information

Oracle Database 11g Data Guard

Oracle Database 11g Data Guard Oracle Database 11g Data Guard Overview This course introduces the delegate to the main architectural concepts of Data Guard. Delegates will learn how to use Oracle Data Guard to protect Oracle Databases

More information

Author A.Kishore Single instance to RAC conversion Introduction... 2

Author A.Kishore  Single instance to RAC conversion Introduction... 2 CONTENTS Single instance to RAC conversion... 2 Introduction... 2 Setup Create a Single instance database (filesystem) using dbca... 3 Verify the Single instance file system... 12 Verify you have sufficient

More information

9i RAC: Manual Backup and Recovery Shankar Govindan

9i RAC: Manual Backup and Recovery Shankar Govindan 9i RAC: Manual Backup and Recovery Shankar Govindan Introduction When we plan to move a large database or a heavily used OLTP database to a cluster setup, to get enough mileage from the horizontal scaling

More information

TestsDumps. Latest Test Dumps for IT Exam Certification

TestsDumps.  Latest Test Dumps for IT Exam Certification TestsDumps http://www.testsdumps.com Latest Test Dumps for IT Exam Certification Exam : 1z1-067 Title : Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP Vendor : Oracle Version : DEMO 1 NO.1 Examine

More information

CHAPTER. Planning and Managing Tablespaces

CHAPTER. Planning and Managing Tablespaces CHAPTER 3 Planning and Managing Tablespaces 62 Oracle Database 12c DBA Handbook How a DBA configures the layout of the tablespaces in a database directly affects the performance and manageability of the

More information

RECO CKPT SMON ARCH PMON RMAN DBWR

RECO CKPT SMON ARCH PMON RMAN DBWR Database Architecture t Architecture Topics Memory Structure Background Processes Database Accessing Database Information Starting the Database SMON PMON DBWR LGWR Parameter Database Architecture SNPn

More information

ORACLE DBA TRAINING IN BANGALORE

ORACLE DBA TRAINING IN BANGALORE ORACLE DBA TRAINING IN BANGALORE TIB ACADEMY #5/3 BEML LAYOUT, VARATHUR MAIN ROAD KUNDALAHALLI GATE, BANGALORE 560066 PH: +91-9513332301/2302 WWW.TRAININGINBANGALORE.COM Oracle DBA Training Syllabus Introduction

More information

DOC # RMAN PRODUCTS MANUAL EBOOK

DOC # RMAN PRODUCTS MANUAL EBOOK 03 December, 2018 DOC # RMAN PRODUCTS MANUAL EBOOK Document Filetype: PDF 406.96 KB 0 DOC # RMAN PRODUCTS MANUAL EBOOK NAME RosettaMan, rman - reverse compile man pages from formatted form to a number

More information

HP 3PAR Recovery Manager Software for Oracle

HP 3PAR Recovery Manager Software for Oracle HP 3PAR Recovery Manager 4.6.0 Software for Oracle User Guide Abstract This document provides the information needed to install, configure, and use the HP 3PAR Recovery Manager 4.6.0 Software for Oracle

More information

An Oracle White Paper July Methods for Downgrading from Oracle Database 11g Release 2

An Oracle White Paper July Methods for Downgrading from Oracle Database 11g Release 2 An Oracle White Paper July 2011 Methods for Downgrading from Oracle Database 11g Release 2 Introduction... 2 Oracle Database Downgrade Methods... 3 Downgrade Script... 3 Oracle Data Pump Export/Import

More information

Insanity: doing the same thing over and over again and expecting different results. Nice Proverb

Insanity: doing the same thing over and over again and expecting different results. Nice Proverb Insanity: doing the same thing over and over again and expecting different results. Nice Proverb No back up was taken after reset logs. How to recover the database? Solution It s possible, I have tried

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.   Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z1-063 Title : Oracle Database 12c: Advanced Administration Vendor : Oracle Version : DEMO Get Latest

More information

EMC OPEN REPLICATOR MIGRATION FROM HP 3PAR TO EMC VMAX3 USING ORACLE DATABASE

EMC OPEN REPLICATOR MIGRATION FROM HP 3PAR TO EMC VMAX3 USING ORACLE DATABASE EMC OPEN REPLICATOR MIGRATION FROM HP 3PAR TO EMC VMAX3 USING ORACLE DATABASE ABSTRACT This white paper describes data transfer using EMC Solution Enabler Open Replicator pull software to transfer disk-to-disk

More information

"Charting the Course... Oracle 18c DBA I (5 Day) Course Summary

Charting the Course... Oracle 18c DBA I (5 Day) Course Summary Course Summary Description This course provides a complete, hands-on introduction to Oracle Database Administration including the use of Enterprise Manager Database Express (EMDE), SQL Developer and SQL*Plus.

More information

The Challenges of Oracle Cloning. Safa Alak Consulting System Engineer

The Challenges of Oracle Cloning. Safa Alak Consulting System Engineer The Challenges of Oracle Cloning Safa Alak Consulting System Engineer safa@netapp.com Agenda Challenges Traditional Approach for Cloning The command Line Way Using RMAN 10G R2 Transportable Database Option

More information

Installing the Oracle Database Softwar

Installing the Oracle Database Softwar Contents chapter 1:Architecture Oracle Database Architecture Database Structures Oracle Memory Structures Process Structures Oracle Instance Management Server Process and Database Buffer Cache Physical

More information

Agent for Oracle. Arcserve Backup for Windows r17.5

Agent for Oracle. Arcserve Backup for Windows r17.5 Agent for Oracle Arcserve Backup for Windows r17.5 Legal Notices This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the Documentation

More information

EVault InfoStage 5.6 Oracle Plug-In for Solaris and Windows. Installation & Configuration Guide

EVault InfoStage 5.6 Oracle Plug-In for Solaris and Windows. Installation & Configuration Guide EVault InfoStage 5.6 Oracle Plug-In for Solaris and Windows Installation & Configuration Guide August 2006 This manual describes the installation and configuration of the EVault InfoStage Oracle Plug-In

More information

Data Protector. Software Version: Zero Downtime Backup Integration Guide

Data Protector. Software Version: Zero Downtime Backup Integration Guide Data Protector Software Version: 10.00 Zero Downtime Backup Integration Guide Document Release Date: June 2017 Software Release Date: June 2017 Legal Notices Warranty The only warranties for Hewlett Packard

More information

FLASHBACK RAC DATABASE TO RESTORE POINT Y. MORAN

FLASHBACK RAC DATABASE TO RESTORE POINT Y. MORAN I could not find any relevant documanet of RAC - Flashback on the net. So, I want to share my experiances with you. Check crs status. ora...t2.inst application ONLINE ONLINE rcnode2 Shutdown the database

More information

Technical White Paper August Recovering from Catastrophic Failures Using Data Replicator Software for Data Replication

Technical White Paper August Recovering from Catastrophic Failures Using Data Replicator Software for Data Replication Technical White Paper August 2010 Recovering from Catastrophic Failures Using Data Replicator Software for Data Replication. Recovering from Catastrophic Failures Using Data Replicator Software for Data

More information

ActiveImage Protector 2016R2SP1. Backup and Recovery of Oracle Database Second Edition - March 23, 2017

ActiveImage Protector 2016R2SP1. Backup and Recovery of Oracle Database Second Edition - March 23, 2017 ActiveImage Protector 2016R2SP1 Backup and Recovery of Oracle Database Second Edition - March 23, 2017 This user guide provides a description about backup and recovery procedures of Oracle database by

More information

Cross-Platform Database Migration with Oracle Data Guard

Cross-Platform Database Migration with Oracle Data Guard Cross-Platform Database Migration with Oracle Data Guard a CERN Case Study Background Many data centers nowadays run their production Oracle database systems on commodity hardware, mostly relying on software

More information

Protecting Oracle databases with HPE StoreOnce Catalyst and RMAN

Protecting Oracle databases with HPE StoreOnce Catalyst and RMAN Protecting Oracle databases with HPE StoreOnce Catalyst and RMAN Oracle database backup using the HPE StoreOnce Catalyst Plug-in for Oracle RMAN Technical white paper Technical white paper Contents Introduction...

More information

TestsDumps. Latest Test Dumps for IT Exam Certification

TestsDumps.  Latest Test Dumps for IT Exam Certification TestsDumps http://www.testsdumps.com Latest Test Dumps for IT Exam Certification Exam : 1z1-062 Title : Oracle Database 12c: Installation and Administration Vendor : Oracle Version : DEMO Get Latest &

More information

Mobile : ( India )

Mobile : ( India ) ORACLE DBA COURSE CONTENT : - INTRODUCTION TO ORACLE DBA What is DBA? Why a Company needs a DBA? Roles & Responsibilities of DBA Oracle Architecture Physical and Logical Phase of Database Types of files(control

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.   Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z1-034 Title : Upgrade Oracle9i/10g OCA to Oracle Database 11g OCP Vendor : Oracle Version : DEMO 1

More information

Oracle Database 11g Release 1 and 10g Release 2 Automatic Storage Management Overview and Technical Best Practices

Oracle Database 11g Release 1 and 10g Release 2 Automatic Storage Management Overview and Technical Best Practices Oracle Database 11g Release 1 and 10g Release 2 Automatic Storage Management Overview and Technical Best Practices 7/30/09 1 Table of Contents Introduction... 3 Overview of Oracle Database 10g Release

More information

Oracle12c Release 1 New Features for Administrators (5 Days)

Oracle12c Release 1 New Features for Administrators (5 Days) www.peaklearningllc.com Oracle12c Release 1 New Features for Administrators (5 Days) Course Description This course provides a complete, hands-on introduction to the newest release of Oracle Enterprise

More information

1z z0-060 Upgrade to Oracle Database 12c

1z z0-060 Upgrade to Oracle Database 12c 1z0-060 Number: 1z0-060 Passing Score: 800 Time Limit: 120 min File Version: 7.1 1z0-060 Upgrade to Oracle Database 12c Exam A QUESTION 1 Your multitenant container (CDB) contains two pluggable databases

More information

An Oracle White Paper November Oracle RAC One Node 11g Release 2 User Guide

An Oracle White Paper November Oracle RAC One Node 11g Release 2 User Guide An Oracle White Paper November 2009 Oracle RAC One Node 11g Release 2 User Guide Introduction... 1 Software Installation... 3 How to Configure an Oracle RAC One Node Database... 6 Rolling Patch Application

More information

Author A.Kishore

Author A.Kishore Introduction Oracle Data Guard (known as Oracle Standby Database prior to Oracle9i), forms an extension to the Oracle RDBMS and provides organizations with high availability, data protection, and disaster

More information

Oracle Database 11g for Experienced 9i Database Administrators

Oracle Database 11g for Experienced 9i Database Administrators Oracle Database 11g for Experienced 9i Database Administrators 5 days Oracle Database 11g for Experienced 9i Database Administrators Course Overview The course will give experienced Oracle 9i database

More information

Question No : 1 Which three statements are true regarding persistent lightweight jobs? (Choose three.)

Question No : 1 Which three statements are true regarding persistent lightweight jobs? (Choose three.) Volume: 183 Questions Question No : 1 Which three statements are true regarding persistent lightweight jobs? (Choose three.) A. The user cannot set privileges on persistent lightweight jobs. B. The use

More information

Call: Oracle 11g DBA Course Content:35-40hours Course Outline

Call: Oracle 11g DBA Course Content:35-40hours Course Outline Oracle 11g DBA Course Content:35-40hours Course Outline INTRODUCTION TO ORACLE DBA What is DBA? Why a Company needs a DBA? Roles & Responsibilities of DBA Oracle Architecture Physical and Logical Phase

More information

ORACLE 12C - M-IV - DBA - ADMINISTRADOR DE BANCO DE DADOS II

ORACLE 12C - M-IV - DBA - ADMINISTRADOR DE BANCO DE DADOS II ORACLE 12C - M-IV - DBA - ADMINISTRADOR DE BANCO DE DADOS II CONTEÚDO PROGRAMÁTICO Core Concepts and Tools of the Oracle Database The Oracle Database Architecture: Overview ASM Storage Concepts Connecting

More information

VERITAS Storage Foundation 4.0 TM for Databases

VERITAS Storage Foundation 4.0 TM for Databases VERITAS Storage Foundation 4.0 TM for Databases Powerful Manageability, High Availability and Superior Performance for Oracle, DB2 and Sybase Databases Enterprises today are experiencing tremendous growth

More information

Index. ALLOCATE AUXILIARY CHANNEL command, Page numbers ending in f refer to figures. Page numbers ending in t refer to tables.

Index. ALLOCATE AUXILIARY CHANNEL command, Page numbers ending in f refer to figures. Page numbers ending in t refer to tables. Page numbers ending in f refer to figures. Page numbers ending in t refer to tables. A ALLOCATE AUXILIARY CHANNEL command, 154 ALLOCATE CHANNEL command, 108 ALLOCATE CHANNEL FOR MAINTENANCE command, 109

More information

Oracle 1Z Oracle Database 10g: Administration II. Download Full Version :

Oracle 1Z Oracle Database 10g: Administration II. Download Full Version : Oracle 1Z0-043 Oracle Database 10g: Administration II Download Full Version : https://killexams.com/pass4sure/exam-detail/1z0-043 QUESTION: 172 You lost the index tablespace in your database. You decided

More information

White Paper. Using SVA SnapShot With Oracle June, 2001 TL-ENG-PRD-0477-A1 TL-ENG-PRD-0477-A01

White Paper. Using SVA SnapShot With Oracle June, 2001 TL-ENG-PRD-0477-A1 TL-ENG-PRD-0477-A01 White Paper Using SVA SnapShot With Oracle June, 2001 TL-ENG-PRD-0477-A1 TL-ENG-PRD-0477-A01 Table of Contents 1 Abstract... 5 2 Understanding SnapShot... 6 2.1 How Does SnapShot Work?...6 3 Architecture

More information

Exam : Oracle 1Z0 043

Exam : Oracle 1Z0 043 Exam : Oracle 1Z0 043 Title : oracle database 10g:administration ii Update : Demo http://www.killtest.com 1. You have set the value of the NLS_TIMESTAMP_TZ_FORMAT parameter in the parameter file to YYYY

More information

C:\Program Files (x86)\notepad++\change.log 26 August :42

C:\Program Files (x86)\notepad++\change.log 26 August :42 C:\Program Files (x86\notepad++\change.log 26 August 2012 04:42 CREATING PHYSICAL STANDBY DATABASE STEPS: @PRASHANT DIXIT --------------------------------------------- A standby database is a database

More information

ZDLRA implementation at CFM

ZDLRA implementation at CFM October 04, 2017 ZDLRA implementation at CFM Presented by Gabriel Nitulescu Project Leader CFM 2017 www.cfm.fr www.cfm.fr Who Are We? Fundamental research applied to financial markets CFM invests in Science,

More information

Oracle 1Z0-053 Exam Questions & Answers

Oracle 1Z0-053 Exam Questions & Answers Oracle 1Z0-053 Exam Questions & Answers Number: 1z0-053 Passing Score: 800 Time Limit: 120 min File Version: 23.8 http://www.gratisexam.com/ Oracle 1Z0-053 Exam Questions & Answers Exam Name: Oracle Database

More information

Oracle 1Z0-053 Exam Questions and Answers (PDF) Oracle 1Z0-053 Exam Questions 1Z0-053 BrainDumps

Oracle 1Z0-053 Exam Questions and Answers (PDF) Oracle 1Z0-053 Exam Questions 1Z0-053 BrainDumps Oracle 1Z0-053 Dumps with Valid 1Z0-053 Exam Questions PDF [2018] The Oracle 1Z0-053 Oracle Database 11g: Administration II exam is an ultimate source for professionals to retain their credentials dynamic.

More information

Recovery Manager Concepts

Recovery Manager Concepts Recovery Manager Concepts Joseph S Testa Data Management Consulting (64) 79-9000 Ohio Oracle Users Group Apr 2003 Introduction Who is using RMAN for backup/recovery? Have you tested your recovery scenarios?

More information

Chapter One. Concepts BACKUP CONCEPTS

Chapter One. Concepts BACKUP CONCEPTS Chapter One 1 Concepts Backup and recovery is not a single, discrete subject, but a collection of methods, strategies, and procedures to protect the data in your database and provide a means of recovery

More information

Question No : 1 Which three statements are true regarding the use of the Database Migration Assistant for Unicode (DMU)?

Question No : 1 Which three statements are true regarding the use of the Database Migration Assistant for Unicode (DMU)? Volume: 176 Questions Question No : 1 Which three statements are true regarding the use of the Database Migration Assistant for Unicode (DMU)? A. A DBA can check specific tables with the DMU B. The database

More information

DumpsKing. Latest exam dumps & reliable dumps VCE & valid certification king

DumpsKing.   Latest exam dumps & reliable dumps VCE & valid certification king DumpsKing http://www.dumpsking.com Latest exam dumps & reliable dumps VCE & valid certification king Exam : 1z1-062 Title : Oracle Database 12c: Installation and Administration Vendor : Oracle Version

More information

Configuring High Availability for the PMG DB

Configuring High Availability for the PMG DB This chapter describes the process of configuring high availability for the PMG DB. It provides the prerequisites and procedures required to configure and test the hot standby and cold standby for Cisco

More information

Oracle Database 11g: Backup and Recovery Workshop

Oracle Database 11g: Backup and Recovery Workshop Oracle Database 11g: Backup and Recovery Workshop Student Guide D71862GC10 Edition 1.0 March 2011 D72508 Authors Donna Keesling James Spiller Technical Contributors and Reviewers Christopher D. Andrews

More information