Redirecting Logins

SAP Sybase IQ provides load balancing when a user tries to log in to an overloaded node by redirecting the attempted login to a node that is less loaded in the same logical server.

Control login redirection using the logical server policy options LOGIN_REDIRECTION and REDIRECTION_WAITERS_THRESHOLD. See related reference CREATE LS POLICY Statement.
  1. Create a logical server policy where login redirection is enabled, for example:
    CREATE LS POLICY lsp1 LOGIN_REDIRECTION=ON
  2. Associate the new policy with a logical server:
    ALTER LOGICAL SERVER ls1 POLICY lsp1
If login redirection is enabled and a connection is allowed, SAP Sybase IQ redirects connections when:

A direct connection to a server that has reached its connection limit (-gm) is refused, not redirected, even if that node participates in a logical server.

Related concepts
Logical Servers Overview
Use Built-in Logical Servers
Configure Logical Server Policies
Manage Logical Server Membership
Login Policies
Related tasks
Creating a Logical Server
Altering a Logical Server
Dropping a Logical Server
Connecting to a Logical Server
Disabling Login Redirection
Related reference
ALTER LS POLICY Statement
CREATE LS POLICY Statement
Server Startup Utility (start_iq)