giveup-when-all-members-down

This command specifies the connection-behavior when no member is up.

Syntax

giveup-when-all-members-down { on | off }

Parameters

on
Does not forward the connection to any member. Makes the next attempt when at least one member is in the up state.
off
Selects the first member in the down state and forwards the connection to this server. This setting is the default value.

Examples

  • Disable connection attempts if all members are in the down state.
    # giveup-when-all-members-down on
    #
  • Restore the default state.
    # giveup-when-all-members-down off
    #