Configure an Oracle Wallet with RAC within NetBackup
The configuration and setup of the Oracle Wallet in NetBackup is a two-step process. You add descriptors first, then you register the wallet. In the cases of Oracle RAC, your descriptors must enumerate the list of RAC instances that comprise your RAC cluster.
NetBackup Oracle Wallet prerequisites:
The Oracle wallet location must be accessible from all nodes of the RAC cluster.
Using a shared location is encouraged for maintainability.
An example storage location can be: An Oracle ACFS file system that is mounted on each node or an NFS share accessible to each node. The mount point of the shared location must be the same on each node.
If the wallet is not in a shared location, it must be in an identically duplicate location on each node of the RAC cluster. The full contents of the wallet must also be duplicated on each node of the RAC cluster.
To configure Oracle Wallet with RAC in NetBackup
- Retrieve the RAC connect descriptors for all instances in the RAC database. Place the list of connect descriptors in a text file for easy access for step 2. Use one of the following methods:
Get RAC connect descriptors from the NetBackup web UI:
On the left, click Workloads > Oracle and then click Databases.
Click on the RAC database.
On the Instances tab, click Show Oracle Wallet connect descriptors.
Click Copy to copy a descriptor.
Manually create the RAC connect descriptors:
If you don't have this information, use the NetBackup web UI to retrieve it. You need to obtain the scan name, service name, and port number for the given RAC database. If the RAC instances for the RAC database are not known, collect the list of instance names.
For each instance of a RAC, you must insert this information to create a connect descriptor. Insert the scan name, service name, and port number (from RAC database), as well as the instance name (from RAC instance) into the following example:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP) (HOST=<INSERT SCAN NAME>)(PORT=<INSERT PORT NUMBER>)) (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=<INSERT SERVICE NAME>) (INSTANCE_NAME=<INSERT INSTANCE NAME>)))
- Add the connect descriptors with the Oracle
MKSTOREutility. The descriptors are case-sensitive and must match exactly to what is in NetBackup.mkstore -wrl /db/orac183/wallet/ -CreateCredential '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=exampleScanName.domain.com) (PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED) (SERVICE_NAME=orac183.domain.com)(INSTANCE_NAME=orac1831)))' testUser testPassword
mkstore -wrl /db/orac183/wallet/ -CreateCredential '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=exampleScanName.domain.com) (PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED) (SERVICE_NAME=orac183.domain.com)(INSTANCE_NAME=orac1832)))' testUser testPassword
- In the NetBackup web UI, register the RAC with the credential that is configured for Oracle Wallet.
See Add a credential for an Oracle database or RMAN catalog.
- (Optional) If you get an error when you attempt to register the RAC, review the error message. Compare the descriptors in the error message with what you generated in step 1 and what you inserted into your Oracle Wallet.