public marks

PUBLIC MARKS with tags ssh & html

06 October 2008 09:00

Tentakel to execute commands on multiple Linux or UNIX Servers

by camel
Many times, you want to execute a command not only on one server, but also on several servers. For example, find out * Version of kernel * Version of Apache web server * Update static html or images files on all web servers via rsync * Find out user information, server information, memory usage etc * Security/patch checking tentakel I have already covered how to execute commands on multiple Linux or UNIX servers via shell script. The disadvantage of script is commands do not run in parallel on all servers. However, several tools exist to automate this procedure in parallel. With the help of tool called tentakel, you run distributed command execution. It is a program for executing the same command on many hosts in parallel using ssh (it supports other methods too). Main advantage is you can create several sets of servers according requirements. For example webserver group, mail server group, home servers group etc. The command is executed in parallel on all servers in this group (time saving). By default, every result is printed to stdout (screen). The output format can be defined for each group.

PUBLIC TAGS related to tag ssh

apache +   format +   html +   images +   linux +   mail +   script +   server +   shell +   tools +   web +  

Active users

camel
last mark : 06/10/2008 09:09