Server state

Internally, OpenSwitch maintains a state disposition for each server. The state indicates whether the server is available for use by the connections that it manages. Table 2-1 lists the possible server states:

Table 2-1: Server states

State

Description

PRE_UP

Mutually-aware-specific server status. The server is either in the process of being marked as UP, or has encountered a problem during that process. Check the error log to troubleshoot the problem. After you resolve the problem, manually set the server status to UP on one of the mutually-aware companion OpenSwitch servers. The command will be propagated to the other OpenSwitch companion if it is running.

WARNING! Do not manually set a server’s status to PRE_UP.

UP

The server is immediately available for use.

PRE_DOWN

Mutually-aware specific server status. The server is either in the process of being marked as DOWN, or has encountered a problem during that process. Check the error log to troubleshoot the problem. After you resolve the problem, manually set the server status to DOWN on one of the mutually-aware companion OpenSwitch servers. The command will be propagated to the other OpenSwitch companion if it is running.

WARNING! Do not manually set a server’s status to PRE_DOWN.

DOWN

The server is unavailable, and is not considered for use by any new client connections established to OpenSwitch.

PRE_LOCKED

Mutually-aware specific server status. The server is either in the process of being marked as LOCKED, or has encountered a problem during that process. doing so. Check the error log to troubleshoot the problem. After you resolve the problem, manually set the server status to LOCKED on one of the mutually-aware companion OpenSwitch servers. The command will be propagated to the other OpenSwitch companion if it is running.

WARNING! Do not manually set a server’s status to PRE_LOCKED.

LOCKED

The server is available, but any new incoming connections actively being connected through the pool are blocked (or stopped) until the status is changed to UP or DOWN. Blocked connections appear to the client applications to have stopped responding until the pool is unlocked.