Skip to main content
pub struct AdminAddHostRequestOptions 
    pub dry_run: String,
    pub accepts_failover: String,
    pub public_address: String,
    pub host_manager_public_url: String,
    pub ram_limit: String,
    pub gpus: String,

Optional parameters for the /admin/add/host endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

dry_run: String

If set to true, only validation checks will be performed. No host is added. Server default: false.

accepts_failover: String

If set to true, the host will accept processes (ranks, graph server, etc.) in the event of a failover on another node in the cluster. Server default: false.

public_address: String

The publicly-accessible IP address for the host being added, typically specified for clients using multi-head operations. This setting is required if any other host(s) in the cluster specify a public address.

host_manager_public_url: String

The publicly-accessible full path URL to the host manager on the host being added, e.g., ‘http://172.123.45.67:9300’. The default host manager port can be found in the list of ports used by Kinetica.

ram_limit: String

The desired RAM limit for the host being added, i.e. the sum of RAM usage for all processes on the host will not be able to exceed this value. Supported units: K (thousand), KB (kilobytes), M (million), MB (megabytes), G (billion), GB (gigabytes); if no unit is provided, the value is assumed to be in bytes. For example, if ram_limit is set to 10M, the resulting RAM limit is 10 million bytes. Set ram_limit to -1 to have no RAM limit.

gpus: String

Comma-delimited list of GPU indices (starting at 1) that are eligible for running worker processes. If left blank, all GPUs on the host being added will be eligible.

Implementations

Source

pub fn to_map(&self) -> HashMap<String, String>

Converts the set (non-empty) options into the wire-format string map.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more