Unix/Linux Go Back    


Homework & Coursework Questions Students must use and complete the template provided. If you don't, your post may be deleted! Special homework rules apply here.

Parallel execution on multiple servers in UNIX

Homework & Coursework Questions


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 04-26-2016
sneha1887 sneha1887 is offline
Registered User
 
Join Date: Apr 2016
Last Activity: 27 April 2016, 12:02 AM EDT
Location: Chennai, India
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Parallel execution on multiple servers in UNIX

I have a requirement (in a shell script) to connect to several servers at once and execute a series of commands.

I am aware that ssh can be used for sequential execution. But since most of the commands that I need to execute take a long time, I have to go for the parallel option.

Is there a way to run commands simultaneously without using any command line tools such as pssh, cluster ssh etc?

Can someone please help?
Sponsored Links
    #2  
Old Unix and Linux 04-26-2016
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 20 July 2017, 3:35 PM EDT
Location: Aachen, Germany
Posts: 11,052
Thanks: 284
Thanked 3,405 Times in 3,135 Posts
Did you consider executing the ssh sessions in background?
Sponsored Links
    #3  
Old Unix and Linux 04-26-2016
DukeNuke2's Unix or Linux Image
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 20 July 2017, 3:55 PM EDT
Location: Berlin, Germany
Posts: 5,693
Thanks: 72
Thanked 300 Times in 287 Posts
If you post homework, please follow the rules!
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Remote execution of a local script on multiple servers os2mac Solaris 3 03-01-2013 05:51 PM
Automatic execution of commands in multiple servers using single script. vickramshetty HP-UX 4 11-17-2009 11:17 AM
Parallel Execution on Multiple System 123an High Performance Computing 7 03-16-2009 03:59 AM
Plink connections to multiple unix servers Moxy Shell Programming and Scripting 2 08-28-2008 09:42 PM
Parallel Execution RishiPahuja Shell Programming and Scripting 4 05-10-2005 02:15 PM



All times are GMT -4. The time now is 12:40 AM.