#!/bin/sh IP=$1 echo "create mongo cluster, host ip: ${IP}" echo "init mongo cluster shard" # shard1 mongo --host "${IP}" --port 27118 <