Creates a user-defined logical server. This statement enforces consistent shared system temporary store settings across physical nodes shared by logical servers.
CREATE LOGICAL SERVER <logical-server-name> [ { ls-create-clause, ...} ] [ WITH STOP SERVER ] ls-create-clause - (back to Syntax) { MEMBERSHIP ( { ls-member, ...} ) | POLICY <ls-policy-name> } ls-member - (back to ls-create-clause) FOR LOGICAL COORDINATOR | <mpx-server-name>
When no members are specified during the creation of a logical server, the logical server is created empty.
The SYS.ISYSLOGICALMEMBER system table stores definitions for the logical server memberships.
Changing the ALLOW_COORDINATOR_AS_MEMBER option of the root logical server policy from ON to OFF does not affect the membership information stored in the catalog. Instead, it affects only the effective configuration of the logical server.
You can define a logical server membership to the current coordinator either by specifying the multiplex server name or by using the FOR LOGICAL COORDINATOR clause, even when ALLOW_COORDINATOR_AS_MEMBER option is set to OFF. Membership definition is stored in the catalog, but is inactive while that multiplex server acts as the coordinator.
The catalog stores the logical server and its membership definitions.
The SYS.ISYSIQLOGICALSERVER system table stores information about the logical server policy for a corresponding logical server.
automatically shuts down all servers in the logical server when the TEMP_DATA_IN_SHARED_TEMP option is changed directly or indirectly.
CREATE LOGICAL SERVER ls1 MEMBERSHIP ( n1, n2, n3 )
CREATE LOGICAL SERVER ls1 MEMBERSHIP ( w1_svr, w2_svr, r2_svr ) POLICY lsp1
CREATE LOGICAL SERVER ls1 MEMBERSHIP ( w1_svr, w2_svr, r2_svr ) POLICY lsp1 WITH STOP SERVER
CREATE LOGICAL SERVER ls1 POLICY lspolicy1
CREATE LOGICAL SERVER ls2 POLICY MEMBERSHIP FOR LOGICAL COORDINATOR lspolicy1, n1, n2, n3 POLICY lspolicy2