mongos整理

com.mongodb.MongoException$Network: can't call something : /192.168.172.13:27017/duitangdb





s12:


/duitang/dist/sys/mongodb/bin/mongos --config /duitang/dist/conf/mongodb/mongos.conf      27017
/duitang/dist/sys/mongodb/bin/mongod --config /duitang/dist/conf/mongodb/mongoshdb.conf 27027

/duitang/dist/sys/mongodb/bin/mongod -f /duitang/dist/conf/mongodb/mongodb.conf            18320(三藏统计)

s4         192.168.172.5:27027     collections:5
s6        192.168.172.7:27027        collections:7
s13        192.168.172.14:27027    collections:40

 

[admin@server6 ~]$ netstat -antp | grep 27017 | wc -l
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
177

[admin@server13 ~]$ netstat -antp | grep 27017 | wc -l
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
201

 


mongos整理_第1张图片
 

 

你可能感兴趣的:(mongo)