Create a Test Master
Determine the best method of cloning the data for each of your development and test environments based on how often and how quickly you require updated information.
Review the following data refresh frequency guidelines to help you determine the best method of cloning your production database to create your Test Master:
- Frequent refreshes (daily, weekly): Create a Test Master as a physical standby database
- Regular refreshes (bi-weekly, monthly): Create a Test Master from an active database using RMAN DUPLICATE
- Occasional refreshes (quarterly, semi-annually): Create a Test Master using RMAN full database backup
Create a Test Master as a Physical Standby Database
Create a Test Master that is a physical standby database when you need to always be synchronized with production.
The physical standby is the Test Master for creating snapshots, don't use the Test Master for disaster recovery. The snapshots are created on the same server as the Test Master on Oracle ACFS.
This example uses Oracle Database version 12.1.0.2 with the following names:
- Source production database instance: PRODDB (the PDB name is PDB1)
- Test Master database instance: TSTMSTR (the PDB name is PDB1)
/etc/hosts
directory of the production database, configure the
ports on the Test Master, and configure Oracle Data Guard between the Production and Test Master databases.
Create a Test Master from an Active Database
Create a database clone from an online production database using Oracle Recovery Manager (RMAN) Active Duplication when you need to refresh a test environment regularly.
This example uses Oracle Database version 12.1.0.2 with the following names:
- Source production database instance: PRODDB (the PDB name is PDB1)
- Test Master database instance: TSTMSTR (the PDB name is PDB1)
Create a Test Master from a Full Database Backup
Create a full backup copy of your source production database on Oracle Cloud Infrastructure File Storage service when your Test Master requires occasional refreshes. Create the backup with Oracle Recovery Manager (RMAN) Active Duplication and mount the backup on the Test Master Server.
This example uses Oracle Database version 12.1.0.2 with the following names:
- Source production database instance: PRODDB (the PDB name is PDB1)
- Test Master database instance: TSTMSTR (the PDB name is PDB1)