Oracle: Performing Specific Actions
Prerequisites
You have not yet resumed production operation of the system.
Procedure
Creating and Updating the SAPDBA Role
Release upgrade only: To increase the security of your system, do not assign the DBA role to the OPS$ database users as of SAP Basis Release 4.x. You have already performed most of the required manual changes when you migrated Oracle to the required version (see the guide Upgrade to Oracle Database <Version>: <Platform>).
The Software Update Manager imports additional objects that you need to adjust. This means that you have to execute the SQL script sapdba_role.sql again.
Proceed as follows:
-
Log on as user ora<sid> at the UNIX level.
-
Start the SQL script with:
cd $ORACLE_HOME/dbs
cp /usr/sap/<SID>/SYS/exe/run/sapdba_role.sql sapdba_role.sql
sqlplus /nolog @sapdba_role <SAPSCHEMA-ID>
Where <SAPSCHEMA-ID> is SR3 for SAPSR3.
If the following error message appears, you can ignore it:
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUBLD.SQL as SYSTEM.
Checking the Environment Variables for the BR*Tools Program
To check whether all the environment variables have been set correctly for BR*Tools at the UNIX level, see the SAP Library for your target release at:
|
Release |
Path in SAP Library |
|---|---|
SAP NetWeaver 7.5 SAP NetWeaver AS for ABAP 7.51 innovation package |
Backing Up the Database
The procedure for backing up the database depends on the mode with which you operated the database during the update.
Backup: Database Was Operated in NOARCHIVELOG Mode
Activate ARCHIVELOG mode again and create a full backup of the database. This has to be executed as an offline backup.
Proceed as follows:
-
Stop your SAP system as user <sid>adm .
-
Use BRSPACE to activate the ARCHIVELOG mode again.
For instructions on doing this, see Changing the Oracle Database Recovery Mode.
This stops and starts the database again.
-
Use the brbackup program to start the offline backup of the database.
-
When you have made the backup, you can start up your SAP system again as user <sid>adm and continue working.
For more information about offline backups and brbackup, see the SAP online documentation on database administration for Oracle.
Backup: Database Was Operated in ARCHIVELOG Mode
Since many archives were created during the update, make a full offline or online backup of the database as quickly as possible. Otherwise, restoring the database may be time-consuming.


