Skip to main content
interface AdminRemoveRanksRequest
options?: Record<string, string>;
ranks: string[];
options?: Record<string, string>

Optional parameters.

ranks: string[]

Each array value designates one or more ranks to remove from the cluster. Values can be formatted as ‘rankN’ for a specific rank, ‘hostN’ (from the gpudb.conf file) to remove all ranks on that host, or the host IP address (hostN.address from the gpub.conf file) which also removes all ranks on that host. Rank 0 (the head rank) cannot be removed (but can be moved to another host using admin_switchover). At least one worker rank must be left in the cluster after the operation.