> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# primary_hostname

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/gpudb.rs#L1793-L1795)
pub fn [primary\_hostname](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/primary-hostname.md#method.primary_hostname)(\&self) -> [String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html)

The host name or IP address of the primary cluster, or an empty string if no cluster is identified as primary.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.