mongo replica set and database_connection

Asked by Tomasz Wanczyk

Hi all,

Is it possible to set few IP addresses (of mongo replica set nodes) in order to use mongo HA?

Greetings,

Tomek

Question information

Language:
English Edit question
Status:
Solved
For:
Ceilometer Edit question
Assignee:
No assignee Edit question
Solved by:
Tomasz Wanczyk
Solved:
Last query:
Last reply:
Revision history for this message
Doug Hellmann (doug-hellmann) said :
#1

That's not yet available, but would be useful. Does Mongo not have a way to handle load balancing with a single IP?

Revision history for this message
Tomasz Wanczyk (twanczyk) said :
#2

No and it is not easy to setup this, because writing operations can be made only with master. If current master fails mongo choose another one. Load balancer should know which is master especially when writing. I am not sure priorities can help here as well, so we know the order of master ellection.

Revision history for this message
Tomasz Wanczyk (twanczyk) said :
#3
Revision history for this message
Tomasz Wanczyk (twanczyk) said :
#4