Open topic with navigation

# Weight

The relative proportion of actions to send to different child servers when LoadBalanceMethod=`2`.

Note: If you set `Weight=0`, the engine is used only if no other child engine is available.

If you create a server group by specifying a comma-separated list of host names in the Host parameter, you can use a single value for `Weight` so that all child servers in the group have the same weight. Alternatively, you can use a comma-separated list to use different weights for each mirrored child server. In this case, there must be the same number of values in `Weight` as there are for Host.

Type: | Long
Default: | 100
Allowed Range: | Minimum: 0 Maximum: 10000
Recommended Range: | Minimum: 1 Maximum: 1000
Required: | No
Configuration Section: | IDOLServer `N` or DistributedEngine `N` or DAHEngine `N`
Example: |
    [IDOLServer0]
    Host=machine1
    Port=5600
    Weight=75

    [IDOLServer1]
    Host=machine2
    Port=7800
    Weight=25
In this example, actions are distributed between `IDOLServer0` and `IDOLServer1` in a 3:1 ratio.
See Also: | Host LoadBalanceMethod Port Type

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm