Install the Utility and Configure the Test Master Database Server
gDBClone
) script on the database server and configure the server to clone
your production database.
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 from an RMAN full database backup
Install the Database Clone Snapshot Management Script
gDBClone
script on the database server
where you want to create the Test Master.
The Database Clone Snapshot Management (gDBClone
)
command-line utility requires root system privileges for most tasks. In environments
where system administration is handled by a different group than database
administration, or where security is a significant concern, you may want to limit
access to the root user account and password. Sudo enables system administrators to
grant certain users (or groups of users) the ability to run commands as root, while
logging all commands and arguments as part of your security and compliance
protocol.
gDBClone
command-line
utility.
Add the Test Master to the Directory and Configure the Port
/etc/hosts
directory of production database server and
configure the ports.
Configure the Test Master Server
For all Test Master options, you must create an Oracle Database Home (DB Home), configure Oracle ASM Cluster File System (Oracle ACFS), and create a Transparent Data Encryption (TDE) wallet on the Test Master server instance.
This example uses the following names:
- Source production database instance: PRODDB (the PDB name is PDB1)
- Test Master database instance: TSTMSTR (the PDB name is PDB1)