Hi Roy Two things you can look at:
func https://fedorahosted.org/func/ mcollective http://docs.puppetlabs.com/mcollective/ On Wed, Apr 6, 2011 at 2:24 AM, Roy Smith <r...@panix.com> wrote: > In article <mailman.52.1302022780.9059.python-l...@python.org>, > geremy condra <debat...@gmail.com> wrote: > > > On Tue, Apr 5, 2011 at 7:51 AM, Babu <bab...@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. > > Agreed on the fabric (fabfile.org) recommendation. We've been using it > for about 6 months. Very handy. > > I'm not sure how to parse: > > > We cannot use ssh as root remote connectivity as well. > > but with 1000's of servers, I really don't see any alternative to ssh, > with key authentication. You don't really propose to type passwords at > 1000's of machines, do you? > > As far as fabric goes, it's not perfect, but it's pretty good and if you > try to roll your own alternative, you will likely 1) waste a lot of time > and money and 2) end up with an inferior solution. > > -- > http://mail.python.org/mailman/listinfo/python-list > >
-- http://mail.python.org/mailman/listinfo/python-list