Hi folks
Howto do quick remote health check for SAP systems on UNIX commandline? To see if a SAP system is down or in maintenace mode (no login).
I am searching something like "tnsping"/Oracle for SAP systems.
Hi folks
Howto do quick remote health check for SAP systems on UNIX commandline? To see if a SAP system is down or in maintenace mode (no login).
I am searching something like "tnsping"/Oracle for SAP systems.
Hi,
sapinfo (part of the RFC-SDK) can give you info about the status of your SAP-system.
If you need only the tnsping-like information (only tells you if the listener is running, your database may be shut down) niping may be sufficient.
Stefan
Hi Stefan
thanks for answer. Can you give me a quick guide howto use those tools? Is a SAP account required?
$ ./SAPCAR_4-20001044.exe -xvf NWRFC_1-20004573.SAR
$ ls
NWRFC_1-20004573.SAR SAPCAR_4-20001044.exe*
nwrfcsdk/
$ find nwrfcsdk/
nwrfcsdk/
nwrfcsdk/lib
nwrfcsdk/lib/libsapucum.so
nwrfcsdk/lib/libicui18n.so.34
nwrfcsdk/lib/libicudata.so.34
nwrfcsdk/lib/libicudecnumber.so
nwrfcsdk/lib/libicuuc.so.34
nwrfcsdk/lib/libsapnwrfc.so
nwrfcsdk/include
nwrfcsdk/include/sapnwrfc.h
nwrfcsdk/include/sapdecf.h
nwrfcsdk/include/sapuc.h
nwrfcsdk/include/sapucx.h
nwrfcsdk/bin
nwrfcsdk/bin/rfcexec
nwrfcsdk/bin/startrfc
nwrfcsdk/doc
nwrfcsdk/demo
nwrfcsdk/demo/sapnwrfc.ini
nwrfcsdk/demo/sso2sample.c
nwrfcsdk/demo/rfcexec.h
nwrfcsdk/demo/companyClient.c
nwrfcsdk/demo/startrfc.cpp
nwrfcsdk/demo/stfcDeepTableServer.c
nwrfcsdk/demo/rfcexec.cpp
nwrfcsdk/demo/sflightClient.c
nwrfcsdk/demo/startrfc.h
$ setenv LD_LIBRARY_PATH [...]sapinfo/nwrfcsdk/lib
$ ./rfcexec
Error: ��
�
Please start the program in the following way:
rfcexec -t -a <program ID> -g <gateway host> -x <gateway service>
-f <file with list of allowed commands> -s <allowed Sys ID>The options "-t" (trace), "-f" and "-s" are optional.
$ ./startrfc -h hostname.domain.net -s 00
Missing or invalid -u option.
[...]