cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1846
Views
0
Helpful
4
Replies

Remove Health Care (keepalives) CSS 11503

rparrat666
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

4 Replies 4

Gilles Dufour
Cisco Employee
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.

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.

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.

YEAP, thanks!!!

Review Cisco Networking for a $25 gift card