Skip to main content
admin_remove_host(host=None, options=)[source]

Removes a host from an existing cluster. If the host to be removed has any ranks running on it, the ranks must be removed using GPUdb.admin_remove_ranks() or manually switched over to a new host using GPUdb.admin_switchover() prior to host removal. If the host to be removed has the graph server or SQL planner running on it, these must be manually switched over to a new host using GPUdb.admin_switchover().

Note

This method should be used for on-premise deployments only.

Parameters

host (str) –

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 (dict of str to str) –

Optional parameters. Allowed keys are:

  • dry_run – If set to true, only validation checks will be performed. No host is removed. Allowed values are:

    • true

    • false

    The default value is ‘false’.

The default value is an empty dict ( ).

Returns

A dict with the following entries–

info (dict of str to str) –

Additional information.