adminAlterHost
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-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.adminAlterHost
public AdminAlterHostResponse adminAlterHost(String host, Map<String, String> options) throws GPUdbException 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:host- 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- Optional parameters.ACCEPTS_FAILOVER: If set toTRUE, the host will accept processes (ranks, graph server, etc.) in the event of a failover on another node in the cluster. Supported values:The default value isFALSE.
Map.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.