QAS Refresh
QAS Refresh
QAS Refresh
3. Double click to check the details of backup log FNP backup log.TXT
4. Tape name FNPD7 to be mounted to QAS tape drive
Beaejijn.aft
c. Cross check if QAS has the similar filesystem setup as FNP and available
storage
d. stopsap
e. Remove all sapdata folders and datafiles. Keep control files
clear_qas.ksh
f. Issue command “brrestore –b beaejijn.aft “ in /oracle/QAS/sapbackup folder
2. Prepare the script. Run below command in your FNP database sqlplus
a. Alter database backup controlfile to trace;
b. Locate the trace file at
/oracle/<SID>/saptrace/usertrace/<SID>_ora_<PID>.trc
fnp_ora_25894.trc
qas_cntrl_090326.sql
Note : 3 datafiles added into FNP, therefore the script has to be changed
accordingly.
Sqlplus /nolog
Connect /as sysdba
Startup nomount
This error was cause by previous log was not reset. This command was included in the
control file script.
Database altered.
SQL> alter database open;
Database altered.
You should be able to start SAP now after manually set the environment.
/.dbenv_<HOST>.csh
/.dbenv_<HOST>.sh
Click on Adjust
with controller.
Remark: If the return code not equal to ZERO, it means some problems with OPS$
setting or DBA access were not grant properly; proceed the following:
Remark: You can achieve the same result by deleting the table contents.
Rz10 -> utilities -> import profiles -> active servers
Some of the data are safe to be removing as it's belonging to FNP instance. Follow below
list. Repeat below step for all tables Table Contents Action
BTCEVTJOB - List of jobs waiting for events Delete scheduled user jobs (SM37)
DBSNP - Database snapshots Delete all entries (SE14)
DDLOG - Buffer synchronization Delete all entries (no SAP transaction);use
TRUNCATE/DELETE
MONI - Monitor table MONI Delete all entries (SE14)
OSMON - Operating system monitoring data Delete all entries (SE14)
PAHI - History of system, DB, and SAP parameter Delete all entries (SE14)
RZLLITAB - Assignments of logon/server groups to instances Delete all entries (SMLG)
SDBAD - Detail table for DBA logs Delete all entries (SE14)
SDBAH - Header table for DBA logs Delete all entries (SE14)
SDBAP - DBA planning table Delete all entries (SE14)
SDBAR - DBA resource table Delete all entries (SE14)
TLOCK - Change and Transport System: lock table Configure Workbench Organizer
(SE06)
TPFET - Table of profile parameters Delete all entries (RZ10)
TPFHT - Profile header, administration data for profiles in DB Delete all entries (RZ10)
TSPLOMS - Logical Output Management Systems for access Change OMS
configuration for Dazel
method “E” (SPAD)
TSPROMS - Real Output Management Systems for access Change OMS configuration
for Dazel
method “E” (SPAD)
Deleting tables below will wipe off all output devices input.
TSP03C - Spool: device description extension Update print server (SPAD)
TSP03D - Spool: device description (new format) Update print server (SPAD)
Remove data via transaction code SE14
Download the oradbusr.sql file from note 50088. Run command below as oraqas.
SM36 or SM37 with entry <SAP_DEFAULT_BTC> found under Exec. Target (server)
When you plan to schedule
a job via SM36 it you see
SAP_DEFAULT_BTC
To remove the entries previously configure in FNP system. Go to transaction code SM61
Click on the modify
button and proceed to
delete any unnecessary
entries.
Click the server
group
Delete this
entry.
Error encounter after DB refresh.
Login to OS as oraqas
sqlplus /nolog @sapdba_role FNP
Refer to OSS notes "600513 - ORA-25153 after recovery due to missing tempfiles"
PSAPTEMP datafile not attach. From DB02 when double click on PSAPTEMP it show
no file found.
Login to oraqas
Sqlplus /nolog
SQL>Connect /as sysdba
SQL>alter tablespace PSAPTEMP add tempfile
'/oracle/QAS/sapdata3/temp_1/temp.data1' reuse;
2. STMS import process hang.
After you had delete the server group from SM61 and the problem still exist. Proceed
with below step.
Perform this step even after you attempt to re-create new RDDIMPDP jobs.
a. Kill all running TP processes on OS level
b. Go to stms --> import overview --> goto --> import monitor , and execute monitor -->
'Delete old entries'
c. Delete if there are any entries found in below table. Check for any entries via tcode
SE16. For deletion please use tcode SE14. <refer page:14>
• TPSTAT
• TRJOB
• TRBAT
d. If there are no more entries found in import monitor or table TPSTAT, delete tables
TMSTLOCKR and TMSTLOCKP.