I have **5** mongos server at amazon:

192.168.1.1  

192.168.1.2  

192.168.1.3  

192.168.1.4  

192.168.1.5

and **2** HAProxy servers for load balancing:

192.168.1.6  

192.168.1.7

* My domain is registered at: namecheap.com, let call it **domain.com**.

1)

can i point database.domain.com to both HAProxy servers? 

if yes how? 

2)

if HAProxy server: **192.168.1.6** fails will **192.168.1.7** take over?

3)

Can i control the timeout of the records?

Please explain to me how things work and how to make it work like i want.

I'm trying to understand how such system is setup for failover. I'm seeking 

knowledge and not humiliation so either you try to help or dont do anything 

please.