Move Oracle Control File from File System to ASM
In this example, one control file already exists on ASM, and we will move the remaining control file from the file system.
Step 1: Check Current Control File Locations
First, identify the existing control file locations.
Output:
Here, the first control file is located on the file system, while the second one already resides in the ASM disk group +RECO.
Step 2: Start Database in NOMOUNT and Restore Control File to ASM
Use RMAN to start the database in NOMOUNT mode and copy the control file to ASM.
This command copies the control file into the +DATA ASM disk group.
Step 3: Identify the New ASM Control File Name
ASM automatically assigns a system-generated name to the control file. Use asmcmd to locate it.
Output:
Take note of this file path.
Step 4: Update the CONTROL_FILES Parameter
Update the control_files parameter to reflect the new ASM-based control file location.
This change is made in the SPFILE, so a database restart is required.
Step 5: Restart the Database
Restart the database to apply the changes.
Step 6: Verify the New Control File Locations
Finally, confirm that both control files are now using ASM.
Output:

Post a Comment
Post a Comment