adminRemoveHost
public AdminRemoveHostResponse adminRemoveHost(AdminRemoveHostRequest request) throws GPUdbException Removes a host from an existing cluster. If the host to be removed has any ranks running on it, the ranks must be removed usingadminRemoveRanksor manually switched over to a new host usingadminSwitchoverprior to host removal. If the host to be removed has the graph server or SQL planner running on it, these must be manually switched over to a new host usingadminSwitchover.Note: This method should be used for on-premise deployments only.
Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.adminRemoveHost
public AdminRemoveHostResponse adminRemoveHost(String host, Map<String, String> options) throws GPUdbException Removes a host from an existing cluster. If the host to be removed has any ranks running on it, the ranks must be removed usingadminRemoveRanksor manually switched over to a new host usingadminSwitchoverprior to host removal. If the host to be removed has the graph server or SQL planner running on it, these must be manually switched over to a new host usingadminSwitchover.Note: This method should be used for on-premise deployments only.
Parameters:host- Identifies the host this applies to. Can be the host address, or formatted as ‘hostN’ where N is the host number as specified in gpudb.conf.options- Optional parameters.DRY_RUN: If set toTRUE, only validation checks will be performed. No host is removed. Supported values:The default value isFALSE.
Map.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.