Professional Documents
Culture Documents
ASM databases and filesystem databases run together in Oracle Data Guard, it helps us move database
into or take if out of ASM disks/filesystem without concern on data loss.
Notes:
db_create_file_dest is the key because of the nature of ASM+OMF dynamic name with their rules.
//*online_log*dest* plays the same role.
Steps
Use RMAN duplicate cocmmand to create Data Gurard with ASM primary and filesystem physcial
standby.
1) have RMAN backup primary database (either ASM or on filesytem)
2) create parameter file, password file, tnsnames.ora entry, filesystem or ASM diskgroup for standby
database, and optional listener for standby.
3) make sure backup in step 1 is avaiable for standby server.
4) call RMAN duplicate command
5) start log apply in standby database
Example:
10gR2(10.2.0.1), primary database: db10g on ASM disks, standby database db10gs on filesystem. Both
databases on the same server.
-- ...
-- db_create_file_dest ='/d07/oradata'
-- db_recovery_file_dest ='/d07/fra'
-- ...
...
...
...
...
...
RMAN> exit
Note: Even without duplicate command, We can still do it with above commands with variance. This is
what my focus on.