Probes can be used with serverfarms of type host
probe http WEB_SERVERS
passdetect interval 10
passdetect count 2
request method get url /index.html expect status 200 200
!--- Probe used to detect the status !--- of the servers in the serverfarm.
rserver host S1
ip address 192.168.0.200
rserver host S2
ip address 192.168.0.201
rserver host S3
ip address 192.168.0.202
rserver host S4
ip address 192.168.0.203
serverfarm host SF-1
When it comes to "serverfarm redirect" how would one emulate the probing to work as above. (When one is loadbalancing servers of type redirect, the probe command is not available for serverfarm redirect SF-2)
Its also not possible to mix reservers of type redirect with serverfarm of host. If it was possible, This would have answered my question, which is.
How does one emulate the probe functionality found in rsever host and serverfarm host in serverfarm redirect?
Probing a redirect server was supported on A2(3.2) or later.
So, you can use the probe configuration on 'serverfarm redirect', where 'ip address [ip_address] routed' option is required.
Unfortunately, 'rserver host' and 'rserver redirect' cannot exist together in the same serverfarm since 'serverfarm host' is
for real server and 'serverfarm redirect' is for redirect rserver.
When you use backup serverfarm as below, you can use both serverfarms. However, you cannot use primary serverfarm
and backup serverfarm at the same time.
policy-map type loadbalance first-match lb
serverfarm SF1 backup SF2