How to program in Python to run system commands in 1000s of servers

geremy condra debatem1 at gmail.com
Tue Apr 5 18:59:37 CEST 2011


On Tue, Apr 5, 2011 at 7:51 AM, Babu <babukk at gmail.com> wrote:
>
> Here is my problem:  Want to program in python to run sysadmin
> commands across 1000s of servers and gather the result in one place.
> Many times the commands need to be run as root.  We cannot use ssh as
> root remote connectivity as well.  What are the different ways of
> programming in python to achieve this?

There are a bajillion ways to do it badly, but SSH sounds like the
right tool for the job here. You really don't want your remote admin
system compromised, and fabric makes this kind of thing really much
less painful.

Geremy Condra



More information about the Python-list mailing list