Home > Configuration > Basic > disableservicegroup

disableservicegroup

Use this method to disables a service group or a member of a service group. To disable a service group, provide only the service group name. To disable only a member of a service group, in addition to the service group name, provide the name of the server that hosts the service, and the port number of the service.

Syntax



Parameters

servicegroupname

Name of the service group.
This is mandatory parameter.

servername

Name of the server that hosts the service.

port

Port number of the service.
Range 1 - 65535.

delay

Time, in seconds, allocated for a shutdown of the services in the service group. During this period, new requests are sent to the service only for clients who already have persistent sessions on the appliance. Requests from new clients are load balanced among other available services. After the delay time expires, no requests are sent to the service, and the service is marked as unavailable (OUT OF SERVICE).

graceful

Wait for all existing connections to the service to terminate before shutting down the service.
Default value = NO.

Return Value

Returns simpleResult

See Also