If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Shell Script need to be executed remotely

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-26-09, 05:35
sekhar bade sekhar bade is offline
Registered User
 
Join Date: Nov 2009
Posts: 9
Shell Script need to be executed remotely

Hi all,
I want to execute the shell script remotely.I've Shell script in server1 .
By log-in into server1,i want to execute the same script in server2
without ftp or scp(copy) the script to server2.

Thanks in Advance
BADE
Reply With Quote
  #2 (permalink)  
Old 11-26-09, 11:41
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
maybe task center can help
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 11-27-09, 05:56
sekhar bade sekhar bade is offline
Registered User
 
Join Date: Nov 2009
Posts: 9
Thanks for ur reply,I don't want to execute the script in taskcenter,cron or unicentre.
I'm trying to avoid having to set it up on the server2.
Looking for a remote execution solution.Help me regarding this.

Thanks
BADE
Reply With Quote
  #4 (permalink)  
Old 11-27-09, 08:16
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Take a look at rsh/ssh. You may need to copy your script to the filesystem accessible by both servers.
Reply With Quote
  #5 (permalink)  
Old 11-27-09, 08:40
nkamalkishore nkamalkishore is offline
Registered User
 
Join Date: Nov 2009
Posts: 3
I've tried both rsh and ssh ..but we have to copy the script into server2.
is there anyway to run the script remotely without copying into server2.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On