Professional Documents
Culture Documents
) Re-create and replace the password file, in order to log in to an Oracle Dat
abase Vault instance as a SYS user with SYSDBA privilege:
$ orapwd file=$ORACLE_HOME/dbs/orapwsid password=sys force=y nosysdba=n
Note:
The SYS connection as SYSDBA is disabled in a default Oracle Database Vault i
nstallation.
Without enabling SYSDBA, you cannot unlock DVSYS in Step 5 that follows.
362203.1 Interoperatibility notes
Applay latest patches
* 6880880 or the latest OPatch version.
* 6521934
* 6600051
* 7441176
* 7496636
* 7497678
2) Shut down the database:
For Single Instance:
SQL> CONNECT SYS AS SYSOPER
Enter password: SYS_password
SQL> SHUTDOWN
Note:
If you do not run the Oracle Database Upgrade Assistant as described in this sec
tion, then the following errors are displayed:
ORA-01092: ORACLE instance terminated.
ORA-39700: database must be opened with UPGRADE option
Log in as the Oracle software owner user.
Set the values for the environment variables $ORACLE_HOME, $ORACLE_SID and $PATH
.
For single-instance installations, if you are using Automatic Storage Management
, start the Automatic Storage Management instance.
For Oracle single-instance installations, start the listener as follows:
$ lsnrctl start
Run Oracle Database Upgrade Assistant either in the interactive or noninteractiv
e mode:
Interactive mode:
Enter the following command from the command prompt:
$ dbua
Complete the following steps displayed in the Oracle Database Upgrade Assistant
screen:
On the Welcome screen, click Next.
On the Databases screen, select the name of the Oracle Database that you want to
update, then click Next.
On the Recompile Invalid Objects screen, select the Recompile the invalid object
s at the end of upgrade option, then click Next.
If you have not taken the back up of the database earlier, on the Backup screen,
select the I would like to take this tool to backup the database option, stipul
ate the Path, then click Next.
On the Summary screen, check the summary, then click Finish.
On the End of Database Upgrade Assistant's Upgrade Results screen, click Close t
o exit from Oracle Database Upgrade Assistant.
Note:
You are prompted to enter the SYS, Database Vault Owner, and Database Vault Acco
unt Manager passwords.
See Also:
Oracle Database Vault Installation Guide, 10g Release 2 (10.2) for Linux x86, Ap
pendix C "Running DVCA After Creating a Database Vault Database" for more option
s available with the dvca -action option command
Run Oracle Database Vault Configuration Assistant (DVCA) by using the dvca -acti
on enable option. This enables the Database Vault triggers. Use the following sy
ntax:
dvca -action enable
-service service_name
-owner_account DV_owner_account_name
[-logfile ./dvca.log]
[-nodecrypt]
Enter SYS password: sys_password
Enter owner password: owner_password
See Step 6 for details of the options used in the command.
Lock the DVSYS account. Use the following SQL statements:
SQL> CONNECT SYS "AS SYSDBA"
Enter password:
SQL> ALTER USER DVSYS ACCOUNT LOCK;
Shut down the database.
To stop a single-instance database, use the following commands:
sqlplus SYS "AS SYSDBA"
Enter password:
SQL> shutdown immediate
For an Oracle Real Application Clusters (RAC) database, use the following comman
d:
$ORACLE_HOME/bin/srvctl stop database -d db_name
Relink the Oracle executable to turn on the Oracle Database Vault option. Use th
e following commands:
cd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk dv_on
cd $ORACLE_HOME/bin
relink oracle
Note:
For an Oracle Real Application Clusters (RAC) database, you must repeat the prec
eding commands on all nodes.