mongodb chang server host

10 views
Skip to first unread message

198719...@163.com

unread,
Apr 26, 2012, 2:45:15 AM4/26/12
to mongodb-user
HI,everyone.
I meet a problem,My mongodb shard1 server ‘s disk has no space.I want
to chang mongodb shard1 server ,but the server’s IP does not change.
This will go wrong anyway??
What can i do next?

gregor

unread,
Apr 26, 2012, 4:37:22 AM4/26/12
to mongod...@googlegroups.com
Are you going to be replacing your current shard1 server? If so probably the best thing to do is to add the new server in to a replica set with the current shard1 server.
Then once the new server is synced, step down the old shard1 server and remove it from the replica set. 
Reply all
Reply to author
Forward
0 new messages