Probe rserver S1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2012 02:27 PM
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.
- Labels:
-
Application Networking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2012 06:57 AM
I think I will try this. My only question is with this configuration and the inclusion of the fail-on-all with this include the probe tcp-21 which is applied to the rservers.
I only want all the servers to fail if all the server_xx probes fail. If the tcp-21 probe fails I only want that server to go down. The other probes that are configured on the serverfarm are monitoring the servers in F2
serverfarm host F1
probe s12
probe s13
probe s14
probe s15
fail-on-all
predictor leastconns
rserver s1 21
probe tcp-21
inservice
rserver s2 21
probe tcp-21
inservice
rserver s3 21
probe tcp-21
inservice
rserver s4 21
probe tcp-21
inservice
