Hardware failover webserver cluster
Hello,
perhaps that's a bit off topic here but can someone explain what I need
to build a hardware failover nginx cluster?
The unclear is:
How does the client know that the server 1 is down and use the other one?
DNS failover has a delay because of the design I think.
client ---> SRV1
|---> SRV2 (failover if SRV1 is down and load balancing)
how did it work on google or somethink else?
dig google.de
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> google.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3635
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 0
;; QUESTION SECTION:
;google.de. IN A
;; ANSWER SECTION:
google.de. 300 IN A 173.194.32.255
google.de. 300 IN A 173.194.32.247
google.de. 300 IN A 173.194.32.248
;; AUTHORITY SECTION:
google.de. 53870 IN NS ns3.google.com.
google.de. 53870 IN NS ns1.google.com.
google.de. 53870 IN NS ns2.google.com.
google.de. 53870 IN NS ns4.google.com.
;; Query time: 27 msec
;; SERVER: 192.168.30.1#53(192.168.30.1)
;; WHEN: Thu Mar 27 16:44:43 2014
;; MSG SIZE rcvd: 157
Is that load balance or failover?
Thanks for any help!
Regards,
Basti
Reply to: