Product Documentation

Managing Server Objects

Aug 31, 2016

During basic load balancing setup, when you create a service, a server object with the IP address of the service is created, if one does not already exist. If you prefer for your service objects named with domain names rather than IP addresses, you might also have created one or more server objects manually. You can enable, disable, or remove any server object.

When you enable or disable a server object, you enable or disable all services associated with the server object. When you refresh the NetScaler appliance after disabling a server object, the state of its service appears as OUT OF SERVICE. If you specify a wait time when disabling a server object, the server object continues to handle established connections for the specified amount of time, but rejects new connections. If you remove a server object, the service to which it is bound is also deleted.

To enable a server by using the command line interface

At the command prompt, type:

enable server <name>

Example

enable server 10.102.29.5

To enable or disable a server object by using the configuration utility

  1. Navigate to Traffic Management > Load Balancing > Servers.
  2. Select the server and, in the Action list, select Enable or Disable.

To disable a server object by using the command line interface

At the command prompt, type:

disable server <name> <delay>

Example

disable server 10.102.29.5 30

To remove a server object by using the command line interface

At the command prompt, type:

rm server <name>

Example

rm server 10.102.29.5

To remove a server object by using the configuration utility

  1. Navigate to Traffic Management > Load Balancing > Servers.
  2. Select a server, and click Remove.