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

# admin_add_host

### admin\_add\_host

<ul>
  <li>
    admin\_add\_host(\
    &#x20;host\_address: string,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md),\
    ): Promise\<[AdminAddHostResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/AdminAddHostResponse.md)>

    Adds a host to an existing cluster.**Note:** This method should be used for on-premise deployments only.

    #### Parameters

    <ul>
      <li>
        host\_address: string

        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.
      </li>

      <li>
        `Optional`options: Record\<string, string>

        Optional parameters.
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[AdminAddHostResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/AdminAddHostResponse.md)>

    Promise\<Types.AdminAddHostResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:1901](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L1901)</li>
    </ul>
  </li>
</ul>

### admin\_add\_host\_request

<ul>
  <li>
    admin\_add\_host\_request(\
    &#x20;request: [AdminAddHostRequest](https://docs.kinetica.com/content/api/nodejs/interfaces/AdminAddHostRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md),\
    ): Promise\<[AdminAddHostResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/AdminAddHostResponse.md)>

    Adds a host to an existing cluster.**Note:** This method should be used for on-premise deployments only.

    #### Parameters

    <ul>
      <li>
        request: [AdminAddHostRequest](https://docs.kinetica.com/content/api/nodejs/interfaces/AdminAddHostRequest.md)

        Request object containing the parameters for the operation
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[AdminAddHostResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/AdminAddHostResponse.md)>

    Promise\<Types.AdminAddHostResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:1876](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L1876)</li>
    </ul>
  </li>
</ul>


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