CL Command Reference - ENDCHTSVR

CL Command List > ENDCHTSVR Reference

Description:

The End Clustered Hash Table Server (ENDCHTSVR) command is used to end the specified clustered hash table server on the cluster nodes specified by the NODE parameter. This will remove the specified nodes from the clustered hash table domain. If all of the cluster nodes defined in the clustered hash table domain are specified on the NODE parameter the server job will be ended on all cluster nodes and the clustered hash table server will be deleted from the cluster.

The clustered hash table server was started using the Start Clustered Hash Table Server (STRCHTSVR) command. If the clustered hash table server has any active connections, any future requests from those connections fail.

Restrictions:

. Cluster Resource Services must be active on the local node.

. All nodes specified in the NODE parameter must have Cluster Resource Services active.

. If an authorization list was specified when the server was started, the requesting user must have change (*CHANGE) authority to the authorization list to end the server.


Examples:

Example 1: Ending a Clustered Hash Table Server on the Local Node

ENDCHTSVR SERVER(CT0)

This command ends the clustered hash table server CT0 on the local node only.



Example 2: Ending a Clustered Hash Table Server on One of two Nodes in the Clustered Hash Table Domain

Domain for clustered hash table CT1 is FRED and BARNEY.
ENDCHTSVR SERVER(CT1) NODE(FRED)

This command ends the clustered hash table server CT1 on cluster node FRED. The clustered hash table server is still active on BARNEY.



Example 3: Ending a Clustered Hash Table Server on All Nodes

Domain for clustered hash table CT2 is FRED and BARNEY.
ENDCHTSVR SERVER(CT2) NODE(*ALL)

This command ends the clustered hash table server named CT2 on the local node (i.e. BARNEY) and node FRED. The clustered hash table will not exist in the cluster after this command runs.