Вы находитесь на странице: 1из 293

4 POST RECOVERY GENERAL STEPS ( DATABASE )

4.1 Check Global Name

4.2 Create OPS$ users


sqlplus '/as sysdba';

select username from dba_users;


create user OPS$EQ5ADM default tablespace psapsr3usr identified externally;

create user OPS$ORAEQ5 default tablespace psapsr3usr identified externally;

grant connect, resource, sapdba to OPS$EQ5ADM;

grant connect, resource to OPS$ORAEQ5;

create table OPS$EQ5ADM.SAPUSER (USERID VARCHAR2 (256), PASSWD VARCHAR2 (256));

insert into OPS$EQ5ADM.SAPUSER values ('SAPSR3', 'U2pa554U');


drop user “OPS$ORASPR” cascade;

drop user “OPS$SPRADM” cascade;

commit;
select username from dba_users;

select username from dba_users where username like 'OPS%';

4.3 Check SAP and DB connectivity


As orasid, start the listener : lsnrctl start LISTENER<SID>
Optional task –

As sidadm, execute R3trans –d

4.4 Disable RFCs/SRT Cleanup after refresh

update sapsr3.rfcdes set rfcoptions=replace (rfcdes.rfcoptions, 'H=', 'H=dummy.') where rfcoptions like
'%H=%';
Step: 2 SQL command used to remove the PI production hostname & put dummy in SOAMANAGER

update sapsr3.srt_cfg_val_det set value='dummy' where value like '%bhpb.internal';


Step 3 : SQL command used to verify

select * from sapsr3.srt_cfg_val_det;


5. POST RECOVERY GENERAL STEPS ( OS )

5.1 Cleanup old data

rm /sapmnt/TSID/global/400JOBLG/*

rm /sapmnt/TSID/global/WF_LOG*

rm /usr/sap/ TSID /DVEBMGS**/work/*


rm /usr/sap/ TSID /DVEBMGS**/log/*

rm /usr/sap/ TSID /DVEBMGS**/data/*

5.2 Run SQL script sapdba_role


5.3 Truncate statistics tables
5.4 Import of the Preserved Tables from Preparation Steps
Drop the tables that will be overwritten
Execute the Import script generated during Preparation steps (1.5)
Import
Content of the import script –
5.5 Disable background work process

Old Value 10 Aug 2015

After Changing value


wp_no_btc

Deafult .pfl

After snc/enable –
6 POST RECOVERY GENERAL STEPS ( SAP )
Login with user SAP* in Client 000 and execute SLICENSE
6.1 Suspend background jobs
6.2 Install SAP License
Delete the lic-
6.3 Run installation check
Execute transaction SM28
6.4 Reconfigure the Transport Management System
000\sap*

Transaction: STMS

Delete Existing STMS Configuration

STMS DICO
000\sap*
6.5 Revert BTC WPS and restart System
6.6 Enable transport jobs with RDDIMPDP
Execute report RDDNEWPP via transaction SE38, in client 000
In 000

In Client 400-
6.7 General System Consistency Checks

Check the System log


Execute transaction SM21. There should be no errors in the logs.

Check database consistency


Execute transaction DB02 and navigate to Diagnostics  Missing tables and Indexes
Perform server check
Execute SM51 and check if the server names and system numbers are correct.
Also, No dialogue work processes should have Hold status, and enough amount of Free WP available
(No. of work process setup as per design team recommendations)
No Lock Entries
6.8 BDLS conversion
Pre Steps-

Schedule Released Jobs and inconsistencies (SM65)


Clear old cancelled and finished jobs. (report RSBTCDEL2)
Clean up old tRFC connections (SM58)
Clean up old updates (SM13)
Clean up inbound and outbound queue (SMQ1 and SMQ2)
Clean up of Qin and Qout scheduler (SMQR and SMQS)

QOUT Scheduler

Configure background server group


Start transaction SM61. Select Job-Servergruppen.

Old –
Create the index-
Psaptemp free space check –
select tablespace_name, round(sum(bytes)/1024/1024 ,2) as free_space from dba_temp_files
group by tablespace_name ;

select file_name, bytes/1024/1024 from dba_temp_files;


Index

Index Created
After index creation work with BDLS

SPRCLNT400 EQ5CLNT400
Coep –
SWW_CONTOB

COBK
Scc4 Client Config
SCC4 Client changed-
For BI

BP1CLNT100 BQCCLNT100
BP5CLNT100 BS5CLNT100
RP1CLNT100 RQ1CLNT100

RP1CLNT100 RQ1CLNT100
SP1CLNT100 SQ5CLNT100
CP1CLNT100 CQ1CLNT100
GP3CLNT400 GS3CLNT400
XP1CLNT100 XQ1CLNT100
11 Aug 2015 9: 16 PM

12 Aug 2015 9:45 AM

1 BDLS job cancelled


Variant for cancelled job-
Re-run the below job as it was cancelled 12 Aug 2015 9:59 AM
Brtools - coep

update stat
12 Aug 2015 3:25 PM IST

Cancelling running BDLS jobs-


6.9 Verify / Monitor BDLS Conversion Logs
7 POST RECOVERY GENERAL STEPS ( SAP )
7.1 Temporarily increase max_wprun_time

Old value

New Value
7.2 Cleanup Old Spool request ( report RSPO1041 )
7.3 Temse Consistency Check

7.4 Cleanup Old Locks ( SM12 )


7.5 Cleanup Old TRFC connections ( SM58 )
7.6 Cleanup BGRFC
7.7 Execute BGRFC Consistency check
Execute again and make sure Repair Box in above is UNCHECKED. You should get the output as below:
7.8 Cleanup Old updates ( SM13 )

7.9 Cleanup Inbound Queue ( SMQ1 )


7.10 Cleanup Outbound Queue ( SMQ2 )

7.11 Cleanup of Qin Scheduler ( SMQR )


Old value
7.12 Cleanup of Qout Scheduler ( SMQS )
Old
After Delete -
7.13 Cleanup obsolete entries from Secure Store
SECSTORE

Delete the below entry-

Entry deleted –
7.14 Cleanup Old System Workload data
Execute transaction ST03N
7.15 Cleanup obsolete entries in DB check Alerts in DB02
Execute transaction DB02 and delete the old alert entries in Database Check

7.16SMQS and SMQR Settings

Smqr-
Smqs

7.17Configure background server group


Sm61
7.18 Check Active profiles of active servers

7.19 Verify and Adapt Opmodes


Execute tcode RZ04.
7.20 Check FAX and Email Settings
7.21 Check IGS functionality
7.22 Check SAP Operating System Collector is running

Execute transaction ST06


Click the Operating System Collector button.
7.23 Verify RFC Destinations

7.24 Reimport/Recreate PSE


We have taken export of All Pse’s.Please import all pse’s accordingly.

Transaction: STRUSTSSO2

Start transaction STRUSTSSO2. Delete the Existing PSE.


7.25 Verify Logon/RFC server group

Execute transaction SMLG


7.26 Check and update the connection to SAPNet
7.27 Check Table TXCOM and THOST

Check that the two tables are empty

TXCOM
Execute transaction SM54

THOST
Execute transaction SM55
7.28 Check Scheduler Settings

Smqs
7.29 Publish services with SIAC_PUBLISH_ALL_INTERNAL
Run SIAC_PUBLISH_ALL_INTERNAL to help integration with Portal as per Note
964521

7.30 Reduce the frequency of data collection for ALE Monitoring


Start Transaction RZ20
Expand the tree SAP CCMS Monitors for Optional Components.
Double Click on ALE/EDI.
No node exists for eq5
1 POST STEPS ( AFTER BDLS RUN is complete )

8.3 Import User Master Record exported during Preparation Activities (1.12)
8.4 Update Logical system description in V_TBDLS

Execute transaction BD54


After BDLS, update the Logical System Description in V_TBDLS for the newly created logical system
names using transaction BD54.

EQ5K900665

8.5 Check the Partner Profiles in WE20


We21
8.6 Check Automatic Workflow Customizing
Execute transaction SWU3
8.7 Update Login screen message

8.8 Check HTTPURLLOC table for F5 URL


8.9 Schedule SAP_COLLECTOR_FOR_PERFMONITOR in client 000

8.10
8.10 SPRO Setting
8.11 Check SICF services are active

8.12 Check listener.ora and tnsnames.ora have SDU=32768 entry


2 ECC SPECIFIC POST STEPS ( AFTER BDLS RUN is complete )
8.1 Tablespace Status

8.2 Delete entries in RFC tables


EQ5K900665

Next run the report RSTRFCEH to remove the inconsistencies in the table
ARFCRSTATE
Once all confirmed entries are deleted reorganize the following tables :

ARFCRSTATE and ARFCSSTATE


ARFCRDATA and ARFCSDATA
8.3 Check and restore Vertex connectivity
9.5 BSI configuration
9.7 Update CLM URL in ECC
Accenture
9.8 Accenture Software licenses
2nd license
2nd lic installed-
3. Accenture Audit and Compliance

4. Accenture Audit and Compliance OM

3RD License

3rd Lic Installed-


4th License
10 FINAL GENERAL STEPS

10.1 Set Database into ARCHIVELOG Mode and restart system


10.2 Apply ISEC Policy for oracle
10.3 Revert and check crontab scripts

10.4 Check and rebuild indexes


RFBLG~0
10.5 Run DBverify script
10.6 Run brstats script

10.7 Run the Database System Check script

/oracle/EQ5/scripts/database_system_check.sh EQ5
10.8 Run the cleanup script

/oracle/EQ5/scripts/cleanup.sh EQ5
nohup /sapmnt/${ORACLE_SID}/exe/brconnect -u / -c -f cleanup &

winscp error -

10.9 Delivery of Oracle Statistics


10.10 Run the database backup script
not running as db verify is running
10.11 Setup SAPSUPPORT and OSS connection

10.12 Autocert configuration

10.13 Release background jobs


Client settings changed-
Crontab –
Old
New –

Db verify running

Вам также может понравиться