#!/bin/bash for node in <%= @solr_1 %> <%= @solr_2 %> <%= @solr_3 %> ; do echo "" echo "****" echo "* Starting Solr daemon on '$node'" echo "****" # ssh $node solr-start-node.sh ssh $node solr start -c -z zookeeper:2181 -h $node:8983 done