Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
SAP on IBM i
Kernel Maintenance SAP on IBM i Development, October, 2013
© 2013 SAP AG. All rights reserved. 2 Customer
The information in this presentation is confidential and proprietary to SAP and may not be disclosed without
the permission of SAP. This presentation is not subject to your license agreement or any other service or
subscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in this
document or any related presentation, or to develop or release any functionality mentioned therein. This
document, or any related presentation and SAP's strategy and possible future developments, products and
or platforms directions and functionality are all subject to change and may be changed by SAP at any time
for any reason without notice. The information in this document is not a commitment, promise or legal
obligation to deliver any material, code or functionality. This document is provided without a warranty of any
kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness
for a particular purpose, or non-infringement. This document is for informational purposes and may not be
incorporated into a contract. SAP assumes no responsibility for errors or omissions in this document, except
if such damages were caused by SAP´s willful misconduct or gross negligence.
All forward-looking statements are subject to various risks and uncertainties that could cause actual results
to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-
looking statements, which speak only as of their dates, and they should not be relied upon in making
purchasing decisions.
Legal disclaimer
© 2013 SAP AG. All rights reserved. 3 Customer
1. SAP Kernel =7.0x Maintenance
2. SAP Kernel ≥7.2x Maintenance
Agenda
© 2013 SAP AG. All rights reserved. 4 Customer
Key Principles
• The SAP Kernel 7.0x consisted of a kernel library and a kernel directory
• The kernel directory was created/updated from the kernel library (“library-centric”)
• The name of the kernel library in an SAP Kernel 7.0x was free of choice
• To activate a kernel library for an SAP System it had to be registered
Please notice:
SAP Kernels 7.0x (& SAP Kernels 7.1x) are out of maintenance since 09/2012.
Please use downward compatible SAP Kernels 7.2x instead.
SAP Kernel 7.0x Maintenance
© 2013 SAP AG. All rights reserved. 5 Customer
SAP Kernel 7.0x Maintenance
Kernel Update Procedure
1. The SAP System is running with SAP Kernel <krn> (<krn-lib>, <krn-dir>)
2. Use CPYLIB to duplicate the kernel library <krn-lib> to <krn-lib-new>
3. Run LOADSAPKRN resp. APYR3FIX to apply the update to <krn-lib-new>
4. Use CPYLIB to replicate <krn-lib-new> to all remote system instances
5. Stop the SAP System
6. Run APYSAP on all system instances to register <krn-lib-new> and to update
the kernel directory
7. Start the SAP System
Benefits
• Updating the kernel library is done on a duplicate and happens during uptime
(may take some time depending on the size of the update)
• The exact physical copy of the updated kernel library can be tested beforehand
• A before image backup of the kernel library is implicitly available
© 2013 SAP AG. All rights reserved. 6 Customer
SAP Kernel 7.0x Maintenance
Kernel Disaster Recovery
1. The SAP System using the updated SAP Kernel <krn> (<krn-lib-new>, <krn-dir>)
does not come up or does not work properly
2. Stop the SAP System
3. Run APYSAP an all system instances to register the formerly working kernel
library <krn-lib> and to update the kernel directory
4. Start the SAP System
© 2013 SAP AG. All rights reserved. 7 Customer
Key Principles
• The SAP Kernel consists of a kernel library and a kernel directory
• The kernel library is created/updated from the kernel directory (“directory-centric”)
• The name of the kernel libraries and kernel directories of an SAP System is
always predefined (therefore it doesn’t need to be registered):
• Without SAPCPE:
• The kernel directory is /sapmnt/<SID>/exe
• The kernel libraries are SAP<SID>IND
• With SAPCPE:
• The kernel directory /sapmnt/<SID>/exe and the kernel libraries SAP<SID>IND
serve as the kernel “staging area” and for interactive use by <sidadm>
• The instance kernel directories are /usr/sap/<SID>/<services><nn>/exe
(<services>∈{DVEBMGS, ASCS, SCS, D, J} and <nn> is the instance number)
• The instance kernel libraries are SAP<SID>I<nn>
SAP Kernel ≥7.2x Maintenance
© 2013 SAP AG. All rights reserved. 8 Customer
SAP Kernel ≥7.2x Maintenance
Kernel Update Procedure without SAPCPE
1. The SAP System is running with the original SAP Kernel
2. Stop the SAP System
3. Run APYSIDKRN to apply the update to the SAP Kernel
4. Start the SAP System
Benefits
• The complete SAP Kernel is updated with one single command
• The kernel libraries of remote system instances are automatically synchronized
• A backup of the original SAP Kernel is automatically generated and stored
Drawbacks
• Updating the SAP Kernel happens during downtime
(may take some time depending on the size of the update)
© 2013 SAP AG. All rights reserved. 9 Customer
SAP Kernel ≥7.2x Maintenance
Kernel Update Procedure with SAPCPE (see SAP Note 1632754)
1. The SAP System is running with the original SAP Kernel
2. Run APYSIDKRN to apply the update to the SAP Kernel in the staging area
3. Restart the SAP System
Benefits
• The complete SAP Kernel is updated with one single command
• Updating the SAP Kernel is prepared in the kernel staging area during uptime
(may take some time depending on the size of the update)
• The kernel libraries of remote system instances are automatically synchronized
• A backup of the original SAP Kernel is automatically generated and stored
• There is no manual activity required between stopping and starting the system
Please notice: Kernel Update using SAPCPE is the recommended procedure.
© 2013 SAP AG. All rights reserved. 10 Customer
SAP Kernel ≥7.2x Maintenance
Kernel Disaster Recovery
1. The SAP System using the updated SAP Kernel does not come up or does not
work properly
2. Stop the SAP System
3. Run APYSIDKRN in mode *FULLY with the backup of the original SAP Kernel to
restore its formerly working kernel
4. Start the SAP System
© 2013 SAP AG. All rights reserved. 11 Customer
© 2013 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or
warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group
products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing
herein should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in
Germany and other countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.
© 2013 SAP AG. All rights reserved. 12 Customer
© 2013 SAP AG. Alle Rechte vorbehalten.
Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die
ausdrückliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige
Ankündigung geändert werden.
Einige der von der SAP AG und ihren Distributoren vermarkteten Softwareprodukte enthalten proprietäre Softwarekomponenten anderer
Softwareanbieter.
Produkte können länderspezifische Unterschiede aufweisen.
Die vorliegenden Unterlagen werden von der SAP AG und ihren Konzernunternehmen („SAP-Konzern“) bereitgestellt und dienen ausschließlich zu
Informationszwecken. Der SAP-Konzern übernimmt keinerlei Haftung oder Gewährleistung für Fehler oder Unvollständigkeiten in dieser Publikation.
Der SAP-Konzern steht lediglich für Produkte und Dienstleistungen nach der Maßgabe ein, die in der Vereinbarung über die jeweiligen Produkte und
Dienstleistungen ausdrücklich geregelt ist. Keine der hierin enthaltenen Informationen ist als zusätzliche Garantie zu interpretieren.
SAP und andere in diesem Dokument erwähnte Produkte und Dienstleistungen von SAP sowie die dazugehörigen Logos sind Marken oder
eingetragene Marken der SAP AG in Deutschland und verschiedenen anderen Ländern weltweit. Weitere Hinweise und Informationen zum
Markenrecht finden Sie unter http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark.