mongodb - getting shards under a mongos -
i have mongoconnection mongos instance. mongos internally connects 3 shards. there way using can individual connection each shards or @ least info on shards can create new connections ?
i have looked @ mongoconnection class , didn't find related mongos. http://api.mongodb.org/ruby/1.3.1/mongo/connection.html
mongo version 2.2 , mongodriver 1.3.1 , language ruby
eg: mongos localhost:27107 has shards @ 214.187.112.113:27107 , 209.117.116.103:27107 114.117.162.123:27107
now mongoconnection variable has connection localhost:27107 there way connection can create connections individual shards @ 214.187.11.113 etc
Comments
Post a Comment