If you are configuring backups to utilize the Autonomous Recovery Service, there are some prerequisites that you need to be aware of. If your Oracle Database was originally created in OCI and has always been OCI, those prerequisites are already configured for your database. But, if you migrated a database to an OCI service, you might not realize that these items are required.
Prerequisites for Autonomous Recovery Service
1) WALLET_ROOT must be configured in the SPFILE.
Checking the WALLET_ROOT and tde_configuration
Below you can see that both of these parameters are configured and I am using a wallet file.
Parameter Value
-------------------- ------------------------------------------------------------
wallet_root /var/opt/oracle/dbaas_acfs/bgrenndb/wallet_root
tde_configuration keystore_configuration=FILE
dbaascli tde enableWalletRoot - enable wallet_root spfile parameter for existing database.
Usage: dbaascli tde enableWalletRoot --dbname <value> [--dbRestart <value>] [--executePrereqs] [--resume [--sessionID <value>]] Where: --dbname - Oracle database name. [--dbRestart - database restart option. Valid values : full|rolling ] [ --executePrereqs - run the prerequisite checks and report the results. ] [--resume - to resume the previous operation] [--sessionID - to resume a specific session id.]
2) Encryption keys must be configured and available
Below is the output from the query showing that the wallet is open for the CDB and the PDBs.
INST_ID PDB Name Type WRL_PARAMETER Status
---------- ---------- ---------- ------------------------------------------------------------ ---------------
1 BGRENNPDB1 FILE OPEN
CDB$ROOT FILE /var/opt/oracle/dbaas_acfs/bgrenndb/wallet_root/tde/ OPEN
PDB$SEED FILE OPEN
2 BGRENNPDB1 FILE OPEN
CDB$ROOT FILE /var/opt/oracle/dbaas_acfs/bgrenndb/wallet_root/tde/ OPEN
PDB$SEED FILE OPEN
3) All tablespaces are TDE encrypted
In my case I can see that all of the tablespaces are encrypted
Encrypted tablespace information
------------------------------------------------------------
Number of encrypted tablespaces : 12
Number of unencrypted tablespaces : 0
----
Total Number of tablespaces : 12
No comments:
Post a Comment