Modifies configuration for the existing user-defined logical server in the database.
ALTER LOGICAL SERVER logical-server-name { alter-ls-clause } [ WITH STOP SERVER ]
{ADD MEMBERSHIP '(' { ls-member, ... } ')' | DROP MEMBERSHIP '(' { ls-member, ... } ')' | POLICY policy-name }
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)
ALTER LOGICAL SERVER ls2 POLICY lsp1
logical-server-name refers to an existing user-defined 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.
WITH STOP SERVER automatically shuts down all servers in the logical server when the TEMP_DATA_IN_SHARED_TEMP option is changed directly or indirectly.
This statement enforces consistent shared system temporary store settings across physical nodes shared by logical servers.
Requires the MANAGE MULTIPLEX system privilege.