COPY OLD SID to NEW SID SAP HANA+LINUX+SUSE
Step 1 : Add new user entry to >
testdbr:# cat /etc/passwd
vi /etc/passwd
eg: s4xadm:x:1004:1002:SAP System Administrator:/home/s4xadm:/bin/csh
Step 2 : Create folder Based on new SIDADM
----------------------------------------------
testdbr:/usr/sap # mkdir -p /home/s4xadm
Step 3 : Set Password new SID user
-----------------------------------------------
testdbr:/usr/sap # passwd s4xadm
Step 4 : Copy SID folder to New SID & change DEVMSG"XX" ASCS"XX" Udate Ownership aswell
------------------------------------------
testdbr:/usr/sap# cp BIS >> S4X
testdbr:/usr/sap # chown -R s4xadm:sapsys //usr/sap/S4X/
testdbr:/sapmnt # cp BIS >> S4X
testdbr:/sapmnt # chown -R s4xadm:sapsys //sapmnt/S4X/
Step 5 : Create symbolic link
--------------------------------
Remove existing link... and create New go to (/usr/sap/S4X/SYS)
testdbr:/usr/sap/S4X/SYS ~ # ln -s /sapmnt/S4X/global global
testdbr:/usr/sap/S4X/SYS ~ # ln -s /sapmnt/S4X/profile profile
Go to >>
testdbr:cd /usr/sap/S4X/SYS/exe
ln -s /sapmnt/S4X/exe/uc uc
ln -s /usr/sap/S4X/SYS/exe/dbg run
ln -s /sapmnt/S4X/exe/nuc nuc
ln -s /sapmnt/S4X/exe/uc/linuxx86_64 dbg
Step 6 : Copy ENV from Old SID to New SID(s4x)
-------------------------------------------------------------------------------------------------
testdbr:~ # cd /home/bisadm/
testdbr:/home/bisadm # cp -pr .sap* .csh* .prof* .dbenv* /home/s4xadm/
testdbr:/home/bisadm # cp -pr * /home/s4xadm
Step 7 : Change Owner to (new user)
----------------------------------------------
testdbr:/home/bisadm # chown -R s4xadm:sapsys /home/s4xadm
update ENV file value
testdbr:s4xadm 58> vi .sapenv.csh
Replace with new SID value :%s/BIS/S4X/g
:wq
------------------------------------
testdbr:bisadm 27>/ cdpro
BIS_DVEBMGS00_testdbr >>>> S4X_DVEBMGS56_testdbr
BIS_ASCS01_testdbr >>>> S4X_ASCS55_testdbr
Edit all 3 profile including default ,replace all profile value and instance value based on new ( delete logs from work directory
recheck all profile value updated to new
Step 9 : Create New user store list
--------------------------------------------
hdbuserstore list
hdbuserstore DELETE DEFAULT
hdbuserstore set DEFAULT testdbr.xxxx.local:30215@BIH SAPGBP testest.
Step 10 Update cat /etc/services
sapmsS4X 3655/tcp # SAP System message Server Port (ASCSPORT)
Check the Kernel version compatible with NetWeaver version.
Clean the /tmp folder and reboot the server
Step 11
startsap (make sure source SID is stopped)
“Celebrating
Work”
No comments:
Post a Comment
Ask Your Questions ?#