zafer
Aug 13, 2007Nimbostratus
availability and close connection immediatly
Hello,
i have two group servers (same servers)
First group is master second group is slave,
if first group (all) servers goes down and then second groups must goes up states,it means must be master
Q: how can i check master status ?
A: tcp connection to server ports and and receive string "01242424200002 0"
last number is "0" it means master if we different values it means standby.
i used tcp monitoring and i check the receive string and i check the last number if its 0 its master if all servers goes down then irule checks pool availability and reselect other pool (second group)
everything is ok its working but i have some problem.
1- servers has connection limits (32 connection)
2- when tcp monitoring checks the string, master groups servers does not close connection (its architecture)
what i need?
1- i need check the servers receive string and but need close connection immediatly it means
open tcp connection server and check the string and close connection immediatly
2 -or another best idea
thanks
Zafer