admin_alter_host
- admin_alter_host(
host: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<AdminAlterHostResponse>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<AdminAlterHostResponse>
Promise<Types.AdminAlterHostResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:1809
- host: string
admin_alter_host_request
- admin_alter_host_request(
request: AdminAlterHostRequest,
callback?: GPUdbCallback,
): Promise<AdminAlterHostResponse>Alter properties on an existing host in the cluster. Currently, the only property that can be altered is a hosts ability to accept failover processes.
Parameters
- request: AdminAlterHostRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<AdminAlterHostResponse>
Promise<Types.AdminAlterHostResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:1784
- request: AdminAlterHostRequest
Alter properties on an existing host in the cluster. Currently, the only property that can be altered is a hosts ability to accept failover processes.