ip and shard

15 views
Skip to first unread message

4536...@qq.com

unread,
Apr 26, 2012, 2:20:58 AM4/26/12
to mongodb-user
the mongodb the ip and shard is not bound?
For example, 1.1.1.1 corresponding shard is shard1 can not be shard1
corresponding IP changed to 2.2.2.2

Sid

unread,
Apr 26, 2012, 11:06:51 AM4/26/12
to mongod...@googlegroups.com
Assuming that all you want to do is to change the IP of a shard here is how you do it  : 

Remove the shard, change the IP and add the shard again.

Please see this for more details on how to remove/add a shard http://www.mongodb.org/display/DOCS/Configuring+Sharding
Reply all
Reply to author
Forward
0 new messages