The SPD Server PROC
SPDO CLUSTER REMOVE and CLUSTER ADD commands enable you to refresh
dynamic cluster tables without unbinding and re-binding the cluster,
and without making the dynamic cluster table temporarily unavailable
during refactoring.
The CLUSTER REMOVE and
CLUSTER ADD command set enables you to specify replacement member
tables for one or more member tables in a dynamic cluster that have
aged out or that are otherwise not wanted. The CLUSTER REMOVE and
ADD commands remove old member tables from their original position
in the cluster member table list, and append new updated tables to
the end of the cluster member table list, in the order in which they
were submitted in the command syntax.
The PROC SPDO CLUSTER
REMOVE command removes one or more member tables from a dynamic cluster.
When a cluster member table is removed, users that currently have
that particular cluster open for Read access do not see the change
until those users perform a subsequent open or reopen of the cluster
after the remove command has completed. The same is true for the CLUSTER
ADD command: changes are not reflected until the cluster is opened
or reopened after the CLUSTER ADD processing is complete.
A cluster member table
that has been removed from a cluster becomes visible as a simple SPD
Server table, but the table remains in a read-only state. If you need
to update a member table that has been removed from a cluster, use
the
CLUSTER FIX MEMBER command
to restore the member table to a writable state.
The general form of
the PROC SPDO CLUSTER REMOVE command is as follows:
CLUSTER REMOVE <cluster-tablename1>
<cluster-tablename2>
...
<cluster-tablenameN> ;
<cluster-tablename_1>
<cluster-tablename_2> ... <cluster-tablename_n>
is
a list of one or more tables to be removed from the cluster.
The general form of
the PROC SPDO CLUSTER ADD command is as follows:
CLUSTER ADD <cluster-tablename_1>
<cluster-tablename_2>
...
<cluster-tablename_n> ;
<cluster-tablename_1>
<cluster-tablename_2> ... <cluster-tablename_n>
is
a list of one to
n tables to
be added to the cluster.