How to disable/enable a service (LB, GSLB, etc.) using the NetScaler's CLI

How to disable/enable a service (LB, GSLB, etc.) using the NetScaler's CLI

book

Article ID: CTX485189

calendar_today

Updated On:

Description

How to disable/enable a service (LB, GSLB, etc.) using CLI


Instructions

To disable a service using the CLI:
  1. Open an SSH session into the NetScaler where you wish to disable the service.
  2. Log in with the appropriate credentials.
  3. Enter the following command: 
    disable service <name>@ [<delay>] [-graceFul ( YES | NO )]
Note : <delay> is Wait Time in (seconds)*
Example:
disable service SampleServiceName 0 -graceFul NO
To enable a service using the CLI:
  1. Open an SSH session into the NetScaler where you wish to enable the service.
  2. Log in with the appropriate credentials.
  3. Enter the following command: 
    enable service <name>@
Example:
enable service SampleServiceName

Issue/Introduction

To disable a service, use the syntax: disable service @ [] [-graceFul ( YES | NO )] To enable a service, use the syntax: enable service @