Unix/Linux Go Back    


Homework & Coursework Questions Students must use and complete the template provided. If you do not use the template 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   -   Original Discussion by sneha1887
sneha1887's Unix or Linux Image
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   -   Original Discussion by sneha1887
RudiC's Unix or Linux Image
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 21 May 2018, 6:55 AM EDT
Location: Aachen, Germany
Posts: 12,716
Thanks: 412
Thanked 3,910 Times in 3,596 Posts
Did you consider executing the ssh sessions in background?
Sponsored Links
    #3  
Old Unix and Linux 04-26-2016   -   Original Discussion by sneha1887
DukeNuke2's Unix or Linux Image
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 21 May 2018, 11:17 AM EDT
Location: Berlin, Germany
Posts: 5,715
Thanks: 74
Thanked 305 Times in 291 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 04:39 PM.