NetScaler Content Switching Virtual Server State is UP Even When Target LB Vserver Bound to it is in DOWN State

NetScaler Content Switching Virtual Server State is UP Even When Target LB Vserver Bound to it is in DOWN State

book

Article ID: CTX205568

calendar_today

Updated On:

Description

Content switching vserver does not show down even after the target LB Vservers bound to CS Vserver are in DOWN state.

Resolution

This is an expected behavior, by default CS Vserver does not depend on the state of the target LB Vservers bound to it. But if you want CS Vserver to change the state based on target LB Vservers bound to it, then we need to use the option "state update" on Content switching virtual servers.

You can use the State Update option of the Content Switching VServer to create a dependency between the states of the Content Switching VServer and the target Load Balancing VServers. Below are the ways in which "state update" option works:
  • If you enable the State Update option of the Content Switching VServer and bind the default Load Balancing VServer to it, then the state of the Content Switching VServer depends on the state of the default Load Balancing VServer.
  • However, if you enable this option for the Content Switching VServer and do not bind the default Load Balancing VServer to it, then the state of the Content Switching VServer depends on the state of all target Load Balancing VServers. In such a case, the state of the Content Switching VServer is UP only when the state of all target Load Balancing VServers is UP. The state of the Content Switching VServer is displayed as DOWN even if the state of one of the target Load Balancing VServer is DOWN.

If you do not enable the State Update option of the Content Switching VServer, then the NetScaler appliance ignores the state of the target Load Balancing VServer when displaying the state of the Content Switching VServer. By default, the State Update option is disabled.

From CLI:
> add cs vserver cs-vserver -stateupdate ENABLED
 Done

From GUI this option is under "Traffic Settings" in CS Vserver as shown below:

User-added image


Problem Cause

By default CS Vserver ignores the state of LB Vservers bound to it. So if you do not enable the State Update option of the Content Switching VServer, then the NetScaler appliance ignores the state of the target Load Balancing VServer when displaying the state of the Content Switching VServer. By default, the State Update option is disabled.



 

Issue/Introduction

Content switching vserver does not show down even after the target LB Vservers bound to CS Vserver are in DOWN state.