21: Oracle Initial Setup

To set up the infrastructure in the Data Virtualization Module, do the following procedure:

  1. 21: Oracle Initial Setup | Self service deployment for Oracle RMAN

  2. 21: Oracle Initial Setup | To add a source host:

  3. 21: Oracle Initial Setup | To create a test data environment:

  4. 21: Oracle Initial Setup | To add a target host:

  5. 21: Oracle Initial Setup | To add a DB Home:

  6. 21: Oracle Initial Setup | To create and start a VDB.

Self-service deployment for Oracle RMAN

You can use a self-service deploy wizard to define your first Oracle RMAN golden image of a production database and to create your first VDB. The following operations can be done with the self-service deploy wizard:

  • Configure source host

  • Configure target host

  • Configure source database

  • Configure target database

  • Provision your first VDB

With the self-service deploy wizard, you can configure the source and target Accelario agents, validate the host name and agent port, and automatically discover the source and target databases. The wizard will also deploy the Oracle RMAN Golden Image, load it with an initial set of data, provision the first VDB, and permit you to start to work immediately. This can be done without assistance from a third-party vendor or technical support team. Additionally, you can set up additional test data environments.

To deploy an Oracle RMAN with the Self-service Deploy wizard:

  1. Click the Self-service Deploy app on the taskbar

The wizard automatically starts after the Self-service Deploy app is opened.

2. Do all the steps in the procedure.

3. Enter all the required parameters.

4. Click Next to go to the VDB Management window.

You can cancel the wizard and return to it at another time.

You can set up additional test data environments.

To add a source host:

  1. On the navigation bar, click Source.

The Source Management window appears.

2. Click Add Source Host.

3. Enter the source host details.

4. Enter the Advanced Parameters if necessary.

5. Click Add.

The Source Management window displays the source host(s) that have been added to the system.

To create a test data environment:

  1. On the navigation bar, click Source.

The Source Management window appears.

2. Click Create Test Data Environment.

3. Select DB type.

4. Enter a Name.

5. Click Next.

To create a test data environment from a LIVE GI:

  1. Enter the test data environment details.
    Make sure to enable “Force creation”

 

2. Click Next.

3. Enter the Source DB Parameters. Although the database is not yet existing, the details will be used in the future.

4. Click Create.

The Source Management window displays the test data environment for the source host that has been created.

5. Continue to 21: Oracle Source Management | Live GI

To create a test data environment from a RMAN GI:

  1. Enter the test data environment details.

 

2. Click Next.

3. Enter the Source DB Parameters.

4. Click Test Connection to verify that the connection to the database is valid.

5. Click Done.

 

Ignore some errors when building GI

When GI is built, Accelario Virtualization checks automatically all the logs and searches for errors. The errors have a known template: ORA-99999, RMAN-99999, etc... If any error is found the GI process is accounted to be failed. However, it is possible to configure some errors to be ignored. In order to do it:

  1. Goto GI agent directory on the source server

  2. Edit file gi-agent-excluded-error-codes.properties

  3. Add error code - one per line.

  4. Restart the GI agent

To create a test data environment from a RMAN STANDBY GI:

  1. Enter the test data environment details.

 

2. Click Next.

3. Enter the Source DB Parameters.

4. Click Test Connection to verify that the connection to the database is valid.

5. Click Done.

To create a test data environment from a AWS RDS Oracle GI:

  1. Enter the test data environment details.

  1. Click Next.

  2. Enter the Source DB Parameters.

  3. Enter AWS parameters

  1. Click Next.

  2. Provide AWS RDS Oracle connectivity parameters, on that step, you can perform a test connection to the AWS.

 

The oracle user in the RDS Oracle database must have the following permissions:

GRANT dba TO acc_rman_user; GRANT EXECUTE ON RDSADMIN.RDSADMIN_UTIL TO acc_rman_user; GRANT EXECUTE ON RDSADMIN.RDSADMIN_RMAN_UTIL TO acc_rman_user; GRANT EXECUTE ON RDSADMIN.RDSADMIN_MASTER_UTIL TO acc_rman_user; GRANT EXECUTE ON RDSADMIN.RDSADMIN_S3_TASKS TO acc_rman_user; GRANT EXECUTE ON rdsadmin.rds_file_util TO acc_rman_user; GRANT READ, WRITE ON DIRECTORY DATA_PUMP_DIR TO acc_rman_user;
  1. Click Next

  2. Enter the Source DB Parameters.

 

To add a target host:

  1. On the navigation bar, click Target.
    The Target Management window appears.

2. Click Add Target Host.

3. Enter the target host details.

4. Enter the Advanced Parameters if necessary.

5. Click Add.

The Target Management displays the target host(s) that have been added to the system.

To add a DB Home:

  1. Click Add DB Home.

2. Select a DB type.

3. Enter the DB Home details.

4. Click Add.

The Target Management displays the DB Home(s) that have been added to the system.

To create and start a VDB.

To create a VDB:

  1. On the navigation bar, click VDB.

The VDB Management window appears.

To select a GI:

  1. In the VDB Management window, select a Test Data Environment.

2. Select the GI.

Adding a snapshot:

  1. Select the source.

  2. Click Add Snapshot.

3. Enter a Name.

4. Click Add.

The Snapshots work area displays the new snapshot with all the snapshots that have been created.

To create a VDB from a snapshot:

  1. Select a snapshot.

  2. Click Create VDB.

3. Enter the VDB parameters.

4. Enter the Advanced Parameters, if necessary.

5. Click Create. Otherwise, click Cancel to exit without creating a VDB.

The VDB Management window displays the VDB that has been created.

The following icons display information about a VDB:

Icon

Description

VDB Locked

VDB Stopped

VDB Started

VDB Creation Failed