> ## 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_host

<div className="kinetica-pydoc">
  <div className="dl py property">
    <div className="dt sig sig-object py" id="gpudb.GPUdb.Options.primary_host"> <span className="em property"><span className="k"><span className="pre">property</span></span><span className="w"> </span></span><span className="sig-name descname"><span className="pre">primary\_host</span></span></div>

    <div className="dd">
      <p>Gets the hostname of the primary cluster of the HA environment.</p>

      <div className="deprecated">
        <p><span className="versionmodified deprecated">Deprecated since version 7.2.3.5: </span>The method will be removed in version 8.0.0.0. Instead of setting the primary host, the primary URL should be set using <span className="cite">GPUdb.Options.primary\_url</span> at <span className="cite">GPUdb</span> initialization.</p>
      </div>
    </div>
  </div>

  <div className="dl py property">
    <div className="dt sig sig-object py" id="gpudb.GPUdb.primary_host"> <span className="em property"><span className="k"><span className="pre">property</span></span><span className="w"> </span></span><span className="sig-name descname"><span className="pre">primary\_host</span></span></div>

    <div className="dd">
      <p>Returns the primary hostname.</p>
    </div>
  </div>
</div>
