Modifies configuration for the existing user-defined logical server in the database.
ALTER LOGICAL SERVER logical-server-name
{ alter_clause }
{ADD MEMBERSHIP '(' { ls-member, ... } ')' | DROP MEMBERSHIP '(' { ls-member, ... } ')' }
FOR LOGICAL COORDINATOR
| mpx-server-name
ALTER LOGICAL SERVER ls1 ADD MEMBERSHIP (n1, n2)
ALTER LOGICAL SERVER ls1 ADD MEMBERSHIP (FOR LOGICAL COORDINATOR) ALTER LOGICAL SERVER ls1 DROP MEMBERSHIP (n1)
Applies to multiplex only.
logical-server-name refers to an existing user-defined logical server name, in other words, it cannot be a built-in or reserved logical server name. The SYS.ISYSIQLSMEMBER system table stores definitions for the logical server memberships.
A member node that is added to or dropped from a logical server starts or stops accepting logical server connections only after the TLV log corresponding to ALTER LOGICAL SERVER is played on that node. Existing connections of a logical server continue to run on a node when that node is dropped from the logical server, however, distributed processing is stopped for these connections.
Must have DBA or MPX ADMIN authority.