Sponsored Content
Top Forums UNIX for Advanced & Expert Users quick remote health check SAP systems from UNIX commandline Post 302470064 by slashdotweenie on Tuesday 9th of November 2010 05:42:33 AM
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.

[...]

 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
SAM_STOP(3)					    Corosync Cluster Engine Programmer's Manual 				       SAM_STOP(3)

NAME
sam_stop - Stop health checking SYNOPSIS
#include <corosync/sam.h> cs_error_t sam_stop (void); DESCRIPTION
The sam_stop function is used to stop health checking of an active process. After calling this function, the application no longer should send helathchecks. In the case of event driven healthchecking, the healthchecking thread will be stopped. A process can always start health checking again by calling sam_start(3) function. RETURN VALUE
This call return CS_OK value if successful, otherwise and error is returned. ERRORS
CS_ERR_BAD_HANDLE health checking was not started by calling sam_start(3) function. SEE ALSO
sam_start(3) CS_ERR_TRY_AGAIN Resource temporarily unavailable CS_ERR_INVALID_PARAM Invalid argument CS_ERR_ACCESS Permission denied CS_ERR_LIBRARY The connection failed CS_ERR_INTERRUPT System call inturrupted by a signal CS_ERR_NOT_SUPPORTED The requested protocol/functuality not supported CS_ERR_MESSAGE_ERROR Incorrect auth message received CS_ERR_NO_MEMORY Not enough memory to completed the requested task corosync Man Page 12/01/2009 SAM_STOP(3)
All times are GMT -4. The time now is 04:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy