You are on page 1of 2

DR STEPS

Once the backup has been restored successfully, follow below steps for starting
SAP:

1. Check Users Permission:


Check prdadm and oraprd user’s permission with command as ID on UNIX,
it should be similar to below permission
prdadm:
uid=215(prdadm) gid=201(sapsys) groups=200(dba),102(oper)
oraprd:
uid=216(oraprd) gid=200(dba) groups=201(sapsys),102(oper)

2. Check File Ownership:


Use below command on UNIX to get the list of files page-wise which should
have owners as oraprd/dba apart from lost+found file.
ls -ltr /oracle/PRD/sapdata* | more

As we will perform a complete recovery we need to apply all the latest


archive logs. So before recovery start we need to restore all the archive logs
which were generated before crash.

3. Start database and check settings:


Use below command on UNIX with oraprd login
sqlplus / as sysdba
SQL> startup mount;

SQL> set autorecovery on

SQL> recover database;

SQL> alter database open;


Statement processed.

SQL> select * from global_name;


GLOBAL_NAME
-----------------------------------------------------------------------
PRD.WORLD

If not PRD.WORLD

SQL> alter database rename global_name to PRD.WORLD;


Statement processed.

SQL> shutdown immediate


4. Create a Link between oraprd and prdadm
Login with oraprd on UNIX type

asap98:oraprd 1> cd $ORACLE_HOME/bin

then type

relink all

5. Startup of System:
Login with prdadm on UNIX and hit command to start SAP system:
startsap

You might also like