Product Documentation

Configuring Services

Aug 20, 2013

On the NetScaler appliance, a service represents a physical server or an application on a physical server. Once configured, services are in the disabled state until the appliance can reach the physical server on the network and monitor its status.

To add a service by using the command line interface

At the command prompt, type the following commands to add a service and verify the configuration:

  • add service <name> (<IP> | <serverName>) <serviceType> <port>
  • show service <serviceName>

Example

 
> add service ssl1 10.102.29.252 HTTP 80 
 Done 
> show service ssl1 
        ssl1 (10.102.29.252:80) - HTTP 
        State: UP 
        Last state change was at Thu Nov 12 05:26:31 2009 
        Time since last state change: 0 days, 00:00:06.750 
        Server Name: 10.102.29.252 
        Server ID : 0   Monitor Threshold : 0 
        Max Conn: 0     Max Req: 0      Max Bandwidth: 0 kbits 
        Use Source IP: NO 
        Client Keepalive(CKA): NO 
        Access Down Service: NO 
        TCP Buffering(TCPB): YES 
        HTTP Compression(CMP): YES 
        Idle timeout: Client: 180 sec   Server: 360 sec 
        Client IP: DISABLED 
        Cacheable: NO 
        SC: OFF 
        SP: ON 
        Down state flush: ENABLED 
 
1)      Monitor Name: tcp-default 
                State: UP       Weight: 1 
                Probes: 2       Failed [Total: 0 Current: 0] 
                Last response: Success - TCP syn+ack received. 
                Response Time: N/A 
 Done 

To modify or remove a service by using the command line interface

To modify a service, use the set service command, which is just like using the add service command, except that you enter the name of an existing service. To remove a service, use the rm service command, which accepts only the <name> argument.

To configure a service by using the configuration utility

Navigate to Traffic Management > Load Balancing > Services, create a service, and specify the protocol as SSL.