◆ adminRemoveRanks() [1/4]
| AdminRemoveRanksResponse gpudb::GPUdb::adminRemoveRanks | ( | const AdminRemoveRanksRequest & | request_ | ) | const |
Remove one or more ranks from an existing Kinetica cluster.
All data will be rebalanced to other ranks before the rank(s) is removed unless the rebalance_sharded_data or rebalance_unsharded_data parameters are set to false in the options, in which case the corresponding sharded data and/or unsharded data (a.k.a. randomly-sharded) will be deleted.
The database must be offline for this operation, see adminOffline
This endpoint’s processing time depends on the amount of data in the system, thus the API call may time out if run directly. It is recommended to run this endpoint asynchronously via createJob.
| [in] | request_ | Request object containing the parameters for the operation. |
◆ adminRemoveRanks() [2/4]
| AdminRemoveRanksResponse & gpudb::GPUdb::adminRemoveRanks | ( | const AdminRemoveRanksRequest & | request_, |
| AdminRemoveRanksResponse & | response_ ) const |
Remove one or more ranks from an existing Kinetica cluster.
All data will be rebalanced to other ranks before the rank(s) is removed unless the rebalance_sharded_data or rebalance_unsharded_data parameters are set to false in the options, in which case the corresponding sharded data and/or unsharded data (a.k.a. randomly-sharded) will be deleted.
The database must be offline for this operation, see adminOffline
This endpoint’s processing time depends on the amount of data in the system, thus the API call may time out if run directly. It is recommended to run this endpoint asynchronously via createJob.
◆ adminRemoveRanks() [3/4]
| AdminRemoveRanksResponse gpudb::GPUdb::adminRemoveRanks | ( | const std::vector< std::string > & | ranks, |
| const std::map< std::string, std::string > & | options ) const |
Remove one or more ranks from an existing Kinetica cluster.
All data will be rebalanced to other ranks before the rank(s) is removed unless the rebalance_sharded_data or rebalance_unsharded_data parameters are set to false in the options, in which case the corresponding sharded data and/or unsharded data (a.k.a. randomly-sharded) will be deleted.
The database must be offline for this operation, see adminOffline
This endpoint’s processing time depends on the amount of data in the system, thus the API call may time out if run directly. It is recommended to run this endpoint asynchronously via createJob.
| [in] | ranks | Each array value designates one or more ranks to remove from the cluster. Values can be formatted as ‘rankN’ for a specific rank, ‘hostN’ (from the gpudb.conf file) to remove all ranks on that host, or the host IP address (hostN.address from the gpub.conf file) which also removes all ranks on that host. Rank 0 (the head rank) cannot be removed (but can be moved to another host using adminSwitchover). At least one worker rank must be left in the cluster after the operation. |
| [in] | options | Optional parameters.
|
◆ adminRemoveRanks() [4/4]
| AdminRemoveRanksResponse & gpudb::GPUdb::adminRemoveRanks | ( | const std::vector< std::string > & | ranks, |
| const std::map< std::string, std::string > & | options, | ||
| AdminRemoveRanksResponse & | response_ ) const |
Remove one or more ranks from an existing Kinetica cluster.
All data will be rebalanced to other ranks before the rank(s) is removed unless the rebalance_sharded_data or rebalance_unsharded_data parameters are set to false in the options, in which case the corresponding sharded data and/or unsharded data (a.k.a. randomly-sharded) will be deleted.
The database must be offline for this operation, see adminOffline
This endpoint’s processing time depends on the amount of data in the system, thus the API call may time out if run directly. It is recommended to run this endpoint asynchronously via createJob.
| [in] | ranks | Each array value designates one or more ranks to remove from the cluster. Values can be formatted as ‘rankN’ for a specific rank, ‘hostN’ (from the gpudb.conf file) to remove all ranks on that host, or the host IP address (hostN.address from the gpub.conf file) which also removes all ranks on that host. Rank 0 (the head rank) cannot be removed (but can be moved to another host using adminSwitchover). At least one worker rank must be left in the cluster after the operation. |
| [in] | options | Optional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |