Sponsored Content
Top Forums Shell Programming and Scripting Shell script to connect from one server to other Post 302929569 by Venu V Reddy on Tuesday 23rd of December 2014 01:54:23 AM
Old 12-23-2014
Hi,

So you basically just need to write your script to trigger the SAP event.--> Thats correct. The script will be in server1 and the SAP Event trigger will be in server2.

My requirement at high level is:
1. Connect from SAP PI (Server 1) OS to SAP ECC (server 2) OS securely in script. both are in same network.
2. Trigger a SAP Event in SAP ECC (Server 2) once connected to it with the help of same script (Running on server 1).
3. Close the connection.
The script run will be called from SAP PI Communication channel with the help Run OS Command after message process.

Thanks & Regards,
Venu V Reddy
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to connect sftp server using script

Hi friend I have a command: sftp -v dtxsttp90102@dtx.us.dell.com I need to connect sftp server using above command and grep for some files and need to back to script can anyone tell me how to write script connectingSFTP.sh -------------------- sftpCmd=`sftp -v... (1 Reply)
Discussion started by: kittusri9
1 Replies

2. Shell Programming and Scripting

shell script for how to connect to a remote server by using ssh

i want to connect to a remote server through ssh. i have to also provide password within that script. after connecting to the remote server i want to do some operations like grep,cd etc can u pls help me to wite a script. Thanks (1 Reply)
Discussion started by: millan
1 Replies

3. Programming

How to write a shell script to connect to another server?

Hello friends I want to write a script in which I will connect to my friends network. I want to use SSH. Even they can use the script to log into my network and copy files. ssh user@hostname command I know the following command will help me to log into Google's servers and see all the... (12 Replies)
Discussion started by: Angelo
12 Replies

4. Shell Programming and Scripting

Shell Script to connect to another server and copying files

Hi Unix Gurus, I have a doubt reg file transfer. I have used the below script to connect to another server and find files having modified for the last 24 hours and have to move the file to another server. While i tried i am getting authentication failed, destination path not found issue. ... (2 Replies)
Discussion started by: incepted
2 Replies

5. Shell Programming and Scripting

connect to SQL server from shell script

Hi all, I need to connect to SQL server from shell script. Then need to execute queries from shell script. Kindly let me know on how to do this Thanks, Ananthi.U (1 Reply)
Discussion started by: ananthi_ku
1 Replies

6. Solaris

connect to SQL server from shell script

Hi all, I need to connect to SQL server from shell script. Then need to execute queries from shell script as below 1. To compare values of an array with SQL table's entry. Kindly let me know on how to do this Thanks, Double post. Continue here (0 Replies)
Discussion started by: amitbhelave
0 Replies

7. Shell Programming and Scripting

connect to SQL server from shell script

Hi all, I need to connect to SQL server from shell script. Then need to execute queries from shell script as below 1. To compare values of an array with SQL table's entry. I am using solaris-5.1 to run shell script and want to connect to SQL-5.1 which is installed on SantOS. Kindly let... (3 Replies)
Discussion started by: amitbhelave
3 Replies

8. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

9. Shell Programming and Scripting

Script connect to remote server, not find files and exit only from remote server, but not from scrip

I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies

10. Shell Programming and Scripting

Not able to connect to Oracle server from shell script

Hi, I am facing an issue in connecting to database from Linux shell script. Here is my code export ORACLE_BASE=xxx export ORACLE_SID=xxx export ORACLE_HOME=xxxx DB_PATH=xxx/'yyy@yy' UserId=`sqlplus -s $DB_PATH <<EOF set head off feedback off select max(USER_ID)+1 from USERS;... (6 Replies)
Discussion started by: yuvi
6 Replies
afe(7D) 							      Devices								   afe(7D)

NAME
afe - ADMtek Fast Ethernet device driver SYNOPSIS
/dev/afe DESCRIPTION
The afe driver is a multi-threaded, loadable, clonable, GLD-based STREAMS driver supporting the Data Link Provider Interface dlpi(7P) on ADMtek (now Infineon) Centaur and Comet Fast Ethernet controllers. APPLICATION PROGRAMMING INTERFACE
The afe driver can be used as either a "style 1" or a "style 2" Data Link Service Provider. Physical points of attachment (PPAs) are inter- preted as the instance number of the afe controller as assigned by the Solaris operating environment. The relevant fields returned as part of a DL_INFO_ACK response are: o Maximum SDU is 1500. o Minimum SDU is 0. o The dlsap address length is 8. o MAC type is DL_ETHER. o SAP length is -2. The 6-byte physical address is followed immediately by a 2-byte SAP. o Service mode is DL_CLDLS. o Broadcast address is the 6-byte Ethernet broadcast address (ff:ff:ff:ff:ff:ff). If the SAP provided is zero, then IEEE 802.3 mode is assumed and outbound frames will have the frame payload length written into the type field. Likewise, inbound frames with a SAP between zero and 1500 are interpreted as IEEE 802.3 frames and delivered to any streams that are bound to SAP zero (the 802.3 SAP). PROPERTIES
The following properties may be configured using either ndd(1M) or the afe.conf configuration file as described by driver.conf(4): adv_autoneg_cap Enables (default) or disables IEEE 802.3u auto-negotiation of link speed and duplex settings. If enabled, the device negotiates among the supported (and configured, see below) link options with the link partner. If disabled, at least one of the link options below must be specified. The driver selects the first enabled link option according to the IEEE 802.3u specified preferences. adv_100T4_cap Enables the 100 BaseT4 link option. (Note that most hardware does not support this unusual link style. Also, this uses two pairs of wires for data, rather than one.) adv_100fdx_cap Enables the 100 Base TX full-duplex link option. (This is generally the fastest mode if both link partners support it. Most modern equipment supports this mode.) adv_100hdx_cap Enables the 100 Base TX half-duplex link option. (Typically used when the link partner is a 100 Mbps hub.) adv_10fdx_cap Enables the 10 Base-T full-duplex link option. (This less-frequently used mode is typically used when the link partner is a 10 Mbps switch.) adv_10hdx_cap Enables the 10 Base-T half-duplex link option. (This is the fall-back when no other option is available. It is typically used when the link partner is a 10 Mbps hub or is an older network card.) ATTRIBUTES
See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SPARC, x86 | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ FILES
/dev/afe Special character device. /kernel/drv/afe 32-bit driver binary (x86). /kernel/drv/amd64/afe 64-bit driver binary (x86). /kernel/drv/sparcv9/afe 64-bit driver binary (SPARC). /kernel/drv/afe.conf Configuration file. SEE ALSO
ndd(1M), driver.conf(4), attributes(5), streamio(7I), dlpi(7P) IEEE 802.3 -- Institute of Electrical and Electronics Engineers, 2002 SunOS 5.11 1 Apr 2007 afe(7D)
All times are GMT -4. The time now is 03:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy