0
I have setup of 2 nodes 172.17.2.100 - MASTER and 172.17.2.101 - SLAVE and sentinel monitor both server.
1] I want if Master 172.17.2.100 fails, Slave 172.17.2.101 to take ownership and become MASTER with read write permission.
2] And once 172.17.2.100 is up,to became as slave until 172.17.2.101 is down.
Any help is greatly appreciated!