Listing Cluster Nodes


Listing Cluster Nodes

Thenodescommand provides a list of nodes in the cluster, along with status information. This command is a shortcut for thenode listcommand. For example:

> grbcluster nodes ID ADDRESS STATUS TYPE LICENSE PROCESSING #Q #R JL IDLE %MEM %CPU b7d037db server1:61000 ALIVE COMPUTE VALID ACCEPTING 0 0 10 19m 15.30 5.64 735c595f server2:61000 ALIVE COMPUTE VALID ACCEPTING 0 0 10 19m 10.45 8.01

Add the—describeflag to see an explanation of each field:

> grbcluster nodes --describe ID - Unique node ID, use --long to display full ID ADDRESS - Node address STATUS - Node status (ALIVE, FAILED, JOINING, LEAVING, DEGRADED) TYPE - Node type (COMPUTE: Compute Server, WORKER: Distributed Worker) GRP - Group name for job affinity (not displayed if empty or restricted) LICENSE - License status (N/A, VALID, INVALID, EXPIRED) PROCESSING- Processing state (ACCEPTING, DRAINING, STOPPED) #Q - Number of jobs in queue #R - Number of jobs running JL - Job Limit (maximum number of running jobs) IDLE - Idle time since the last job execution (in minutes) %MEM - Percentage of memory currently used on the machine %CPU - Percentage of CPU currently used on the machine STARTED - Node start time, use --long RUNTIMES - Deployed runtime versions, use --long VERSION - Remote Services Agent version, use --long