15 Cloning Oracle Databases and Pluggable Databases

Enterprise Manager Cloud Control enables you to clone databases using the Full Clone method, or by using the classic cloning wizard which enables you clone databases using RMAN backup, staging areas, or an existing backup.

This chapter outlines the following procedures which you can use to create a database clone. For other advanced cloning methods, see Enterprise Manager Cloud Administration Guide.

15.1 Creating a Full Clone Database

To create a Full Clone database, you can use either of the following solutions:

15.1.1 Creating a Full Clone Database Using the Clone Wizard

To create a full clone database, follow these steps:

  1. On the Databases page, you can access the Full Clone database wizard by following any one method:
    • Select the database that you want to clone from the list of the databases displayed. On the Database home page, click the Database menu, select Cloning, and then select Create Full Clone.

    • Right click on the database target name, select Database, select Cloning, and then select Create Full Clone.

    • Right click on the database target name, select Database, select Cloning, and then select Clone Management. On the Clone Management page, in the Full Clone Databases box, click Create.

  2. On the Create Full Clone Database: Source and Destination page, do the following:
    • In the Source section, launch the credentials selector by selecting the search icons for SYSDBA Database and Database Host credentials. Click OK.

    • In the Data Time Series section, select Now or Prior Point in Time.

      If you selected Now, specify or search and select the SYSASM ASM Credentials. Now refers to Live Clone.

      Note:

      • Live clone (RMAN duplicate) is supported only if the source is in ARCHIVELOG mode.

      • For a Container database only Now option (live clone) in data-time series is supported.

      If you selected Prior Point in Time, a carousel of RMAN Backup images appear. Select the appropriate RMAN backup by clicking Select on the image.

      You can create full clones by selecting a backup and optionally modify the time and SCN to do a point in time restore.The Select Time option has the minimum limit set to the current backups time and maximum time limit set to the next backup time. You can modify this in case you have to create a new clone between these two time periods. Similarly, you can do the same for SCN by selecting the Select SCN option.

  3. In the Destination Database Definition section, do the following:
    • Specify a display name.

    • Specify a global database name and SID.

      A database is uniquely identified by a Global Database Name. The typical form of a name is name.domain. A database is referenced by at least one Oracle instance which is uniquely identified by SID.

    • Select one of the following types of databases:

      • Single Instance Database.

        In the Hosts section, specify the Oracle Home location. The host gets specified by default. Next, select the Database Home credentials and the SYSASM ASM credentials.

      • RAC Database

        In the Hosts section, specify or select the cluster target. The Oracle Home location gets specified by default. Next, specify the Database Host credentials, and the SYSASM ASM credentials.

        In the Nodes section, select the cluster and Oracle Home to display one or more hosts on which the administrator managed Oracle RAC database will be created.

      • RAC One Node Database

        In the Hosts section, specify or select the cluster target. The Oracle Home location gets specified by default. Next, specify the Database Host credentials, and the SYSASM ASM credentials.

        In the Nodes section, select the cluster and Oracle Home to display one or more hosts on which the administrator managed Oracle RAC database will be created.

        Note:

        Oracle supports inline patching as part of clones. When the destination home selected has patches applied such as the latest CPU or PSU, then the cloned database is automatically brought up with that level.

      Click Next.

  4. On the Create Full Clone Database: Configuration page, do the following:
    • In the Database Files Location, specify the location where you want the data files, temp files, redo log files, and control files to be created. You can select File System or Automatic Storage Management (ASM), and then specify the common location for the database files.

      The Use Oracle Optimal Flexible Architecture-compliant directory structure (OFA) option enables you to configure different locations for:

      • Archive and Redo logs

      • Data files

      • Control file

      • Temporary file

    • In the Recovery Files location, specify the location where you want the recovery files, such as archived redo logs, RMAN backups, and other related files to be created. You can choose to use the fast area recovery by selecting Use Fast Recovery Area. If you do, specify the fast recovery area size. The fast recovery area size is defaulted to that of source.

    • In the Listener Configuration section, select the listener targets running under the new Oracle Home, to register the clone database.

    • In the Database Credentials section, specify passwords for the SYS, SYSTEM, and DBSNMP administrative users in the clone database. You can choose to have the same password for all the three users or a different password for each.

    • In the Parallelism section, enter the number of parallel channels used by Recovery Manager (RMAN) to copy the database files in the Degree of Parallelism text box.

      Degree of parallelism is the number of parallel channels used by Recovery Manager (RMAN) to copy the database files. It is calculated as the CPU count of the host. Increased parallelism may speed the process if sufficient system resources are available.

    Click Next.

  5. On the Create Full Clone Database: Initialization Parameters page, you can configure the values of various initialization parameters that affect the operation of the database instance. Select the parameter and click Edit to modify the value of the parameter.

    Click Next.

  6. On the Create Full Clone Database: Post Processing page, specify the following:
    • Masking Definition: Data masking is the process of masking sensitive data in test or non-production databases. The masking definition defines the columns to be masked in the format of the masked data. Specify the masking definition to be applied after the database is cloned.

      Note:

      The masking definition can be used only when you have a Subset-Masking license pack.

    • Custom Scripts: Specify the custom scripts that need to be executed before and after the database is created.

      For more information on how to store and use custom scripts in the Software Library, refer to Using Custom Scripts Stored in the Software Library. To know the formats of custom scripts, you can view the sample scripts in the Database as a Service/Samples/Pre or Post Database Script folder in the Software Library. To navigate to the Software Library, from Enterprise menu, select Provisioning and Patching, then click Software Library.

    • Create Data Profile: This option enables you to automatically take a backup of the new cloned instance once it is created. When the clone or the Test Master is refreshed, this section displays the existing profiles created for the database. You can select the profile that has to be refreshed along with the database.

    • Create as Test Master: This option if you want to create the cloned database as a Test Master database.

    Click Next.

  7. On the Create Full Clone Database: Schedule page, specify a unique deployment procedure instance name. You can choose to start the deployment procedure immediately or at a later time,

    In the Notification Details section, you can choose to set the following notifications:

    • Scheduled

    • Running

    • Action Required

    • Suspended

    • Succeeded

    • Problems

    Click Next.

  8. On the Create Full Clone Database: Review page, verify the details of the source database, the data source of the clone, and the destination database.

    Click Submit.

15.1.2 Creating a Full Clone Database Using EM CLI

To create a full clone of a database execute the verb emcli db_clone_management -createFullClone -input_file="location of file containing properties for creating the database clone".

Sample properties file:

CLONE_TYPE=DUPLICATE
SRC_DB_TARGET_NAME=xxyy.us.example.com
SRC_DB_TARGET_TYPE=oracle_database
SRC_DB_CRED=NC_DB_CRED:SYSCO
SRC_HOST_NORMAL_NAMED_CRED=NC_HOST_CRED:SYSCO
COMMON_GLOBAL_DB_NAME=clonedb.example.com
COMMON_DB_SID=clonedb
DB_TARGET_NAME=clonedb.xxy.example.com
DATABASE_TYPE=dbTypeSI
TARGET_HOST_LIST=desthost.example.com
ORACLE_HOME_NAME=OraDB12Home2_29
ORACLE_HOME_LOC=/scratch/app/product/11.2.0./dbhome_1
ORACLE_BASE_LOC=/scratch/app/base
HOST_NORMAL_NAMED_CRED=NC_HOST_CRED2:SYSCO
DB_STORAGE_TYPE=FS
DB_FILE_LOC=/scratch/app/oradata
FRA_STORAGE_TYPE=FS
FLASH_REC_AREA=/scratch/user/app/fra
FRA_SIZE=4395
ARCHIVE_LOG_MODE=NO
DEST_LISTENER_SELECTION=DEST_DB_HOME
LISTENER_PORT=1526
ENABLE_LIVE_CLONE=true
DB_ADMIN_PASSWORD_SAME=true
DATABASE_PASSWORDS=right1
DB_TEMPLATE_STAGE=/tmp

Note:

The sample file shown above may not be valid for different types of full clone. As in, you may need to have different parameters for a live clone, or a point-in-time clone. Similarly, for a Single Instance, or a RAC clone. To know the necessary parameters to be added in the input file for a particular type of clone, enter the command emcli db_clone_management -print_properties.

To verify the status of the database clone creation, execute the verb emcli get_instance_status -instance={instance GUID}.

15.1.3 Refresh a Cloned Database

Once the Enterprise Manager Plugins are deployed, the ‘Refresh’ option is enabled. To deploy the plugins perform the following steps:
  1. Go to Setup and select Extensibility, and then click Plugins.

  2. From Servers, Storage and Network menu, deploy the Oracle Virtualization plugin on the Management Server and Management Agents.

  3. From the Cloud menu, deploy the Oracle Cloud Application plugin on the Management Server.

When these plugins are successfully deployed you can refresh a cloned database by performing the following steps:
  1. Navigate to Oracle Database and click Cloning.

  2. Click Cloning Management, and then select a cloned database from the list.

  3. Click Refresh.

15.2 Creating a Full Clone Pluggable Database

To create a full clone PDB, you can use either of the following solutions:

15.2.1 Creating a Full Clone Pluggable Database Using the Clone Wizard

You can create a full clone of a PDB using the new Clone PDB Wizard. To create a full clone PDB, follow these steps:

  1. From the Targets menu, select Databases.
  2. For View, select Search List. From the View menu, select Expand All.
  3. Look for the source CDB (the CDB that the source PDB is a part of) in the list, then click the name of the PDB that you want to clone.
  4. From the Oracle Database menu, select Cloning, then select Create Full Clone.

    Alternatively, in Step 3, you can right click the name of the PDB that you want to clone, select Oracle Database, select Cloning, then select Create Full Clone.

  5. On the Source and Destination: Create Full Clone Pluggable Database page, do the following:
    • Specify the SYSDBA credentials for the source CDB. You can choose to use the preferred credentials, use a saved set of named credentials, or specify a new set of credentials.

    • In the Pluggable Database Destination section, specify a name, and a display name for the PDB clone. Enterprise Manager uses the display name to identify the PDB clone target.

    • Select the Refreshable clone check box to create a manually Refreshable PDB.

      Note:

      • Refreshable clone feature is only applicable to Oracle Database version 12.2 and above.

      • To create a Refreshable clone you have to select a different Container Database (CDB). You will not be able to create one in the same CDB.

      • The Refreshable PDB clone is created in read-only mode and can only be either in read-only or mounted state. The clone cannot be opened in read-write mode. Therefore, data masking and post SQL scripts cannot be run on the clone.

    • In the PDB Administrator Credentials section, specify the credentials of the admin user account that you want to use to administer the PDB clone.

    • To clone the PDB to a CDB different from the source CDB, select Clone the Pluggable Database into a different Container Database, then specify the destination CDB.

    • In the Credentials section, specify the destination CDB host credentials. If you chose to clone the PDB to a CDB different from the source CDB, specify the SYSDBA credentials for the destination CDB. Also, if the destination CDB is using Automatic Storage Management (ASM) to manage disk storage, you must specify the ASM credentials.

    Note:

    For Database versions 12.2 and above, if both the source and destination Container Databases are in Archive Log mode and have Local Undo configured, then a Hot clone is performed. Hot clone is the ability to clone a Pluggable Database while the source is open in read-write mode.
  6. You can specify other configuration details, mask data, as well as schedule the cloning process, by selecting the Advanced option. Follow the rest of the steps, if you have selected the Advanced option. If you do not need to specify anymore details, click Clone. This submits the deployment procedure to clone a PDB to a CDB that is deployed in a public cloud setup.
  7. On the Create Full Clone Pluggable Database: Source and Destination page, verify the details specified, and then click Next.
  8. On the Create Full Clone Pluggable Database: Configuration page, do the following:
    • In the Database Files Location section, specify the storage location where the datafiles of the PDB clone must be stored. If the destination CDB is using ASM to manage disk storage, specify the disk group where the datafiles of the PDB clone must be stored.

    • To ensure that only the source PDB data model definition is cloned (and the source PDB data is not cloned), select Exclude User Data.

    • In the Advanced Configuration section, specify the storage limits for the maximum size of the PDB clone, and the maximum size of a shared tablespace within the PDB clone. By default, no limits are placed on the values for these attributes.

    • In the Miscellaneous section, select the logging option that you want to use for the tablespaces created within the PDB clone.

    Click Next.

  9. On the Create Full Clone Pluggable Database: Post Processing page, do the following:
    • In the Data Masking section, specify the data masking definition that you want to apply after cloning the PDB. Data masking masks sensitive data in a database.

      For information on how to create a data masking definition, see Oracle Data Masking and Subsetting Guide. Note that you can apply a data masking definition only if you have the Subset-Masking license pack.

    • In the Custom Scripts section, for Pre Script and Post Script, specify the Oracle Software Library components that contain the scripts that you want to run before cloning, and after cloning the PDB respectively. Also, for SQL Script, specify the SQL scripts that you want to run after cloning the PDB. For Run As User, select the user account that you want to use to run the SQL scripts.

      Click Next.

  10. On the Create Full Clone Pluggable Database: Schedule page, specify an instance name for the cloning deployment procedure. Also, specify the point in time when you want the cloning procedure to begin.

    In the Notification section, select the deployment procedure states for which you want to receive e-mail notifications. For example, if you select Scheduled and Succeeded for Status for Notification, you will receive e-mail notifications when the cloning deployment procedure is scheduled, and when it succeeds.

    Click Next.

  11. On the Create Full Clone Pluggable Database: Review page, review all the details you provided. If you want to edit certain details, click Back to navigate to the required page.

    Click Clone to submit the deployment procedure to create a full clone of the source PDB.

15.2.2 Creating a Full Clone Pluggable Database Using EM CLI

To create a full clone of a pluggable database, execute the verb emcli pdb_clone_management -input_file=data:/xyz/sdf/pdb_clone.props, where pdb_clone.props is the properties file.

Sample properties file (pdb_clone.props):

SRC_PDB_TARGET=cdb_prod_PDB
SRC_HOST_CREDS=NC_HOST_SCY:SYCO
SRC_CDB_CREDS=NC_HOST_SYC:SYCO
SRC_WORK_DIR=/tmp/source
DEST_HOST_CREDS=NC_SLCO_SSH:SYS
DEST_LOCATION=/scratch/sray/app/sray/cdb_tm/HR_TM_PDB6
DEST_CDB_TARGET=cdb_tm
DEST_CDB_TYPE=oracle_database
DEST_CDB_CREDS=NC_HOST_SYC:SYCO
DEST_PDB_NAME=HR_TM_PDB6

Note:

  • If you are creating a full clone PDB on Oracle cloud, wherein both the destination PDB and the source PDB are in different CDBs, while both the CDBs are on Oracle Cloud, then ensure that the source PDB is in read-write mode. This is necessary since a database link is created in the destination CDB for cloning the PDB, and a temporary user is created in the source PDB for using the database link. If there is an existing database link in the destination CDB that connects to the source PDB, then use the parameter EXISTING_DB_LINK_NAME to provide the database link name in the properties file.

  • If the PDB full clone (on-premise) needs to be performed using a backup, then the following parameters should be added in the properties file.

    BACKUP_TYPE=RMAN
    DEST_STAGE_DIR=/tmp/bkp_common
    

    If the temporary backup location is shared across source and destination, then add the SKIP_DATA_TRANSFER parameter and set it to 'Y'. For example, SKIP_DATA_TRANSFER=Y. This indicates that the data transfer step should be skipped in the clone procedure.

15.3 Cloning Databases Using the Classic Cloning Wizard

You can clone databases using the older cloning wizard. This section consists of the following:

15.3.1 Overview of Classic Cloning Methods

You can use the Enterprise Manager Clone Database wizard to clone an Oracle database instance to an existing Oracle home. After you have an Oracle database instance in a known state (for example, you've configured it, tuned it, and tested it), you may want to clone that database to another existing Oracle home.

The following table lists the cloning methods and their cloning process:

Table 15-1 Oracle Database Cloning Methods

Cloning Method Cloning Process

Cloning an Oracle Database Using Recovery Manager (RMAN) Backup

  • Connects source and destination Oracle instances

  • Copies database files using RMAN duplicate feature

  • Recovers and opens the cloned database

Cloning an Oracle Database Using Staging Areas

  • Backs up each database file and stores it in a staging area

  • Transfers each backup file from source to destination

  • Restores each backup file to the specified locations

  • Recovers and opens the cloned database

Cloning an Oracle Database Using an Existing Backup

  • Creates cloned database as of specified point-in-time or SCN

  • Validates backups prior to the clone operation

  • Transfers required archived redo log files to destination host

  • Recovers and opens the cloned database

15.3.2 Cloning an Oracle Database Using Recovery Manager (RMAN) Backup

To clone an Oracle database using RMAN backup, follow these steps:

  1. From the Targets menu, select Databases.
  2. On the Databases page, select a database that you want to clone.
  3. On the Database target page, from the Oracle Database menu, select Provisioning, and then click Clone and Refresh Database.
  4. On the Clone and Refresh page, click the Switch to Classic Clone link.
  5. On the Database Login page, enter your credentials. Click Login.

    The Clone Database wizard opens.

  6. On the Clone Database page: Source Type page, select Online Backup and Use Recovery Manager (RMAN) to copy database files.

    Click Continue.

    Note:

    When you use RMAN backup to clone a database, the source database will be duplicated directly to the specified destination Oracle Home. No staging areas are required.

  7. On the Clone Database: Source Options page, in the Degree of Parallels box, enter the number of parallel channels to be used by RMAN to copy the database files. The default number is 2.

    Note:

    Degree of parallelism is the number of parallel channels used by Recovery Manager (RMAN) to copy the database files. It is calculated as the CPU count of the host. Increased parallelism may speed the process if sufficient system resources are available.

  8. In the Source Host Credentials section, enter the credentials of the user who owns the source database Oracle server installation. You can either select Named credential or New credential.

    If you select New credential, enter the Username and Password. You can select the Set as Preferred Credentials checkbox, if you want to use these set of credentials again. Click Test to check if your credentials are valid.

    Click Next.

  9. On the Clone Database: Select Destinations page, in the Destination Oracle Home section, click Search .

    Note:

    The Oracle Home should exist on the specified host and should match the version of the source database.

    On the Destination Oracle Home page that appears, search and select the destination Oracle Home. Click Next.

  10. In the Destination Host Credentials section, enter the credentials of the user who owns the Oracle Home specified in the Destination Oracle Home section.
  11. In the Destination Database section, do the following: specify the global database name, the instance name, and for select file system as the database storage. Click Next.
    • Specify the global database name.

      For example: clone1.example.com

    • Specify a unique instance name.

      For example: clone1

    • Select File System as the database storage.

    • Click Next.

  12. On the Clone Database: Destination Options page, select Use Database Area and Fast Recovery Area.

    Click Next.

  13. On the Clone Database: Database Configuration page, in the Listener Configuration section, specify the name and port of the listener that will be used for the cloned database. If a new name and port are specified that are not in use by an exiting listener, a new listener using the specified port will be created.

    In the Database Registration section, select Register the cloned database as an Enterprise Manager target monitored by using DBSNMP. Enter the target database name.

    Click Next.

  14. On the Clone Database: Schedule page, specify a name description for the clone job. You can choose to run the clone job immediately or you can specify a later time and date for the job to run.

    Click Next.

  15. On the Clone Database: Review page, review the details and configuration of the source database, the destination database, and the database storage. You can view the database storage files by clicking on View Source Database Files.

    Click Submit Job. T

    he clone database job is now submitted. When the job completes, a Clone Database: Confirmation page appears. To view the status of the job, click View Status. To exit the page click OK.

15.3.3 Cloning an Oracle Database Using Staging Areas

To clone an Oracle database by copying database files via staging areas, follow these steps:

  1. From the Targets menu, select Databases.
  2. On the Databases page, select a database that you want to clone.
  3. On the Database target page, from the Oracle Database menu, select Provisioning, and then click Clone Database.
  4. On the Clone and Refresh page, click the Switch to Classic Clone link.
  5. On the Database Login page, enter your credentials. Click Login.

    The Clone Database wizard opens.

  6. On the Clone Database page: Source Type page, select Online Backup and Copy database files via staging areas.

    Click Continue.

    Note:

    This method requires staging areas on both the source and the destination hosts.

  7. On the Clone Database: Source Options page, in the Staging Area section, enter the Staging Area Location.

    Note:

    A staging area on the source host is required in order to clone a running database. A backup is performed on the database and the backup files are stored in the staging area.

  8. Select if you want to delete or retain the staging area after the cloning operation.

    By retaining the staging area after a cloning operation, you avoid doing another backup later. However, this option requires a minimum disk space of 2230 MB.

  9. In the Source Host Credentials section, enter the credentials of the user who owns the source database Oracle server installation. You can either select Named credential or New credential.

    If you select New credential, enter the Username and Password. You can select the Set as Preferred Credentials checkbox, if you want to use these set of credentials again. Click Test to check if your credentials are valid.

    Click Next.

  10. On the Clone Database: Select Destinations page, in the Destination Oracle Home section, click the Search icon.

    Note:

    The Oracle Home should exist on the specified host and should match the version of the source database.

    On the Destination Oracle Home page that appears, search and select the destination Oracle Home. Click Next.

  11. In the Destination Host Credentials section, enter the credentials of the user who owns the Oracle Home specified in the Destination Oracle Home section.
  12. In the Destination Database section, do the following: specify the global database name, the instance name, and for select file system as the database storage. Click Next.
    • Specify the global database name.

      For example: clone1.example.com

    • Specify a unique instance name.

      For example: clone1

    • Select File System as the database storage.

    • Click Next.

  13. On the Clone Database: Destination Options page, select Use Database Area and Fast Recovery Area.

    Click Next.

  14. On the Clone Database: Database Configuration page, in the Listener Configuration section, specify the name and port of the listener that will be used for the cloned database. If a new name and port are specified that are not in use by an exiting listener, a new listener using the specified port will be created.

    In the Database Registration section, select Register the cloned database as an Enterprise Manager target monitored by using DBSNMP. Enter the target database name.

    Click Next.

  15. On the Clone Database: Schedule page, specify a name description for the clone job. You can choose to run the clone job immediately or you can specify a later time and date for the job to run.

    Click Next.

  16. On the Clone Database: Review page, review the details and configuration of the source database, the destination database, and the database storage. You can view the database storage files by clicking on View Source Database Files.

    Click Submit Job. T

    he clone database job is now submitted. When the job completes, a Clone Database: Confirmation page appears. To view the status of the job, click View Status. To exit the page click OK.

15.3.4 Cloning an Oracle Database Using an Existing Backup

To clone an Oracle database using an existing backup, follow these steps:

  1. From the Targets menu, select Databases.
  2. On the Databases page, select a database that you want to clone.
  3. On the Database target page, from the Oracle Database menu, select Provisioning, and then click Clone Database.
  4. On the Clone and Refresh page, click the Switch to Classic Clone link.
  5. On the Database Login page, enter your credentials. Click Login.

    The Clone Database wizard opens.

  6. On the Clone Database page: Source Type page, select Existing BackUp.

    Click Continue.

  7. On the Clone Database: Source Host Credentials page, select the backup that you want to use.
  8. In the Source Host Credentials section, enter the credentials of the user who owns the source database Oracle server installation. You can either select Preferred, Named or New credential.

    If you select New credential, enter the Username and Password. You can select the Set as Preferred Credentials checkbox, if you want to use these set of credentials again. Click Test to check if your credentials are valid.

    Click Next.

  9. On the Clone Database: Backup Details page, in the Point In Time section, specify a time or System Change Number (SCN). This will help identify backups necessary to create the clone database.

    Note:

    If the existing backup does not have all necessary archive logs, Enterprise Manager will transfer them from the source host to the destination host as part of the clone operation.

  10. Oracle database backups are can be encrypted using a database wallet, password, or both. If the backups are encrypted, specify the encryption mode and password as needed, in the Encryption section. By default, the encryption mode is set as None.

    Click Next.

  11. In the Destination Host Credentials section, enter the credentials of the user who owns the Oracle Home specified in the Destination Oracle Home section.
  12. In the Destination Database section, do the following: specify the global database name, the instance name, and for select file system as the database storage. Click Next.
    • Specify the global database name.

      For example: clone1.example.com

    • Specify a unique instance name.

      For example: clone1

    • Select File System as the database storage.

  13. In the Parallelism section, in the Degree of Parallels box, enter the number of parallel channels to be used by RMAN to copy the database files. The default number is 2.

    Note:

    Degree of parallelism is the number of parallel channels used by Recovery Manager (RMAN) to copy the database files. It is calculated as the CPU count of the host. Increased parallelism may speed the process if sufficient system resources are available.

    Click Next.

  14. On the Clone Database: Destination Database Settings page, in the Memory Parameters section, select Configure Memory Management and then from the drop-down list select Automatic Shared Memory Management.

    The database automatically sets the optimal distribution of memory across the System Global Area (SGA) components. The distribution of memory will change from time to time to accommodate changes in the workload. Also, specify the aggregate Program Global Area (PGA) size.

  15. In the Listener Configuration section, specify the name and port of the listener to be configured for the database. If the listener specified does not exist at the destination Oracle Home, it will be created.

    Note:

    If you are going to convert the cloned database RAC at a later point, it is recommended that you specify storage location shared across all hosts in the cluster.

  16. In the Recovery Files section, specify the location where recovery-related files such as, archived redo log files, RMAN backups, and the like are to be created.

    Click Next.

  17. On the Clone Database: Storage Locations page, in Database Files Location section, specify the location where datafiles, tempfiles, redo log files, and control files are to be created.

    In the Database Registration section, select Register the cloned database as an Enterprise Manager target monitored by using DBSNMP. Enter the target database name.

    Click Next.

  18. On the Clone Database: Schedule page, specify a name description for the clone job. You can choose to run the clone job immediately or you can specify a later time and date for the job to run.

    Click Next.

  19. On the Clone Database: Review page, review the details and configuration of the source database, the destination database, and the database storage. You can view the database storage files by clicking on View Source Database Files.

    Click Submit Job. T

    The clone database job is now submitted. When the job completes, a Clone Database: Confirmation page appears. To view the status of the job, click View Status. To exit the page click OK.