2 # This script executes a chain of commands
3 # on all the member servers, in parallel.
4 # Commands are defined in .sh files (see
5 # docmd.sh); all failed executions are
6 # put to the FAILURES file
12 if [ -z "$SERVERS" ]; then
17 # Line format in $SERVERS: <hostname>:<port number>
18 for srvstr in `grep -v '^#' $SERVERS`; do
22 if [[ $port && $srv == $port ]]; then
25 if ! ./docmd $srv $1 $port; then