admin_remove_host
- admin_remove_host(
host: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<AdminRemoveHostResponse>Parameters
- host: string
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.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AdminRemoveHostResponse>
Promise<Types.AdminRemoveHostResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:2245
- host: string
admin_remove_host_request
- admin_remove_host_request(
request: AdminRemoveHostRequest,
callback?: GPUdbCallback,
): Promise<AdminRemoveHostResponse>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
admin_remove_ranksor manually switched over to a new host usingadmin_switchoverprior 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 usingadmin_switchover.Note: This method should be used for on-premise deployments only.
Parameters
- request: AdminRemoveHostRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AdminRemoveHostResponse>
Promise<Types.AdminRemoveHostResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:2215
- request: AdminRemoveHostRequest
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
admin_remove_ranksor manually switched over to a new host usingadmin_switchoverprior 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 usingadmin_switchover.Note: This method should be used for on-premise deployments only.