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

Thread Tools Search this Thread Display Modes
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
Old Unix and Linux 04-26-2016
RudiC RudiC is offline Forum Staff  
Join Date: Jul 2012
Last Activity: 29 April 2017, 11:25 AM EDT
Location: Aachen, Germany
Posts: 10,705
Thanks: 264
Thanked 3,285 Times in 3,026 Posts
Did you consider executing the ssh sessions in background?
Sponsored Links
Old Unix and Linux 04-26-2016
DukeNuke2's Unix or Linux Image
DukeNuke2 DukeNuke2 is offline Forum Staff  
Join Date: Jul 2006
Last Activity: 30 April 2017, 3:46 AM EDT
Location: Berlin, Germany
Posts: 5,688
Thanks: 70
Thanked 300 Times in 287 Posts
If you post homework, please follow the rules!
Sponsored Links

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:57 AM.