2014년 12월 15일 월요일

Rename config servers

Is there a way to rename the config servers?

Documentation says, never change that - but is there not a way to do it?

I've tried with brand new config servers - so they are empty, and only one shard exists.
So where is the config server string stored?



Is there a way to rename the config servers?

Documentation says, never change that - but is there not a way to do it?

Hi Georg,

Per the documentation, all mongos instances must use the same configdb string.

The best practice recommendation is to use cnames for config servers so they can be moved/renumbered without downtime:


I've tried with brand new config servers - so they are empty, and only one shard exists.
So where is the config server string stored?

The config server string is provided when you start your mongos (and cached in the mongod/mongos servers in your sharded cluster).

This process for renaming a config server is described in this tutorial:


댓글 없음:

댓글 쓰기