cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1536
Views
0
Helpful
2
Replies

Real server: standby with probe

thomascollins
Participant
Participant

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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

2 Replies 2

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

Perfect, that did the trick, thank you

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: