Oracle Certificate Professional Preparation

I passed my Oracle Database 10g Certified Associate (OCA) on the beginning of 2006. After busy on my work several months. I started to prepare my Oracle Database 10g Administrator Certified Professional (OCP) exam.

This is my OCP exam studying dairy. I hope can share something to anyone whom want to take the OCP exam.


Friday, August 18, 2006

Migrate non-ASM to ASM

1. Note the filenames of the control files and online redo log files
2. Shutdown the database using NORMAL, IMMEDIATE or TRANSACTIONAL keywords
3. Backup the database
4. Edit the SPFILE to use OMF for all file destinations
5. Edit the SPFILE to remove the CONTROL_FILE parameter
6. Run the following RMAN script:

RMAN> STARTUP NOMOUNT;
RMAN> RESTORE CONTROLFILE FROM controlfile_location
RMAN> ALTER DATABASE MOUNT;
RMAN> BACKUP AS COPY DATABASE FORMAT '+diskgroup_destination';
RMAN> SWITCH DATABASE TO COPY;
RMAN> SQL ALTER DATABASE RENAME logfile TO '+diskgroup_destination';
RMAN> ALTER DATABASE OPEN RESETLOGS;

7. Delete or archive the old dtaabase files;


NOTES:
SBT - System Backup Tape
CTWR - Change Tracking Writer
RVWR - Recover Log Writer
RMAN - Recovery Manager
ASM - Automatic Storage Management
ADDM - Automatic Database Diagnostic Management
MML - Memony Monitoring Light process
MON - Memony Managaibility Monitoring process

MML- Media Management Layer

0 Comments:

Post a Comment

<< Home