Quote:
Originally Posted by JackVamvas
Thank you both for the replies.
bulump - are you able to expand on your initial explanation . 1)Do you have a 3rd server monitoring , or do you do all this on the 2 servers 2)How do you avoid the split brain scenario ? , for example , if server 1 becomes unavailable , and there is a takeover on server 2 - how do you avoid the situation where server 1 becomes available again, for example , if it hadn't been shutdown and it was a network failure. ?
|
I only have a 2 server setup....they monitor themselves via heartbeat on the hardware, network, and DB2 instance levels. If MONIT fails, it initiates the HADR sequence, pushing our Virtual IP and Primary DB2 responsibilities to the standby.
I handle STONITH by ssh-ing in the beginning of my HADR script to see if the other is Primary, if it is, the server falls into Standby. In the scenario where there is a catastrophic failure at the DC, I always have our DB1 server default to Primary...