Skip to main content

◆ adminSwitchover() [1/4]

AdminSwitchoverResponse gpudb::GPUdb::adminSwitchover (const AdminSwitchoverRequest &request_) const

Manually switch over one or more processes to another host.

Individual ranks or entire hosts may be moved to another host.

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.

◆ adminSwitchover() [2/4]

AdminSwitchoverResponse & gpudb::GPUdb::adminSwitchover (const AdminSwitchoverRequest &request_,
AdminSwitchoverResponse &response_ ) const

Manually switch over one or more processes to another host.

Individual ranks or entire hosts may be moved to another host.

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

◆ adminSwitchover() [3/4]

AdminSwitchoverResponse gpudb::GPUdb::adminSwitchover (const std::vector< std::string > &processes,
const std::vector< std::string > &destinations,
const std::map< std::string, std::string > &options ) const

Manually switch over one or more processes to another host.

Individual ranks or entire hosts may be moved to another host.

Attention
This method should be used for on-premise deployments only.
Parameters
[in]processesIndicates the process identifier to switch over to another host. Options are ‘hostN’ and ‘rankN’ where ‘N’ corresponds to the number associated with a host or rank in the Network section of the gpudb.conf file; e.g., ‘host[N].address’ or ‘rank[N].host’. If ‘hostN’ is provided, all processes on that host will be moved to another host. Each entry in this array will be switched over to the corresponding host entry at the same index in destinations.
[in]destinationsIndicates to which host to switch over each corresponding process given in processes. Each index must be specified as ‘hostN’ where ‘N’ corresponds to the number associated with a host or rank in the Network section of the gpudb.conf file; e.g., ‘host[N].address’. Each entry in this array will receive the corresponding process entry at the same index in processes.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ adminSwitchover() [4/4]

AdminSwitchoverResponse & gpudb::GPUdb::adminSwitchover (const std::vector< std::string > &processes,
const std::vector< std::string > &destinations,
const std::map< std::string, std::string > &options,
AdminSwitchoverResponse &response_ ) const

Manually switch over one or more processes to another host.

Individual ranks or entire hosts may be moved to another host.

Attention
This method should be used for on-premise deployments only.
Parameters
[in]processesIndicates the process identifier to switch over to another host. Options are ‘hostN’ and ‘rankN’ where ‘N’ corresponds to the number associated with a host or rank in the Network section of the gpudb.conf file; e.g., ‘host[N].address’ or ‘rank[N].host’. If ‘hostN’ is provided, all processes on that host will be moved to another host. Each entry in this array will be switched over to the corresponding host entry at the same index in destinations.
[in]destinationsIndicates to which host to switch over each corresponding process given in processes. Each index must be specified as ‘hostN’ where ‘N’ corresponds to the number associated with a host or rank in the Network section of the gpudb.conf file; e.g., ‘host[N].address’. Each entry in this array will receive the corresponding process entry at the same index in processes.
[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).