Sie sind auf Seite 1von 3

- In the case of Exadata Eighth(protected database -- dbm02): Run te following

steps on each DB nodes

0. Ensure nothing the local variable $DB_UNIQUE_NAME of user site

env | grep DB_UNIQUE_NAME

1. Ensure the variable $DB_UNIQUE_NAME is set with srvctl

srvctl getenv database -db dbm02

Example output)
dbm02:
DB_UNIQUE_NAME=dbm02

- If not set the variable $DB_UNIQUE_NAME, need to set by the following command

�@�@ srvctl setenv database -d dbm02 -t DB_UNIQUE_NAME=dbm02

2. Ensure the $ORACLE_HOME/network/admin/sqlnet.ora file

The following parameters doesn't contain in the sqlnet.ora.

SQLNET.WALLET_OVERRIDE
WALLET_LOCATION

- Ensure to sqlnet.ora

cat $ORACLE_HOME/network/admin/sqlnet.ora

3. Run Recovery Settings and ensure to contain the following parameters in the
Update SQLNET.ORA File step on EM cloud control

- Apply to Backup Settings: Recovery Appliance Settings

SQLNET.WALLET_OVERRIDE
WALLET_LOCATION

- cat $ORACLE_HOME/network/admin/sqlnet.ora

Example output)
SQLNET.WALLET_OVERRIDE = true

WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /u01/app/oracle/product/12.2.0.1/dbhome_1/dbs/zdlra)
)
)

4. Run Backup on EM Cloud Control and ensure to finish successfully Backup


- Submit to Oracle-Suggested Recovery Appliance Backup
- Ensure to backup completed successfully

5. Update manually the sqlnet.ora file to contain the location of the individual
wallets for each instance using a variable.

- Keep to SQLNET.WALLET_OVERRIDE = true


- Change WALLET_LOCATION

�@�@ Before�FDIRECTORY = /u01/app/oracle/product/12.2.0.1/dbhome_1/dbs/zdlra

�@�@ After: DIRECTORY = /u01/app/oracle/admin/${DB_UNIQUE_NAME}/wallet

- Ensure to the changed sqlnet.ora

cat $ORACLE_HOME/network/admin/sqlnet.ora

Example output)
SQLNET.WALLET_OVERRIDE = true

WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /u01/app/oracle/admin/${DB_UNIQUE_NAME}/wallet)
)
)

6. Add the VPC user manually to each instance wallet of protected database

�@ - add VPC user to existing wallet with password

mkstore -wrl /u01/app/oracle/admin/dbm02/wallet -createCredential


'yakushiings1:1521/zdlras:dedicated' 'ravpc1' Welcome1!

�@ Enter wallet password:

�@ - Ensure to /u01/app/oracle/admin/dbm02/wallet

mkstore -wrl /u01/app/oracle/admin/dbm02/wallet -listCredential

�@ Enter wallet password:

example output)
�@ Enter wallet password:
�@ List credential (index: connect_string username)
�@ 2: yakushiings1:1521/zdlras:dedicated ravpc1
�@ 1: dbm02 C##ACSZDLRA

�@ - Ensure to be connected using existing wallet of protected database

Example)
sqlplus /@dbm02

sqlplus /@yakushiings1:1521/zdlras:dedicated�@�@

�@ - Ensure to connect RMAN


�@ $ORACLE_HOME/bin/rman target / catalog /@yakushiings1:1521/zdlras:dedicated

Note: Our customer is using the following wallet directry with password
mkstore -wrl /u01/app/oracle/admin/dbm02/wallet -create

7. Ensure to run Backup on EM Cloud Control and ensure to finish successfully


Backup by using existing Recovery Appliance Settings(1.) on EM cloud control

- Submit to Oracle-Suggested Recovery Appliance Backup


- Check to be used zdlra wallet in Review of Schedule Backup

Example output)
RMAN Script:
backup incremental level 1 cumulative device type sbt filesperset = 1 tag '%TAG'
section size 64 G database plus archivelog not backed up filesperset = 32;
run {
allocate channel oem_backup_sbt1 type 'SBT_TAPE' format '%d_%U' parms
"SBT_LIBRARY=/u01/app/oracle/product/12.2.0.1/dbhome_1/lib/libra.so,
SBT_PARMS=(RA_WALLET='location=file:/u01/app/oracle/product/12.2.0.1/dbhome_1/dbs/z
dlra credential_alias=yakushiings1:1521/zdlras:dedicated')" maxpiecesize 1000 G;
backup filesperset = 1 tag '%TAG' current controlfile;
release channel oem_backup_sbt1;
}

- Ensure to backup completed successfully

8. Finaly, ensure to run Backup on Command Line Interface(CLI) and ensure to finish
successfully Backup

- Connect to RMAN, then run backup

�@ $ORACLE_HOME/bin/rman target / catalog /@yakushiings1:1521/zdlras:dedicated

Example)
RMAN> RUN
2> {
3> ALLOCATE CHANNEL oem_backup_sbt1 DEVICE TYPE 'SBT_TAPE' FORMAT '%d_%U'

PARMS='SBT_LIBRARY=/u01/app/oracle/product/12.2.0.1/dbhome_1/lib/libra.so,ENV=(RA_W
ALLET=location=file:/u01/app/oracle/admin/${DB_UNIQUE_NAME}/wallet
credential_alias=yakushiings1:1521/zdlras:dedicated)';
BACKUP INCREMENTAL LEVEL 1 DATABASE PLUS ARCHIVELOG;
4> }

- Ensure to backup completed successfully

�@ RUN> list backup;

Das könnte Ihnen auch gefallen