ExaCC: How to Register a Database in OCI

Registering a Replacement Database

  • Create a database by using Oracle Database ExaCC console with the same database name, software version and character set.
  • Shutdown the newly created database.
  • Remove the database files and replace them with the replacement database. The replacement database files must be moved into the same location as the database you are replaced. You can manually copy the replacement database files into place from a cold backup, or you can restore from a backup using Oracle Recovery Manager (RMAN).
  • Start the replacement database.
  • Perform the registration prerequisite check and resolve any issues from the following command:

    # dbaascli registerdb prereqs –dbname dbname [ –db_unique_name dbuniquename ]

    The following are the common issues from the above prerequisite check:
    1) Required database attributes such as the database name, software version, or character set do not match the original database.
    2) The database is not in READ WRITE mode.
    3) Flashback, archive log mode and block change tracking are not enabled.
    4) Transparent Database Encryption (TDE) is not configured, or is not properly configured. For example, the TDE keystore is not the expected location, or the TDE keystore type is not AUTOLOGIN.
  • Register the database by running the following command as the root user on one of the database servers:
# dbaascli registerdb begin --dbname dbname [ --db_unique_name dbuniquename ]

Register a Manually Created or Migrated Database

  1. Manually create or migrate the database. Ensure that the database meets the following requirements:
    • The /etc/oratab file contains an entry for the database.
    • Oracle Transparent Database Encryption (TDE) is configured on the database.
    • The database is in READ WRITE mode.
    • Archive log mode and block change tracking are enabled.
  2. Generate a cloud registration file (creg.ini) by running the following command as the root user on one of the database servers:
# dbaascli registerdb registry --action initialize --db dbname [ --udb dbuniquename ]

3. Perform the registration prerequisite check and resolve any issues.

# dbaascli registerdb prereqs --dbname dbname [ --db_unique_name dbuniquename ]

4. Register the database by running the following command as the root user on one of the database servers:

# dbaascli registerdb begin --dbname dbname [ --db_unique_name dbuniquename 
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: