Product Documentation

Configuring Services

Oct 19, 2016

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 192.168.0.12 SSL 443

 Done

> sh service SSL1

        SSL1 (192.168.0.12:443) - SSL

        State: DOWN

        Last state change was at Thu Oct  6 17:15:41 2016

        Time since last state change: 0 days, 00:00:07.990

        Server Name: 192.168.0.12

        Server ID : None        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): NO

        HTTP Compression(CMP): NO

        Idle timeout: Client: 180 sec   Server: 360 sec

        Client IP: DISABLED

        Cacheable: NO

        SC: OFF

        SP: ON

        Down state flush: ENABLED

        Monitor Connection Close : NONE

        Appflow logging: ENABLED

        Process Local: DISABLED

        Traffic Domain: 0

 

1)      Monitor Name: tcp-default

                State: DOWN     Weight: 1       Passive: 0

                Probes: 2       Failed [Total: 1 Current: 1]

                Last response: Failure - Time out during TCP connection establishment stage

                Response Time: 0.0 millisec

 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.