Source
pub async fn admin_alter_host( &self, host: String, ) -> Result<AdminAlterHostResponse, KineticaError>
Alter properties on a host currently in the cluster
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.
host- Identifies 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.
Source
pub async fn admin_alter_host_with_opts( &self, host: String, options: AdminAlterHostRequestOptions, ) -> Result<AdminAlterHostResponse, KineticaError>
Alter properties on a host currently in the cluster
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.
host- Identifies 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.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn admin_alter_host_raw( &self, request: &AdminAlterHostRequest, ) -> Result<AdminAlterHostResponse, KineticaError>
Sends a pre-built AdminAlterHostRequest to the /admin/alter/host endpoint.
Source
pub async fn admin_alter_host_from_url( &self, url: &str, request: &AdminAlterHostRequest, ) -> Result<AdminAlterHostResponse, KineticaError>
Sends a pre-built AdminAlterHostRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.