GPUdb C++ API
Version 7.1.10.0
|
A set of input parameters for const. More...
#include <gpudb/protocol/admin_switchover.h>
Public Member Functions | |
AdminSwitchoverRequest () | |
Constructs an AdminSwitchoverRequest object with default parameter values. More... | |
AdminSwitchoverRequest (const std::vector< std::string > &processes_, const std::vector< std::string > &destinations_, const std::map< std::string, std::string > &options_) | |
Constructs an AdminSwitchoverRequest object with the specified parameters. More... | |
Public Attributes | |
std::vector< std::string > | processes |
std::vector< std::string > | destinations |
std::map< std::string, std::string > | options |
A set of input parameters for const.
Manually switch over one or more processes to another host. Individual ranks or entire hosts may be moved to another host.
Definition at line 19 of file admin_switchover.h.
|
inline |
Constructs an AdminSwitchoverRequest object with default parameter values.
Definition at line 26 of file admin_switchover.h.
|
inline |
Constructs an AdminSwitchoverRequest object with the specified parameters.
[in] | processes_ | Indicates 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] | destinations_ | Indicates 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] | options_ | Optional parameters.
|
Definition at line 80 of file admin_switchover.h.
std::vector<std::string> gpudb::AdminSwitchoverRequest::destinations |
Definition at line 88 of file admin_switchover.h.
std::map<std::string, std::string> gpudb::AdminSwitchoverRequest::options |
Definition at line 89 of file admin_switchover.h.
std::vector<std::string> gpudb::AdminSwitchoverRequest::processes |
Definition at line 87 of file admin_switchover.h.