Hi Roy<div><br></div><div>Two things you can look at:</div><div><br></div><div>func</div><div><a href="https://fedorahosted.org/func/">https://fedorahosted.org/func/</a></div><div><br></div><div>mcollective</div><div><a href="http://docs.puppetlabs.com/mcollective/">http://docs.puppetlabs.com/mcollective/</a></div>
<div><br></div><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Wed, Apr 6, 2011 at 2:24 AM, Roy Smith <span dir="ltr"><<a href="mailto:roy@panix.com">roy@panix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">In article <<a href="mailto:mailman.52.1302022780.9059.python-list@python.org">mailman.52.1302022780.9059.python-list@python.org</a>>,<br>

 geremy condra <<a href="mailto:debatem1@gmail.com">debatem1@gmail.com</a>> wrote:<br>
<br>
> On Tue, Apr 5, 2011 at 7:51 AM, Babu <<a href="mailto:babukk@gmail.com">babukk@gmail.com</a>> wrote:<br>
> ><br>
> > Here is my problem:  Want to program in python to run sysadmin<br>
> > commands across 1000s of servers and gather the result in one place.<br>
> > Many times the commands need to be run as root.  We cannot use ssh as<br>
> > root remote connectivity as well.  What are the different ways of<br>
> > programming in python to achieve this?<br>
><br>
> There are a bajillion ways to do it badly, but SSH sounds like the<br>
> right tool for the job here. You really don't want your remote admin<br>
> system compromised, and fabric makes this kind of thing really much<br>
> less painful.<br>
<br>
Agreed on the fabric (<a href="http://fabfile.org" target="_blank">fabfile.org</a>) recommendation.  We've been using it<br>
for about 6 months.  Very handy.<br>
<br>
I'm not sure how to parse:<br>
<br>
> We cannot use ssh as root remote connectivity as well.<br>
<br>
but with 1000's of servers, I really don't see any alternative to ssh,<br>
with key authentication.  You don't really propose to type passwords at<br>
1000's of machines, do you?<br>
<br>
As far as fabric goes, it's not perfect, but it's pretty good and if you<br>
try to roll your own alternative, you will likely 1) waste a lot of time<br>
and money and 2) end up with an inferior solution.<br>
<br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br></div>