quick remote health check SAP systems from UNIX commandline


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users quick remote health check SAP systems from UNIX commandline
# 1  
Old 11-08-2010
quick remote health check SAP systems from UNIX commandline

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.
# 2  
Old 11-08-2010
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
# 3  
Old 11-09-2010
Hi Stefan

thanks for answer. Can you give me a quick guide howto use those tools? Is a SAP account required?

Code:
$ ./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.

[...]

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX Health Check

Hi everyone, I am new to the Unix admin position, needed some help. My management wants to report how their over all AIX servers / environment is doing so far. I've been researching and found multiple commands to run on each LPAR, well I have few questions and also wanted to share the commands Im... (12 Replies)
Discussion started by: Adnans2k
12 Replies

2. Shell Programming and Scripting

Quick Perl "s2p" Commandline Q . . .

Greetings! Looking to clear up a rather simple matter which seems to nonetheless elude me: How does one call Perl's s2p from the commandline? I've tried such as this:perl -e s2p '-i 's/first/last/g' ./somefile.txt'...to convert a similarly-formed GNU sedline over to the Perl equivalent (without... (2 Replies)
Discussion started by: LinQ
2 Replies

3. HP-UX

HP-UX Health Check

Hi Experts, I want to check health of hp-ux box. Basically I want to check if there are possibilities of network/memory/cpu bottleneck? Are there are any commands available other than glance in hp-ux for the same? (11 Replies)
Discussion started by: sai_2507
11 Replies

4. UNIX for Advanced & Expert Users

Check EOF char in Unix. OR To check file has been received completely from a remote system

Advance Thanks. (1) I would like to know any unix/Linux command to check EOF char in a file. (2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies

5. Solaris

How to check "faulty" or "stalled" print queues - SAP systems?

Hi all, First off, sorry for a long post but I think I have no other option if I need to explain properly what I need help for. I need some advise on how best to check for "faulty" or "stalled/jammed' print queues. At the moment, I have three (3) application servers which also acts as print... (0 Replies)
Discussion started by: newbie_01
0 Replies

6. Solaris

/usr/sap/psu file systems full.

Hi Ive been facing a prob today in SAP which is been installed in solaris .the prob is one of my file systems tat is /usr/sap/psu is gettin full.i chkd the file named core which gets generated so i was asked to delete that file after doing tat my file systems space was 90%,but the prob is that... (0 Replies)
Discussion started by: madanmeer
0 Replies

7. Shell Programming and Scripting

Health check script

Hi, I have a server type(A group of AIX,HP-UX and Linux servers running with different appn) in which i need to do health check(memory,cpu,h/w etc). I am planning to automate the same. Please help me out in writing the same. Thanks Renjesh Raju (9 Replies)
Discussion started by: Renjesh
9 Replies

8. AIX

Vulnerability AIX server (GROUPS/USERS) and SAP Systems ?

I hope you can understand me, although my english is not so good. I have a problem. I have installed 4 SAP Systems with different releases on the same server (AIX). Each SAP system has got its own operating system user through the installation. But all users belong to the group SAPSYS. So in other... (3 Replies)
Discussion started by: momok1976
3 Replies

9. UNIX for Advanced & Expert Users

Working with remote Unix files systems from Windows

I am currently using Samba to access remote Unix file systems from Windows. However, it is slow, and I presume insecure in the sense that file contents are transmitted unencrypted. I also wonder if passwords are transmitted in plain text in this protocol or not. For these reasons I am looking for... (2 Replies)
Discussion started by: Bilge
2 Replies

10. HP-UX

check health

Dear Gentelmen I need command for display to me the following statement: -battery state -The application if working or not -The cpu is working or not -The power supply is working or not -The Data base is workig or not (2 Replies)
Discussion started by: magasem
2 Replies
Login or Register to Ask a Question