Skip to content

Commit

Permalink
Enable wmp-checker for SLE15SP4.
Browse files Browse the repository at this point in the history
Tested against SLE4SAP 15SP4 image.
  • Loading branch information
nick-wang authored and Werkov committed Nov 1, 2021
1 parent 40eb1b0 commit 0992962
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Execute_20 = local /usr/lib/sapwmp/sapwmp-capture -a
```

More details about SAP WMP in general is in
[SUSE doc](https://documentation.suse.com/sles-sap/15-SP2/html/SLES-SAP-guide/cha-memory-protection.html).
[Confluence](https://confluence.suse.com/display/SAP/Workload+Memory+Protection).


Expand Down
5 changes: 3 additions & 2 deletions scripts/wmp-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
# Support RPM package version check
# 19.04.2021 v1.1.2 Remove sapstartsrv from process tree to capture
# Enable support for SLE15SP3
# 1.11.2021 Enable support for SLE15SP4

version="1.1.2"

Expand Down Expand Up @@ -777,10 +778,10 @@ PROD=""

[ -f "/etc/products.d/SLES_SAP.prod" ] && PROD="4sap"
case "${ID}${PROD}-${VERSION-ID}" in
sles4sap-15|sles4sap-15-SP1|sles4sap-15-SP2|sles4sap-15-SP3)
sles4sap-15|sles4sap-15-SP1|sles4sap-15-SP2|sles4sap-15-SP3|sles4sap-15-SP4)
;;
*)
echo "Only SLES for SAP Applications 15 SP0/1/2/3 are supported! Your OS is ${ID}${PROD}-${VERSION}. Exiting."
echo "Only SLES for SAP Applications 15 SP0/1/2/3/4 are supported! Your OS is ${ID}${PROD}-${VERSION}. Exiting."
exit 2
;;
esac
Expand Down

0 comments on commit 0992962

Please sign in to comment.