Forum Discussion

martin_winter's avatar
martin_winter
Trekker I
6 months ago
Solved

PS SAPHANA Toolkit - error running ps_saphana_cfg_check

Hi everyone,

I'm having trouble running the ps_saphana_cfg_check command for checking/applying the best practices on a freshly installed baremetal SUSE 15 SP5 (HPE DL380 Gen11).

Can anyone push me in the correct direction?

 

# python3 --version
Python 3.6.15
# openssl version
OpenSSL 1.1.1l  24 Aug 2021 SUSE release 150500.15.4
# cat /etc/os-release
NAME="SLES"
VERSION="15-SP5"
VERSION_ID="15.5"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP5"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15:sp5"
# systemd-detect-virt
none

# rpm -ivh ps_saphana_toolkit-0.0.1-1.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:ps_saphana_toolkit-0.0.1-1       ################################# [100%]
   
 # ps_saphana_cfg_check
systemd-detect-virt: /tmp/_MEI7s0YQK/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/systemd/libsystemd-shared-249.so)
the system is a VM on an unsupported platform

 Checking kernel IO parameters

Traceback (most recent call last):
  File "ps_saphana_cfg_check.py", line 307, in <module>
  File "ps_saphana_cfg_check.py", line 89, in apply_recommended_settings
AttributeError: 'NoneType' object has no attribute 'get'
[24302] Failed to execute script ps_saphana_cfg_check

 

Thanks in advance.

  • Hi Martin -

    Thanks for the details - let me try to hit each one below.
    1. Yes - The optimizations for SAP HANA are generally done at the OS level.  The beauty of FlashArray is its simplicity and the fact there aren't a lot of knobs to turn to tune it.

    2. Apologies - thanks for noticing that.  I'll submit a request to get that fixed.  The link should head here.  

    3. Again, thank you - i'll log another request to get that fixed.

    4. Yes - totally agree.  I'll talk to the Linux team here at Pure and see if they have anything in the pipeline to help with those recommended settings.

    Thanks for your feedback!

    -Ryan

7 Replies

  • Hi Martin -

    I hope you're doing well!  So I asked around our solutions engineering team and the response I got back was that this utility has been deprecated and was replaced recently with the reference architecture guide which should contain all the best practices you would need for your SAP HANA environment.   If theres something specific you're looking for guidance on in the best practices please let me know and I'd be happy to take a look with you.

    Thank you,
    Ryan Arsenault
    Principal Field Solutions Architect - SAP

    • martin_winter's avatar
      martin_winter
      Trekker I

      Soooooo, after first looking into it, there seem to be some "rough edges":

      1. Do I understand it correctly, apply the OS relevant best practices and then run saptune?
      2.  reference architecture guide Page 28 -> "Follow the Linux Recommended Settings guide" link is dead (The page you’re looking for has moved). Should this link really go to the Oracle on FlashArray Solution page?
      3. If the Toolkit is deprecated - please remove it from the documentation (https://support.purestorage.com/bundle/m_sap_02/page/Solutions/SAP/SAP_HANA_on_FlashArray/Getting_Started/topics/concept/c_using_the_pure_storage_sap_hana_toolkit.html)
      4. There should be an easy way to set these recommendations (propably a script *hint hint* ;-) ) - are this (https://support.purestorage.com/bundle/m_sap_02/page/Solutions/SAP/SAP_HANA_on_FlashArray/Getting_Started/topics/reference/r_applying_best_practice_recommendations.html) settings still prefered?
      • rarsenault-pure's avatar
        rarsenault-pure
        Day Hiker II

        Hi Martin -

        Thanks for the details - let me try to hit each one below.
        1. Yes - The optimizations for SAP HANA are generally done at the OS level.  The beauty of FlashArray is its simplicity and the fact there aren't a lot of knobs to turn to tune it.

        2. Apologies - thanks for noticing that.  I'll submit a request to get that fixed.  The link should head here.  

        3. Again, thank you - i'll log another request to get that fixed.

        4. Yes - totally agree.  I'll talk to the Linux team here at Pure and see if they have anything in the pipeline to help with those recommended settings.

        Thanks for your feedback!

        -Ryan

  • Thanks Martin - pinging a couple of SAP resources to take a look for you.