cs_precheck_for_hana(8)

πŸ“¦ version 3.1.3, in opensuse-leap 16.0

πŸ’… cs_precheck_for_hana β€” the vibe check for your HANA box

ok so you found cs_precheck_for_hana(8) in the ClusterTools2 corner of the manual and you're like "what does this even do" β€” bestie, same, but I got you. Stick with me 🫢


✨ NAME ✨

cs_precheck_for_hana β€” checks the pre-requisites for SAP HANA System Replication and for automation with a SLE-HA cluster πŸ”₯


🌸 SYNOPSIS 🌸

cs_precheck_for_hana [OPTION]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so cs_precheck_for_hana checks whether a Linux system is prepared for running SAP HANA in general. and like, not just that β€” it also checks the pre-requisites for SAP HANA System Replication automation with a SLE-HA cluster. two-for-one, we love to see it πŸ’…

the check is done according to the concept described in the setup guide SAP HANA System Replication on SLES for SAP Applications.

the way to do it: check all nodes of a cluster, no skipping πŸ™ˆ. you can totally re-direct the output of cs_precheck_for_hana into a file. and then β€” plot twist β€” you can compare the output files from different hosts to make sure all nodes of a cluster are set up identically. this is helpful particularly in scale-out scenarios. iconic, honestly ✨


πŸŽ€ OPTIONS πŸŽ€

the global options are:

  • --help β€” show help information.
  • --version β€” show version.
  • --writecfg β€” show some internal variables.
  • --base β€” show basic OS configuration, related to SAP HANA and its System Replication.
  • --apps β€” show basic HANA application configuration, and more specific related OS settings.

πŸ’€ EXIT STATUS πŸ’€

  • 0 β€” successful program execution. slay πŸŽ‰
  • >0 β€” usage, syntax or execution errors. not the vibe 😭

🌈 EXAMPLES 🌈

  • Show help.
# cs_precheck_for_hana -h
  • Check for basic OS pre-requisites needed to install SAP HANA. Items needed to set up automation for System Replication are also checked.
# cs_precheck_for_hana -b
  • Find differences between nodep and nodeq.
# cs_precheck_for_hana -b >nodeq.precheck.txt 2>/dev/null
# ssh root@nodep "cs_precheck_for_hana -b 2>/dev/null" >nodep.precheck.txt
# diff --suppress-common-lines nodeq.precheck.txt nodep.precheck.txt
  • Include findings of cs_precheck_for_hana with supportconfig file.
# sed -i s/#precheck_for_hana/precheck_for_hana/ /etc/ClusterTools2/supportconfig_plugins
# supportconfig

πŸ“ FILES πŸ“

  • /usr/sbin/cs_precheck_for_hana β€” the program itself. main character energy, obviously πŸ‘‘
  • /etc/ClusterTools2/cs_precheck_for_hana, /etc/ClusterTools2/cs_show_supportconfig β€” the configuration files.

🧚 BUGS 🧚

heads up bestie, real talk: the formatting and content of this script's output will change, since this script is under development. no cap. also, checks specific to the HANA application are currently not implemented β€” so don't come for it, it's literally still growing 😭

feedback is welcome, please mail to feedback@suse.com πŸ’Œ


πŸ”₯ SEE ALSO πŸ”₯

also some relevant SAP Notes are (list not complete): 0045827, 0061136, 0153641, 0171356, 0611361, 0618104, 0784391, 0962334, 0989963, 1056161, 1100926, 1102124, 1122387, 1262987, 1275776, 1310037, 1382721, 1391070, 1437105, 1492000, 1501701, 1514966, 1514967, 1522993, 1523337, 1557506, 1597355, 1599888, 1606643, 1629558, 1635304, 1637145, 1647204, 1681092, 1681360, 1698281, 1730928, 1730999, 1731000, 1736976, 1758890, 1774566, 1788665, 1793345, 1813548, 1824788, 1824819, 1846872, 1872170, 1876398, 1888072, 1890444, 1900823, 1903576, 1943937, 1944415, 1944799, 1950470, 1953429, 1954788, 1984787, 1995460, 1999880, 1999993, 1999997, 2000003, 2001528, 2024433, 2031375, 2043509, 2055470, 2081065, 2086829, 2100566, 2123714, 2130682, 2131662, 2133369, 2157587, 2161344, 2165547, 2187639, 2188482, 2205917, 2218464, 2222200, 2227464, 2235581, 2246163, 2284516, 2299260, 2382421

(c) 2015-2019 L.Pinne, Germany.

cs_precheck_for_hana comes with ABSOLUTELY NO WARRANTY. for details see the GNU General Public License at http://www.gnu.org/licenses/gpl.html


and that's the whole thing bestie, you ate that πŸ’…βœ¨ this little page comes from ClusterTools2, dated 01 Nov 2019 β€” go forth and precheck those nodes, mwah πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from