I have 100 servers which need a new backup server added to a text file, and then the backup agent restarted.

Paul McGuire ptmcg at austin.rr._bogus_.com
Sat Jul 1 19:06:50 EDT 2006


"gavino" <bootiack at yahoo.com> wrote in message
news:1151750046.245198.61860 at d56g2000cwd.googlegroups.com...
> This seems easy but I have been asking tcl and python IRC chat all day
> and no one gave an answer.
> I have 100 servers which need a new backup server added to a text file,
>  and then the backup agent restarted.
> If I have a list of the servers, all with same root password, and the
> connection is ssh.
> How do I connect to the server, cat the line to the config file, stop
> adn start the agent, and then do same to next server in list and
> iterate through the 100 servers.
> What script would allow this?
>

Could this project help you? http://sourceforge.net/projects/distribulator/

It sounds similar to what you describe.

-- Paul






More information about the Python-list mailing list