mongodb shard集群的shell程序启动
#!/bin/bash
processExist=`ps aux|grep mongo|grep -v "grep" `
MONGODB_PATH="/opt/mongodb/mongos"
MONGODB_DATA="/opt/mongodb"
mongod_lock=$MONGODB_DATA/data/configsvr/mongod.lock
shard1_lock=$MON...
2015-08-08 17:44:44 ·
326 阅读 ·
0 评论