08-30-2011 07:03 AM
I have a serverfarm with two real servers. I want one server to get 100% off the traffic, and the other server to only be used if server1 fails. So I setup server1 as active, and server2 as active standby. If server1 fails a probe, server2 should become active. Here's my serverfarm config:
serverfarm host my_srvfrm
probe 1
rserver server1
inservice
rserver server2
inservice standby
But the problem is when the probe fails, server2 is still standby. So I get no connectivity:
show serverfarm my_srvfrm
Codes: L - local, R - remote
serverfarm : my_srvfrm, type: HOST
total rservers : 2
state : INACTIVE
DWS state : DISABLED
---------------------------------
----------connections-----------
real weight state current total failures
---+---------------------+-----+------------+----------+----------+---------
rserver: server1
10.10.151.193:0 8 PROBE-FAILED 1 39 12
rserver: server2
10.10.151.194:0 8 STANDBY 0 19 0
What's the best way to setup my serverfarm for this scenerio? (server1 gets all traffic, unless probe fails, then server2 gets all traffic)
Thanks
Solved! Go to Solution.
08-30-2011 07:58 AM
Hi Thomas,
You need to use the backup-rserver command to acheive what you are looking for. Your configuration should look like:
serverfarm host my_srvfrm
probe 1
rserver server1
backup-rserver server2
inservice
rserver server2
inservice standby
Best regards,
Ahmad
08-30-2011 07:58 AM
Hi Thomas,
You need to use the backup-rserver command to acheive what you are looking for. Your configuration should look like:
serverfarm host my_srvfrm
probe 1
rserver server1
backup-rserver server2
inservice
rserver server2
inservice standby
Best regards,
Ahmad
08-30-2011 08:02 AM
Perfect, that did the trick, thank you
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide