Kernel-720 Installation Cookbook PDF
Kernel-720 Installation Cookbook PDF
Prereqs
1.
2.
3.
4.
5.
The SAP installation and upgrade tools normally install the required Microsoft C
-runtime. This is not the case if you download an SAP kernel as SAPEXE.sar archi
ve from SAP Service Marketplace. In this case, you have to install the C-runtime
manually as follows:
1. Extract the SAPEXE.sar archive, which contains the installer package vcre
dist_XXX.msi.
XXX is a placeholder for the platform and has one of these values: x64, x86,
ia64.
2. Execute the vcredist_XXX.msi installer package for your platform.
After the installation has finished successfully, the operating system contains
the required C-runtime.
INSTALLATIONS STEPS
5.1 StopSAP
1. Stop the SAP system. (You do not need to stop the database.)
On UNIX or Windows:
Stop the SAP system as usual.
8. If you use IGS, you must unpack the IGS archive using the following
command:
<newkernel>/SAPCAR -xvf <newkernel>/igsexe. sar
9. If there are files or directories that were saved in step 3, restore them
into the current directory
10. To deploy the optional IGSHELPER archive switch to the relevant local di
rectory /usr/sap/SPM/DVEBMGS00/ on every instance and execute the command:
<newkernel>/SAPCAR -xvf <newkernel>/IGSHELPER. SAR
11. Switch to the user root and run the shell script saproot.sh, which is av
ailable in the kernel directory.
su - root (or su <user with UID 0> on OS/390)
cd /usr/sap/<SAPSID>/SYS/exe/run
./saproot.sh <SAPSID>
exit
12. Delete all of the local executables on the individual instances. To do t
his, switch to the relevant local executable directory /usr/sap/<SAPSID>/<INSTAN
CE>/exe and execute
rm -rf *
13. Since executables from the local executable directories may already be e
xecuted for the start before sapcpe runs, start an initial copy of the executabl
es.
a) All application server instances (primary application server/central
instance, additional application servers/dialog instances):
For ABAP-only systems:
cd /usr/sap/<SAPSID>/<INSTANCE>/work
sapcpe pf=/usr/sap/<SAPSID>/SYS/profile/<instance profile>
For Dual-Stack systems:
cd /usr/sap/<SAPSID>/<INSTANCE>/work
sapcpe pf=/usr/sap/<SAPSID>/SYS/profile/<instance profile>
If your system is running with the SAPJVM:
sapcpe pf=/usr/sap/<SAPSID>/SYS/profile/<instance profile> s
ource:<sapjvm directory> list:<sapjvm directory>/sapjvm_<version>.lst
For Java-only systems:
cd /usr/sap/<SAPSID>/<INSTANCE>/work
sapcpe pf=/usr/sap/<SAPSID>/SYS/profile/<instance profile> list:/usr/sap/<SAPSID
>/SYS/exe/run/j2eeinst.lst
If your system is running with the SAPJVM:
sapcpe pf=/usr/sap/<SAPSID>/SYS/profile/<instance profile> s
ource:<sapjvm directory> list:<sapjvm directory>/sapjvm_<version>.lst
b) For additional instances such as ASCS, SCS and ERS (exist only in a c
luster):
cd /usr/sap/<SAPSID>/<INSTANCE>/work
sapcpe pf=/usr/sap/<SAPSID>/SYS/profile/<instance profile> list:/usr/sap/<SAPSID
>/SYS/exe/run/scs.lst
NB: the arguments ("pf", "list", "source") are separated by a white s
pace, not by a newline character. <sapjvm directory> means the location of the s
aved SAPJVM, see the step 9 above.
4.2 On Windows
1. Log on as user <sapsid>adm and switch to the global host in your kernel d
irectory, for example: <drive>:\usr\sap\<SAPSID>\sys\exe\<uc|nuc>
2. Rename the <platform> directory, for example <platform>.save.
3. Create a new directory <platform> and switch to this directory.
Unpack the new kernel from the directory <newkernel> of the downloaded a
rchive in the specified sequence.
6. If you use IGS, unpack the new IGS using the following command:
10. Since executables from the local executable directories may already be e
xecuted for the start before sapcpe runs, start an initial copy of the executabl
es.
a) For all application server instances (primary application server/cent
ral instance, additional application servers/dialog instances):
For ABAP-only systems:
< drive>:
cd \usr\sap\<SAPSID>\<INSTANCE>\work
sapcpe pf=<drive>:\usr\sap\<SAPSID>\sys\profile\<instance profile>
For Dual-Stack systems:
< drive>:
cd \usr\sap\<SAPSID>\<INSTANCE>\work
sapcpe pf=<drive>:\usr\sap\<SAPSID>\sys\profile\<instance profile>
If your system is running with the SAPJVM:
sapcpe pf=<drive>:\usr\sap\<SAPSID>\sys\profile\<instance pr
ofile> source:<sapjvm directory> list:<sapjvm directory>\sapjvm_<version>.lst
For Java-only systems:
< drive>:
cd \usr\sap\<SAPSID>\<INSTANCE>\work
sapcpe pf=<drive>:\usr\sap\<SAPSID>\sys\profile\<instance profile> list:<drive>:
\usr\sap\<SAPSID>\sys\exe\<uc|nuc>\<platform>\j2eeinst.lst
If your system is running with the SAPJVM:
sapcpe pf=<drive>:\usr\sap\<SAPSID>\sys\profile\<instance pr
ofile> source:<sapjvm directory> list:<sapjvm directory>\sapjvm_<version>.lst
b) For additional instances such as ASCS, SCS and ERS (exist only in a c
luster):
< drive>:
cd \usr\sap\<SAPSID>\<INSTANCE>\work
sapcpe pf=<drive>:\usr\sap\<SAPSID>\sys\profile\<instance profile> list:<drive>:
\usr\sap\<SAPSID>\sys\exe\<uc|nuc>\<platform>\scs.lst
NB: the arguments ("pf", "list", "source") are separated by a white s
pace, not by a line break. <sapjvm directory> means the location of the saved SA
PJVM, see the step 4 above.
11. Activate (Startup Type = Automatic) and start the Windows Services SAP<S
ID>_<INSTANCE no.> of primary application server instance and of every additiona
l application server instance to active the new version of sapstartsrv.exe.
MSCS only:
1. Start and Stop the clustered (A)SCS instances and the appropriate SAP ser
vices using the cluster admin tool or the Powershell.
2. Also see SAP Note 1596496 on how to update the SAP Resource Type DLL.
3. You have to follow step 6-10 also for the ERS instances on your clust
er nodes.
Search for REPSRV.lst in all Start Profile of the ERS instances (line St
On Windows:
Execute the following commands as user <SAPSID>ADM:
1. CD \USR\SAP\<SAPSID>\SYS\EXE\RUN
2. <newkernel>\SAPCAR.EXE -xvf <newkernel>\<additional package>.SAR
On IBM i:
On IBM i, you do not have to install any further programs.
The registration of the integrated CCMS agents from the central system n
eeds to be repeated. Please follow the instructions given in SAP Help (http://he
lp.sap.com/saphelp_nwpi71/helpdata/EN/44/893e933dc912d3e10000000a422035/content.
htm).
You upgraded the central system:
No reconfiguration is necessary.
SAP note 1667336 contains a detailed description for every case.
6 System Start
Start the SAP system with the new kernel and check the poins below if relevant.
6.1 AS Java or Dual-Stack systems with release 7.00 or 7.01
If the Java instance or even the complete system does not start, check the follo
wing points:
The minimum support packages and patch levels have been installed as describ
ed in section "Attention" under "Reason and Prerequisites".
sapjvm: The directory jvm or sapjvm or the file protect.lst have been saved
and restored as described in
Section 4.1, "On Unix", steps 3 and 9
Section 4.2, "On Windows", step 4
6.2 DDIC_TYPELENG_INCONSISTENT short dumps
If you did not handle the DDIC_TYPELENG_INCONSISTENT issue, which is described i
n chapter "Reason and Prerequisites", section "Attention", while the original ke
rnel was still running, you should now install Note 1610716.
in instance profile, add parameter rslg/new_layout = 9
and delete /usr/sap/SPM/SYS/global/*.SLOG
6.3 Load format of ABAP programs
After you start the SAP system with the new kernel, the following message is dis
played in the system log: 'Load format of PROGRAM not valid.'
You can ignore this message because the load is automatically regenerated.
It is also possible to regenerate these ABAP loads directly using transaction SG
EN. For more information see Note 185745.
6.4 CCMS Monitoring issues
In case of any issues with the CCMS monitoring after the kernel upgrade, check n
ote 1667336, in particular the section "Local monitoring in the upgraded doublestack system".-