Remove Health Care (keepalives) CSS 11503

Answered Question
Dec 7th, 2009
User Badges:

Hi,

We normally distribute the load between two servers by checking if the server its active (using TCP 80), yesterday, we want to remove the Health Care (keepalives) due to a maintenance test, to sent the traffic direct to the server, but the service stop working.

We think we didn’t remove the health care properly, could anybody please help me to know hoe to remove it?

We are using CSS 11503, I’m adding the config.

Thanks

Correct Answer by Gilles Dufour about 7 years 5 months ago

CSS11503-2(config)# service Linux2
CSS11503-2(config-service[Linux2])# ip add 192.168.20.41
CSS11503-2(config-service[Linux2])# active
CSS11503-2(config-service[Linux2])# show service Linux2


Name: Linux2            Index: 33
  Type: Local            State: Alive
  Rule ( 192.168.20.41  ANY  ANY )
  Session Redundancy: Disabled
  Redirect Domain:
  Redirect String:
  Keepalive: (ICMP   5   3   5 )
  Keepalive Encryption:      Disabled
  Last Clearing of Stats Counters: 08/12/2009 05:29:24
  Mtu:                       1500        State Transitions:            0
  Total Local Connections:   0           Total Backup Connections:     0
  Current Local Connections: 0           Current Backup Connections:   0
  Total Connections:         0           Max Connections:              65534
  Total Reused Conns:        0
  Weight:                    1           Load:                         2
  Weight Reporting:          None


CSS11503-2(config-service[Linux2])# keepalive type none
CSS11503-2(config-service[Linux2])# show service Linux2


Name: Linux2            Index: 33
  Type: Local            State: Alive
  Rule ( 192.168.20.41  ANY  ANY )
  Session Redundancy: Disabled
  Redirect Domain:
  Redirect String:
  Keepalive: (NONE   5   3   5 )
  Keepalive Encryption:      Disabled
  Last Clearing of Stats Counters: 08/12/2009 05:29:24
  Mtu:                       1500        State Transitions:            1
  Total Local Connections:   0           Total Backup Connections:     0
  Current Local Connections: 0           Current Backup Connections:   0
  Total Connections:         0           Max Connections:              65534
  Total Reused Conns:        0
  Weight:                    1           Load:                         2
  Weight Reporting:          None


CSS11503-2(config-service[Linux2])#


Same if the service is down before disabling the keepalive.


CSS11503-2(config-service[Linux2])# keepalive type icmp

CSS11503-2(config-service[Linux2])# show service Linux2


Name: Linux2            Index: 33
  Type: Local            State: Down
  Rule ( 192.168.20.41  ANY  ANY )
  Session Redundancy: Disabled
  Redirect Domain:
  Redirect String:
  Keepalive: (ICMP   5   3   5 )
  Keepalive Encryption:      Disabled
  Last Clearing of Stats Counters: 08/12/2009 05:31:42
  Mtu:                       1500        State Transitions:            4
  Total Local Connections:   0           Total Backup Connections:     0
  Current Local Connections: 0           Current Backup Connections:   0
  Total Connections:         0           Max Connections:              65534
  Total Reused Conns:        0
  Weight:                    1           Load:                         255
  Weight Reporting:          None


CSS11503-2(config-service[Linux2])# keepalive type none
CSS11503-2(config-service[Linux2])# show service Linux2


Name: Linux2            Index: 33
  Type: Local            State: Alive
  Rule ( 192.168.20.41  ANY  ANY )
  Session Redundancy: Disabled
  Redirect Domain:
  Redirect String:
  Keepalive: (NONE   5   3   5 )
  Keepalive Encryption:      Disabled
  Last Clearing of Stats Counters: 08/12/2009 05:36:08
  Mtu:                       1500        State Transitions:            5
  Total Local Connections:   0           Total Backup Connections:     0
  Current Local Connections: 0           Current Backup Connections:   0
  Total Connections:         0           Max Connections:              65534
  Total Reused Conns:        0
  Weight:                    1           Load:                         2
  Weight Reporting:          None



Gilles.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Gilles Dufour Mon, 12/07/2009 - 04:53
User Badges:
  • Cisco Employee,

you simply need to type "keepalive type none" under the service definition.


CSS11503-2(config)# service test
CSS11503-2(config-service[test])# keepalive type none
CSS11503-2(config-service[test])#



Gilles.

rparrat666 Mon, 12/07/2009 - 17:26
User Badges:

H, thank for the answer, at the beginning I thought that was the way, but alter the change, the service was down, is it normal? I was expecting to see the service up but the data going thru without checking the state.

Correct Answer
Gilles Dufour Tue, 12/08/2009 - 02:04
User Badges:
  • Cisco Employee,

CSS11503-2(config)# service Linux2
CSS11503-2(config-service[Linux2])# ip add 192.168.20.41
CSS11503-2(config-service[Linux2])# active
CSS11503-2(config-service[Linux2])# show service Linux2


Name: Linux2            Index: 33
  Type: Local            State: Alive
  Rule ( 192.168.20.41  ANY  ANY )
  Session Redundancy: Disabled
  Redirect Domain:
  Redirect String:
  Keepalive: (ICMP   5   3   5 )
  Keepalive Encryption:      Disabled
  Last Clearing of Stats Counters: 08/12/2009 05:29:24
  Mtu:                       1500        State Transitions:            0
  Total Local Connections:   0           Total Backup Connections:     0
  Current Local Connections: 0           Current Backup Connections:   0
  Total Connections:         0           Max Connections:              65534
  Total Reused Conns:        0
  Weight:                    1           Load:                         2
  Weight Reporting:          None


CSS11503-2(config-service[Linux2])# keepalive type none
CSS11503-2(config-service[Linux2])# show service Linux2


Name: Linux2            Index: 33
  Type: Local            State: Alive
  Rule ( 192.168.20.41  ANY  ANY )
  Session Redundancy: Disabled
  Redirect Domain:
  Redirect String:
  Keepalive: (NONE   5   3   5 )
  Keepalive Encryption:      Disabled
  Last Clearing of Stats Counters: 08/12/2009 05:29:24
  Mtu:                       1500        State Transitions:            1
  Total Local Connections:   0           Total Backup Connections:     0
  Current Local Connections: 0           Current Backup Connections:   0
  Total Connections:         0           Max Connections:              65534
  Total Reused Conns:        0
  Weight:                    1           Load:                         2
  Weight Reporting:          None


CSS11503-2(config-service[Linux2])#


Same if the service is down before disabling the keepalive.


CSS11503-2(config-service[Linux2])# keepalive type icmp

CSS11503-2(config-service[Linux2])# show service Linux2


Name: Linux2            Index: 33
  Type: Local            State: Down
  Rule ( 192.168.20.41  ANY  ANY )
  Session Redundancy: Disabled
  Redirect Domain:
  Redirect String:
  Keepalive: (ICMP   5   3   5 )
  Keepalive Encryption:      Disabled
  Last Clearing of Stats Counters: 08/12/2009 05:31:42
  Mtu:                       1500        State Transitions:            4
  Total Local Connections:   0           Total Backup Connections:     0
  Current Local Connections: 0           Current Backup Connections:   0
  Total Connections:         0           Max Connections:              65534
  Total Reused Conns:        0
  Weight:                    1           Load:                         255
  Weight Reporting:          None


CSS11503-2(config-service[Linux2])# keepalive type none
CSS11503-2(config-service[Linux2])# show service Linux2


Name: Linux2            Index: 33
  Type: Local            State: Alive
  Rule ( 192.168.20.41  ANY  ANY )
  Session Redundancy: Disabled
  Redirect Domain:
  Redirect String:
  Keepalive: (NONE   5   3   5 )
  Keepalive Encryption:      Disabled
  Last Clearing of Stats Counters: 08/12/2009 05:36:08
  Mtu:                       1500        State Transitions:            5
  Total Local Connections:   0           Total Backup Connections:     0
  Current Local Connections: 0           Current Backup Connections:   0
  Total Connections:         0           Max Connections:              65534
  Total Reused Conns:        0
  Weight:                    1           Load:                         2
  Weight Reporting:          None



Gilles.

Actions

This Discussion

Related Content