← ClaudeAtlas

sap-kernel-patchlisted

Patch the SAP kernel and update the SAP Host Agent on Linux/Windows/AIX — version assessment, the manual swap (stop → back up exe → SAPCAR extract SAPEXE/SAPEXEDB → saproot.sh → start → verify), Host Agent self-upgrade, rollback, and which archives you actually need: SAPEXE/SAPEXEDB exist only for SP Stack Kernels, everything between is a cumulative hotfix (DW.SAR, LIB_DBSL.SAR, TP.SAR). Covers Rolling Kernel Switch — the separate-ASCS prerequisite, StoC.xml, the mandatory cluster switch, no Java/dual-stack. Use for "patch the kernel", "kernel upgrade", "update disp+work", "update the host agent", "rolling kernel switch", "RKS", "SP Stack Kernel", "which DW.SAR do I need".
adam0thman/sap-basis-ops · ★ 0 · Data & Documents · score 72
Install: claude install-skill adam0thman/sap-basis-ops
# SAP Kernel Patch & Host Agent Update Two independent operations: - **Kernel patch** — swap the SAP executables to a higher patch level (**requires instance downtime**). - **Host Agent update** — update `/usr/sap/hostctrl` (SID-independent, **no SAP-system downtime**). > **Guardrail — kernel swap is a controlled change with a rollback.** > - **Right binary or it won't start:** match **kernel release + patch level + platform + Unicode + DB** > (the DB-dependent part). Wrong platform/Unicode = dead instance. > - **Back up the current `exe` directory first** — that's your rollback. > - **UNIX: run `saproot.sh <SID>` after extracting** — restores root/setuid bits; the instance won't > start without it. (The most-forgotten step.) > - Downtime: stop the instance(s) before replacing files (they're locked while running). > - Identify SID/host/OS/DB → classify PRD → preview → confirm (typed for PRD) → step → verify. > - **Claude does not download** — the SAP Software Center login is yours; Claude tells you exactly which > `.SAR` files to get. Verification legend: **[V]** verified against the live help.sap.com page during authoring · **[G]** cited to the official guide/Note. --- ## 1. Assess current versions (read-only, safe) ```bash disp+work -version # kernel release, patch level, Unicode, DB client [G, KP2] # also: SM51 → Release info, or System → Status in SAP GUI /usr/sap/hostctrl/exe/saphostexec -version # Host Agent version [V, HA1] ``