Source
pub async fn admin_add_host( &self, host_address: String, ) -> Result<AdminAddHostResponse, KineticaError>
Adds a host to the cluster.
Adds a host to an existing cluster.
host_address- IP address of the host that will be added to the cluster. This host must have installed the same version of Kinetica as the cluster to which it is being added.
Source
pub async fn admin_add_host_with_opts( &self, host_address: String, options: AdminAddHostRequestOptions, ) -> Result<AdminAddHostResponse, KineticaError>
Adds a host to the cluster.
Adds a host to an existing cluster.
host_address- IP address of the host that will be added to the cluster. This host must have installed the same version of Kinetica as the cluster to which it is being added.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn admin_add_host_raw( &self, request: &AdminAddHostRequest, ) -> Result<AdminAddHostResponse, KineticaError>
Sends a pre-built AdminAddHostRequest to the /admin/add/host endpoint.
Source
pub async fn admin_add_host_from_url( &self, url: &str, request: &AdminAddHostRequest, ) -> Result<AdminAddHostResponse, KineticaError>
Sends a pre-built AdminAddHostRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.