fir3net
PPS-Firenetbanner-780.5x190-30-03-17

Cisco CSS - Configuring a Sorry Server

A sorry server provides HA (Primary/Secondary) based balancing for your backend servers. This allows traffic to only route to the sorry server in the event of the primary service becoming unreachable.

Below details the configuration. This example sets server 1 as the primary server and server 2 as the secondary server.

Configure Services

service server1                  
  ip address 10.10.10.11
  keepalive type tcp
  port 80
  active

service server2              
  ip address 10.10.10.12                    
  keepalive type tcp
  port 80
  active

Configure Content Rules

Ruleowner www.xyz.com  

content vip-[public-ip]-80
    vip address 172.17.63.239
    protocol tcp
    add service server1
    primarySorryServer server2
    active

About the Author

RDonato

R Donato

Rick Donato is the Founder and Chief Editor of Fir3net.com. He currently works as a Principal Network Security Engineer and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001