Showing posts with label kernel. Show all posts
Showing posts with label kernel. Show all posts

November 16, 2012

Update your SAP Kernel in a SAP ECC system



Update your SAP Kernel in a SAP ECC system :-


1. First of all, go to the SAP Service Marketplace (service.sap.com), and download your desired kernel version:

Downloads --> SAP Support Packages --> Entry by Application Group --> SAP NetWeaver --> SAP Netweaver --> SAP Netweaver <version> --> Entry by Component --> <select component> -->  <select your system version> --> #Database independent (this is the part I. In the same step,  select your database to download the part II of the package).  


2. After you have the two parts downloaded, log into the OS level and uncar the 2 parts in separate directories. Copy the part I in a new folder, and copy the part II into the same folder (there are cases that files may need to be replaced. replace them, don't worry).  



3. Stop the database, SAP and the services related to them (SAPSID##, SAPOSCOL).  


4. Backup the old kernel. Usually it is located in: </usr/sap/SID/SYS/exe/<uc or nuc>/<system>.  



5. Delete the old backed up kernel, and copy the new kernel there.  



6. Start the services related, database and SAP.

  
Now just confirm the new kernel version in SAP.



November 11, 2012

Post Installation Steps




Post Installation Steps :-


After Installing R/3 into a new system, Basis has to perform some post Installation steps before handing over to end users for operation. Post Installation steps make sure that System is ready, properly configured, Tuned and take load of user requests.

Below are some standard steps which has to perform immediately after the installation is finished.


PART 1:-

1. Login to SAP system using DDIC/000

2. Execute SE06 , Select Standard Installation and click on execute Perform Post Installation Steps. Click yes on each next screen.

3. Execute STMS , to configure TMS configuration system. If there is no Domain controller in organization then configure this new system as DC.

4. Execute SICK to check for any Installation error , If anything is reported then trouble shoot those errors.

5. Execute sapdba or brtools to check/increase tablespace size if any is >90%

6. IF sapdba then check the tablespace utilization by selecting c. Tablespace Adminitration - c. Free space fragmentation of Tablespaces

7. List out all the tablespaces filled above 90%

8. Add datafiles to corresponding tablespaces to increase the tablespace size and bring the utilization of tablespaces below 80%

9. Login as SAP*/000

10. Execute SCC4 -> Click on change button -> Confirm the warning and click on new entries to create a new client.

11. Execute RZ10 -> Utilities -> Import profiles -> Of Active Servers

12. check the system log in SM21

13. Check any dumps in ST22

14. Login at command prompt using ora<sid> or <SID>adm


PART 2:-

1. login to new client to perform a client copy using SAP*/<new client number>/PASS

2. Perform local client copy procedure to copy new client from 000 client.

3. Once client copy is over , login to new client using SAP* and password of SAP* which was
 used in client 000

4. Execute RZ10 -> Select Instance Profile -> check Extended maint -> click on change.

5. Add parameter login/system_client parameter to make new <client_number> as default client to login.

6. Make changes to dialog process and background if you need to change than default one.

7. Save the profile and activate it.

8. Create one or two super users using SU01 with profiles SAP_ALL and SAP_NEW

9. Create some developer users if you can, else leave it.

10. Stop and Start SAP R/3 for profile parameter to be in effect.

11. Upgrade the kernel to the latest level

12. Upgrade the SPAM version to latest level

13. Apply latest support pack to components SAP_BASIS, SAP_ABAP, SAP_APPL and some other components if it is required.

14. Follow the kernel, SPAM and support pack application methods

15. Now system is ready to login and work for developers and administrator

16. Keep on changing the parameters , system configuration as per requirement later.

17. Run SGEN to regenerate the objects . In this process SAP keeps all the required objects access in SAP buffer. So that transaction accessing becomes faster.



KERNEL UPGRADE STEP BY STEP



KERNEL UPGRADE STEP BY STEP :-


Check the existing kernel level by logging into SAP level

SM51 ->Release notes

OR

Go to command level and execute disp+work (Login as <SID>ADM to perform this task)

Check the Kernel levels available in SAP service market place

Downloads-Download -> Support package and patches -> Entry by Application Group ->Additional components -> SAP Kernel-> SAP Kernel 64 bit->SAP Kernel 7.00 64 bit-SAPKERNEL 64 bit->Windows server on X64 bit->Database Independent

Select SAPEXE_ (latest patch number) _*.SAR and click on add to download basket from the bottom.

Repeat above step to down load Database Dependent kernel by selecting the database you have/want.

Select SAPEXEDB_<latest_patch_number>_*.SAR and click on Add to download basket.

Now launch download manager from your system and down load the SAPEXE* and
SAPEXEDB* to your local drive. (e.g. G:\Kernelupgrade)


Now extract the .SAR files from command prompt
cd G:\kernelupgrades
G:\Kernel upgrade>sapcar -xvf SAPEXE_1773-10001664.SAR
G:\kernelupgrades\>sapcar -xvf SAPEXEDB_1773-10001667.SAR

Now check the number of files in G:\kernelupgrade (e.g. 115 files)
Go to C:\usr\sap\S11\SYS\exe\run
Check the number of files (e.g. 124 files)

Stopsap on target system
login as <SID>adm
#stopsap (UNIX)
In Windows/NT: go to desktop > double click on SAP Management Console
Select the server
Click on stop
Wait for SAP to be stopped

Stop all sap service and database service from
Windows/NT: Programs->Administrative Tools ->services->
Stop TNSlistner server for oracle
stop oracleserviceS11 for oracle
stop SAPS11_00 for SAP
stop SAPOSCOL for SAP
stop if any other oracle service is running.
Select the service ->right click –Stop

Now take backup of your old kernel directory (use OS level copy command)
Copy run folder to G:\kernelbackup
Go to Kernel-upgrade folder
Copy all the contents from this folder and paste it into c:\usr\sap\<SID>\SYS\exe\run
Check the kernel patch by typing disp+work at command level

Start all sap and database services from Programs->Administrative Tools->services->
Start TNSlistner server for oracle
Start oracleserviceS11 for oracle
Start SAPS11_00 for SAP
Start SAPOSCOL for SAP
Select the service ->right click -Start

Start sap on Server now

Windows/NT: SAP Management Console (MMC) ->select Server->click on start button from top menu. Check for green light on servers

UNIX: startsap
Now login to sap from saplogon menu and see you are able to login successfully.

Double check the kernel patch level by executing SM51 -> Release Notes

Kernel upgrade is completed.