Skip to main content

◆ adminRemoveHost() [1/4]

AdminRemoveHostResponse gpudb::GPUdb::adminRemoveHost (const AdminRemoveHostRequest &request_) const

Removes a host from an existing cluster.

If the host to be removed has any ranks running on it, the ranks must be removed using adminRemoveRanks or manually switched over to a new host using adminSwitchover prior 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 using adminSwitchover.

Attention
This method should be used for on-premise deployments only.
Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ adminRemoveHost() [2/4]

AdminRemoveHostResponse & gpudb::GPUdb::adminRemoveHost (const AdminRemoveHostRequest &request_,
AdminRemoveHostResponse &response_ ) const

Removes a host from an existing cluster.

If the host to be removed has any ranks running on it, the ranks must be removed using adminRemoveRanks or manually switched over to a new host using adminSwitchover prior 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 using adminSwitchover.

Attention
This method should be used for on-premise deployments only.
Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ adminRemoveHost() [3/4]

AdminRemoveHostResponse gpudb::GPUdb::adminRemoveHost (const std::string &host,
const std::map< std::string, std::string > &options ) const

Removes a host from an existing cluster.

If the host to be removed has any ranks running on it, the ranks must be removed using adminRemoveRanks or manually switched over to a new host using adminSwitchover prior 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 using adminSwitchover.

Attention
This method should be used for on-premise deployments only.
Parameters
[in]hostIdentifies 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.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ adminRemoveHost() [4/4]

AdminRemoveHostResponse & gpudb::GPUdb::adminRemoveHost (const std::string &host,
const std::map< std::string, std::string > &options,
AdminRemoveHostResponse &response_ ) const

Removes a host from an existing cluster.

If the host to be removed has any ranks running on it, the ranks must be removed using adminRemoveRanks or manually switched over to a new host using adminSwitchover prior 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 using adminSwitchover.

Attention
This method should be used for on-premise deployments only.
Parameters
[in]hostIdentifies 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.
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).