Take child servers online and offline. With the EngineManagement
action, you can dynamically (without restarting the DAH) bring child IDOL servers online or take them offline. You can also check the status of a child server, and manage primary servers.
If you mark a child server as offline, the DAH sends no requests (even polling requests) to it, until you bring it back online again.
Note: This is an administrative action that can be sent only from DAHAdminClients (which are set in the DAH configuration file [Server]
section).
http://Hobbes:25000/action=EngineManagement&EngineAction=PowerDown&EngineID=2,4
This action uses port 25000
to take offline the child IDOL servers with IDs 2
and 4
of the DAH on the host Hobbes
.
Parameter | Description | Required |
---|---|---|
EngineAction | The action to take on the specified child servers. | yes |
EngineHost | The host of the new server when EngineAction=EngineAdd . |
see Comments |
EngineID | The child servers to perform the specified action on. | see Comments |
EngineName | Specifies one or more aliases of child IDOL servers to mark as online or offline. | |
EnginePort | The port of the new server when EngineAction=EngineAdd . |
see Comments |
EngineWeight | The new weight of a child server. | see Comments |
PrimaryEngines | The IDs of the primary servers in child server groups when EngineAction=SetPrimaryEngines . |
This action accepts the following standard ACI action parameters.
Parameter | Description |
---|---|
ActionID | A string to use to identify an ACI action. |
EncryptResponse | Encrypt the output. |
FileName | The file to write output to. |
ForceTemplateRefresh | Forces the server to load the template from disk. |
Output | Writes output to a file. |
ResponseFormat | The format of the action output. |
Template | The template to use for the action output. |
TemplateParamCSVs | A list of variables to use for the specified template. |
PowerUp
, PowerDown
, or ChangeWeight
.TRUE
, in which case, either EngineID or EngineName can be used.ChangeWeight
and an EngineID is specified.ChangeWeight
.
|