Vous êtes sur la page 1sur 58

CS2 Refresh Document

Archiving set to ON

Stopped the SAP


Started the Database and ran the Offline backup

Log in CP1

Compare the sapdata space between Source and Target systems


Target - CS2

Source - CP1

Login to CP1
VNC - session 1

Login to CS2
USER master export
SCC8

DB2 Backup Information


( db2adutl command - always work with TSM )

AUTOMATIC (instead of INCREMENTAL AUTOMATIC)


USE TSM OPEN 2 SESSIONS options '-fromnode=NMLECDBP_DB2 -fromowner=db2cp1'
(options part added)
TAKEN AT 20150906050003 (full backup timestamp instead of the latest incremental one)
ON /db2/CS2/sapdata1 (instead of 8 path - 1 path is define as existing in CS2)
REDIRECT without prompting (without prompt for not prompting)

Restore Completed
Now Rollforward - Extraction of logs ( Mandatory Logs )

db2 "rollforward db cs2 to 2015-09-08-01.42.34 and stop overflow log path db2 "
(/db2backups/NODE0000/CP1/C0000000)" &

Disabled all the RFCs


nmlecdbs2:db2cs2 8> db2 "update sapcp1.rfcdes set rfcoptions=replace
(sapcp1.rfcdes.rfcoptions, 'H=', 'H=dummy.') where rfcoptions like '%H=%'"
DB20000I The SQL command completed successfully.
nmlecdbs2:db2cs2 9>
Started the SAP

Need to put the New License


Get the hardware key with the below command

Go to Service Market place - Connections - CS2 - Systemdata


License Key & Maintenance Certificate tab

Display License Script

Copy the license file to CS2 ( here moved to /home/cs2adm )

nmlecdbs2:cs2adm 9> ls -ltr licen*


----rwxrwx

1 cs2adm sapsys

Set the permission

1296 Sep 08 00:48 license_script.txt

nmlecdbs2:cs2adm 10> chmod 777 license_script.txt


nmlecdbs2:cs2adm 12> ls -ltr licen*
-rwxrwxrwx

1 cs2adm sapsys

1296 Sep 08 00:48 license_script.txt

nmlecdbs2:cs2adm 13>
[ I have tried to install from OS - but , I got the error message , Sorry could not
capture the error ]
Below is the command
saplikey pf=/sapmnt/CS2/profile/CS2_DVEBMGS00_nmlecdbs2 -install
license_script.txt
Error was due to old Licenses, were present in SAP CS2
Enable the SAP*
set the below parameter to 0 in instance profile

Then tried to login with SAP*, but could not. As SAP* was not the dialog user.
Run the below command to change the user type of SAP* in client 000
db2 "update sapcp1.usr02 set USTYP='A' where bname='SAP*' and
mandt='000'"
Finally got into SAP
User Id - SAP*
Password - N3wpa55! ( not pass )
Client - 000
Run the Tcode - slicense

Delete all the licenses ( Old and Expired )

After deleting the unwanted


Hit - Install

Select the file

Done!

Lock all the Users Except Basis and Security


db2 => update sapcp1.usr02 set uflag=200 where mandt='100' and uflag=0
and bname not in ('KUMARB', 'KHAND', 'DASR' , 'MICALLEFG', 'SENGUPTAP' ,
'BISWASSU' , 'KHOOK' , 'BHATTAAK', ' MAHAJAND', ' YAGNIKD', ' GUPTAR','
ANINONM',' DOMINKOR', ' MAMILLAPALLR ', ' PRYSEC')
DB20000I The SQL command completed successfully.
db2 =>

[ To unlock the same set of users , please run the below command ]
update sapcp1.usr02 set uflag=0 where mandt='100' and uflag=200
Suspend the Batch jobs
-SA38
Execute the report btctrns1

Disable the Mail


SCOT and uncheck the "node in use"

For FAX as well

Delete the OLD profiles ( Source profiles - here CP1 profiles )


SE14
Execute - TPFET

Select "Delete data" and hit


Hit Yes
Again to SE14 and run TPFHT

Select "Delete data" and hit

[ Ignore the pop up for TMS configuration ]

go to RZ10

Done!

Lock all the Printers


SPAD

Select as below

Execute

Save the file

Allow
Open the saved file and Look for PADISABLED. To lock, set PADISABLED = X. To
unlock set PADISABLED = .

just open the notepad and hit Ctrl+h ( Find and replace )
Replace Source system SID with Target system SID, here ( replaced CP1 with
CS2 )
Replace source system spool server with Target server spool Server

Replace All
Now import this file again in SAP
SPAD

All the printers are locked now

TMS Configuration
SE06

Yes

Yes

Yes

Yes

Yes

Yes

Save

Welcome#1

Welcome#1

STMS

System Overview

Welcome#1

Welcome#1

Welcome#1

Welcome#1

Transport Route

Edit

Yes

Welcome#1

Welcome#1

TMS configuration Done !!


Run the Full Online database backup - Important

DMIS Installation - ( Component for SLO Conversion )


Log in to CS2 000
SAINT

Yes

Hit Back

Start

Select the component and hit Continue

Select the Highest - here SAPK-11308INDMIS

Continue

Continue

No

Open the Suggested Note and Provide the password

Tick

Start Options

Select to run in Background except - Preparation

Monitor the status bar

skip

yes

Welcome#1

Welcome#1
Monitor the status bar

Error

Go to Trans buffer a and rename the CS2 as CS2.OLD


SAP system will create a new CS2 next time automatically

Reset the SAINT queue

Hit the back button

Yes
Again Run the SAINT and follow the steps as above :

SM37 and monitor the Import job

Job has finished

go to SAINT

Continue

Run in Dialog

Finish

Cancel
U can see the DMIS component

Import the External transports in 000

Vous aimerez peut-être aussi