This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Parallel SSH execution and a single shell to control them all

Posted by: Anonymous [ip: 64.89.94.194] on October 30, 2008 01:05 PM
Another product that you should check out is called Func https://fedorahosted.org/func
from the product description:
Func is a secure, scriptable remote control framework and API. It is intended to replace SSH scripted infrastructure for a variety of datacenter automation tasks (such as taking hardware inventory, running queries, or executing remote commands) that are run against a large amount of systems at the same time. Func provides both a command line tool and a simple and powerful Python API. It is also intended to be very easy to integrate with your provisioning environment and tools like Cobbler.

So say you need to update just your test machines you do:
func "*.test.example.org" call yumcmd update

#

Return to Parallel SSH execution and a single shell to control them all