Skip to main content

◆ adminAlterHost() [1/4]

AdminAlterHostResponse gpudb::GPUdb::adminAlterHost (const AdminAlterHostRequest &request_) const

Alter properties on an existing host in the cluster.

Currently, the only property that can be altered is a hosts ability to accept failover processes.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ adminAlterHost() [2/4]

AdminAlterHostResponse & gpudb::GPUdb::adminAlterHost (const AdminAlterHostRequest &request_,
AdminAlterHostResponse &response_ ) const

Alter properties on an existing host in the cluster.

Currently, the only property that can be altered is a hosts ability to accept failover processes.

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).

◆ adminAlterHost() [3/4]

AdminAlterHostResponse gpudb::GPUdb::adminAlterHost (const std::string &host,
const std::map< std::string, std::string > &options ) const

Alter properties on an existing host in the cluster.

Currently, the only property that can be altered is a hosts ability to accept failover processes.

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.

◆ adminAlterHost() [4/4]

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

Alter properties on an existing host in the cluster.

Currently, the only property that can be altered is a hosts ability to accept failover processes.

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).