print " <process host=\"".$host[$it_host]."\" function=\"slave\"><argument value=\"$master:$port_num\"/></process>\n";
$it_host ++;
if ($it_host == scalar @host) {
print " <process host=\"".$host[$it_host]."\" function=\"slave\"><argument value=\"$master:$port_num\"/></process>\n";
$it_host ++;
if ($it_host == scalar @host) {