I have two serverfarms, S1 and S2. I need S1 to probe S2 and if S2 servers are all down then I need all the servers in S1 to be taken down. This is what I was thinking. I would prefer to script this all out and use a single probe, but I'm not sure how to do the script.
probe tcp check_server - I would have four one for each destination server in F2
ip address 10.49.243.73 routed
port 8081
interval 30
rserver S1
ip address 10.49.243.70
inservice
rserver S12
ip address 10.49.243.73
inservice
serverfarm host F1 - I need these servers to all go down if all servers in F2 go down
rserver S1 ----------- server S1-S4
probe check_server
inservice
serverfarm host F2
rserver S12 -------servers S12-S14
probe tcp-8081 ------servers listening on port 8081
inservice
I just need a way to take down F1 is F2 goes down because of the dependencies between the two farms.