sap kernel upgrade steps

Upload: mujtabamali

Post on 03-Jun-2018

233 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 SAP Kernel Upgrade Steps

    1/9

    SAP Kernal upgrade on Linux Step by Step

    I am doing SAP Kernel upgrade on Net weaver 7.3 version.

    Login to sap system and click on system status button will show the below screen. You can your

    current Kernel patch lever with your OS and Data base versions.

    My current versions:

    Kernel release 720

    Current version 70

    Database name MaxDB 7.7

    Operating system Linux 2.6

    I logged into service market place, there go to Software DownloadsSAP Software Download

    Center My companys Application components Complementary Software SAP KERNEL 64-Bit

    Unicode SAP KERNEL 7.20 64-BIT UNICODE

    Here you need to select your OS and Database, than it displays below screen. Please check thelatest version (N) and always better to go for N-1 version

    http://3.bp.blogspot.com/-r3tBCofxlyI/T73ZXWe969I/AAAAAAAAJjY/MWXipFa3Vmo/s1600/1.png
  • 8/12/2019 SAP Kernel Upgrade Steps

    2/9

    As per my selection criteria 201 is the latest one, I am going for (N-1) 120 version

    Please select the SAPEXEDB_120_10007264 this file

    To Software DownloadsSAP Software Download Center My companys Application components

    Complementary Software SAP KERNEL 64-Bit Unicode SAP KERNEL 7.20 64-BIT UNICODE

    MAXDB SAPEXEDB_120_10007264.SAR file and add to download basket

    Please select the SAPEXE_120_10007264 this file

    to Software DownloadsSAP Software Download Center My companys Application components

    Complementary Software SAP KERNEL 64-Bit Unicode SAP KERNEL 7.20 64-BIT UNICODE

    Database Independent SAPEXE_120_10007264.SAR file and add to download basket

    For kernel upgrade this below two SAR file required. Please download these two files.

    http://3.bp.blogspot.com/-WoW_TCN0vzI/T73e__vlIQI/AAAAAAAAJlM/GzIUQ2cyFyM/s1600/4.pnghttp://3.bp.blogspot.com/-dyE09084ev8/T73Zlp-IVFI/AAAAAAAAJjo/Kai1zc01iDI/s1600/3.pnghttp://1.bp.blogspot.com/-CD33KpRYzdY/T73Zf8XIJeI/AAAAAAAAJjg/B9-h6WM3MJ8/s1600/2.pnghttp://3.bp.blogspot.com/-WoW_TCN0vzI/T73e__vlIQI/AAAAAAAAJlM/GzIUQ2cyFyM/s1600/4.pnghttp://3.bp.blogspot.com/-dyE09084ev8/T73Zlp-IVFI/AAAAAAAAJjo/Kai1zc01iDI/s1600/3.pnghttp://1.bp.blogspot.com/-CD33KpRYzdY/T73Zf8XIJeI/AAAAAAAAJjg/B9-h6WM3MJ8/s1600/2.pnghttp://3.bp.blogspot.com/-WoW_TCN0vzI/T73e__vlIQI/AAAAAAAAJlM/GzIUQ2cyFyM/s1600/4.pnghttp://3.bp.blogspot.com/-dyE09084ev8/T73Zlp-IVFI/AAAAAAAAJjo/Kai1zc01iDI/s1600/3.pnghttp://1.bp.blogspot.com/-CD33KpRYzdY/T73Zf8XIJeI/AAAAAAAAJjg/B9-h6WM3MJ8/s1600/2.png
  • 8/12/2019 SAP Kernel Upgrade Steps

    3/9

    I am downloading above two SAR files using download manager.

    Login as SIDADM, Make new backup directory

    mkdir SID_Kernalbackup_24052012

    Create latest kernel backup

    cp -pr /usr/sap/SID/DVE*/exe/* / SID_Kernalbackup_24052012

    Compare the original kernel and the backup

    du -sk /usr/sap/SID/DVE*/exe

    http://3.bp.blogspot.com/-dvdoLR4Yxv0/T73auDQRWyI/AAAAAAAAJkg/0HazyOHoA04/s1600/9.pnghttp://1.bp.blogspot.com/-t1g_jN9itEY/T73ao1l7I8I/AAAAAAAAJkY/eKJApqnF9Y8/s1600/8.pnghttp://2.bp.blogspot.com/-DafuN8C2rsc/T73aUOJL4II/AAAAAAAAJkI/ZskzyvMxkq0/s1600/5.pnghttp://1.bp.blogspot.com/-3FZlM1rx0SY/T73ajFaRiHI/AAAAAAAAJkQ/uXAqp9cQE4g/s1600/7.pnghttp://3.bp.blogspot.com/-dvdoLR4Yxv0/T73auDQRWyI/AAAAAAAAJkg/0HazyOHoA04/s1600/9.pnghttp://1.bp.blogspot.com/-t1g_jN9itEY/T73ao1l7I8I/AAAAAAAAJkY/eKJApqnF9Y8/s1600/8.pnghttp://2.bp.blogspot.com/-DafuN8C2rsc/T73aUOJL4II/AAAAAAAAJkI/ZskzyvMxkq0/s1600/5.pnghttp://1.bp.blogspot.com/-3FZlM1rx0SY/T73ajFaRiHI/AAAAAAAAJkQ/uXAqp9cQE4g/s1600/7.pnghttp://3.bp.blogspot.com/-dvdoLR4Yxv0/T73auDQRWyI/AAAAAAAAJkg/0HazyOHoA04/s1600/9.pnghttp://1.bp.blogspot.com/-t1g_jN9itEY/T73ao1l7I8I/AAAAAAAAJkY/eKJApqnF9Y8/s1600/8.pnghttp://2.bp.blogspot.com/-DafuN8C2rsc/T73aUOJL4II/AAAAAAAAJkI/ZskzyvMxkq0/s1600/5.pnghttp://1.bp.blogspot.com/-3FZlM1rx0SY/T73ajFaRiHI/AAAAAAAAJkQ/uXAqp9cQE4g/s1600/7.pnghttp://3.bp.blogspot.com/-dvdoLR4Yxv0/T73auDQRWyI/AAAAAAAAJkg/0HazyOHoA04/s1600/9.pnghttp://1.bp.blogspot.com/-t1g_jN9itEY/T73ao1l7I8I/AAAAAAAAJkY/eKJApqnF9Y8/s1600/8.pnghttp://2.bp.blogspot.com/-DafuN8C2rsc/T73aUOJL4II/AAAAAAAAJkI/ZskzyvMxkq0/s1600/5.pnghttp://1.bp.blogspot.com/-3FZlM1rx0SY/T73ajFaRiHI/AAAAAAAAJkQ/uXAqp9cQE4g/s1600/7.png
  • 8/12/2019 SAP Kernel Upgrade Steps

    4/9

    du -sk /uar/sap/SID/SID_Kernalbackup_24052012

    Make new shadow kernel directory,

    mkdir SID_NewKernal_120_24052012

    Copy the new downloaded kernel files into SID_NewKernal_120_24052012 directory

    Unpack the new downloaded kernel in folder / SID_NewKernal_120_24052012

    SAPCAR -xvf SAPEXE_120-10007264.SAR

    SAPCAR -xvf SAPEXEDB_120-10007262.SAR

    http://2.bp.blogspot.com/-XndaPb0W4VM/T73bDy9g0BI/AAAAAAAAJlA/hXwsR6gN8hc/s1600/12.pnghttp://2.bp.blogspot.com/-_Fy_ZsMB-9Q/T73a46zakJI/AAAAAAAAJkw/Fdx3cEEnfA0/s1600/11.pnghttp://3.bp.blogspot.com/-GjgLGJMHwvs/T73a0Cdq76I/AAAAAAAAJko/xejn0L47uSY/s1600/10.pnghttp://2.bp.blogspot.com/-XndaPb0W4VM/T73bDy9g0BI/AAAAAAAAJlA/hXwsR6gN8hc/s1600/12.pnghttp://2.bp.blogspot.com/-_Fy_ZsMB-9Q/T73a46zakJI/AAAAAAAAJkw/Fdx3cEEnfA0/s1600/11.pnghttp://3.bp.blogspot.com/-GjgLGJMHwvs/T73a0Cdq76I/AAAAAAAAJko/xejn0L47uSY/s1600/10.pnghttp://2.bp.blogspot.com/-XndaPb0W4VM/T73bDy9g0BI/AAAAAAAAJlA/hXwsR6gN8hc/s1600/12.pnghttp://2.bp.blogspot.com/-_Fy_ZsMB-9Q/T73a46zakJI/AAAAAAAAJkw/Fdx3cEEnfA0/s1600/11.pnghttp://3.bp.blogspot.com/-GjgLGJMHwvs/T73a0Cdq76I/AAAAAAAAJko/xejn0L47uSY/s1600/10.png
  • 8/12/2019 SAP Kernel Upgrade Steps

    5/9

    Login as sidadm

    Stop the SAP System

    stopsap

    Stop saposcolsaposcol -k

    Login as root

    Go to the current kernel directory

    cd /usr/sap/SID/DVE*/exe

    http://3.bp.blogspot.com/-Nvk0GikYBPs/T8Cz0HRO8yI/AAAAAAAAJqo/In4_EVmFu_A/s1600/1.pnghttp://2.bp.blogspot.com/-VaWNqxbxJsc/T73a_3-oe7I/AAAAAAAAJk4/OTgmf8UQlIM/s1600/13.pnghttp://3.bp.blogspot.com/-Nvk0GikYBPs/T8Cz0HRO8yI/AAAAAAAAJqo/In4_EVmFu_A/s1600/1.pnghttp://2.bp.blogspot.com/-VaWNqxbxJsc/T73a_3-oe7I/AAAAAAAAJk4/OTgmf8UQlIM/s1600/13.png
  • 8/12/2019 SAP Kernel Upgrade Steps

    6/9

    Copy all extracted support packages into this folder

    cp -pr / SID_NewKernal_120_24052012/* /usr/sap/SID/DVE*/exe/*

    Go tCopy back the original file saproot.sh into this folder.

    cd /usr/sap/SID/DVE*/exe

    http://2.bp.blogspot.com/-xFGEzOGsSxA/T8C0baPSq8I/AAAAAAAAJqw/LgQX2k9p6Z4/s1600/2.pnghttp://2.bp.blogspot.com/-bvhOC9AGqeg/T8C0h3Y0k8I/AAAAAAAAJq4/T74vJi2PGcc/s1600/3.pnghttp://2.bp.blogspot.com/-xFGEzOGsSxA/T8C0baPSq8I/AAAAAAAAJqw/LgQX2k9p6Z4/s1600/2.pnghttp://2.bp.blogspot.com/-bvhOC9AGqeg/T8C0h3Y0k8I/AAAAAAAAJq4/T74vJi2PGcc/s1600/3.png
  • 8/12/2019 SAP Kernel Upgrade Steps

    7/9

    http://1.bp.blogspot.com/-i7S4sf5hJZM/T8C1j88hQuI/AAAAAAAAJrI/aF7ZnChZ_bI/s1600/5.pnghttp://3.bp.blogspot.com/-Kq5JALBYM8I/T8C1Ku6hPWI/AAAAAAAAJrA/IJwHNT6t_d0/s1600/4.pnghttp://1.bp.blogspot.com/-i7S4sf5hJZM/T8C1j88hQuI/AAAAAAAAJrI/aF7ZnChZ_bI/s1600/5.pnghttp://3.bp.blogspot.com/-Kq5JALBYM8I/T8C1Ku6hPWI/AAAAAAAAJrA/IJwHNT6t_d0/s1600/4.png
  • 8/12/2019 SAP Kernel Upgrade Steps

    8/9

    login as sidadm

    Start the saposcol service

    saposcol

    Start the SAP system

    startsap

    http://3.bp.blogspot.com/-xCTZswUYzsw/T8C1plLwp0I/AAAAAAAAJrQ/f2bvhNt7bHM/s1600/6.png
  • 8/12/2019 SAP Kernel Upgrade Steps

    9/9

    http://4.bp.blogspot.com/-zA7aQKqPEoY/T8C15wPvDEI/AAAAAAAAJrY/XqK6aeEhcGw/s1600/7.png