#!/bin/bash
word="$1"
export word
abc() {
for i in {1..5}
do
mkdir -p /t/temp$i
#Run the tool
}
export -f abc
SERVER1="10.213.12.136"
SERVER2="10.213.12.132"
SERVER3="10.213.12.137"
SERVER4="10.213.12.157"
SERVER5="10.213.12.133"
SERVER6="10.213.12.139"
SERVER7="10.213.12.158"
SERVER8="10.213.12.141"
SERVER9="10.213.12.153"
SERVER10="10.213.12.150"
SERVER11="10.213.12.144"
echo $word | SHELL=/bin/bash parallel --onall -S $SERVER1,$SERVER2,$SERVER3,$SERVER4,$SERVER5,$SERVER6,$SERVER7,$SERVER8,$SERVER9,$SERVER10,$SERVER11 abc