The procedures in this section are designed for the Multi-Site/Active-Active topology ONLY. Do NOT use these procedures with the Composite Active/Active topology.
For Composite Active/Active Clustering, please refer to Deploying Composite Active/Active Clustering.
To reset all of the dataservices and restart the Tungsten Cluster and Tungsten Replicator services:
Put the both dataservices into
MAINTENANCE
mode. This
ensures that Tungsten Cluster will not attempt to automatically recover
the service.
cctrl [east]> set policy maintenance
cctrl [west]> set policy maintenance
Put the Tungsten Connector for both dataservices offline:
cctrl [east]> router * offline
cctrl [west]> router * offline
Stop the services on each server in the east region
(east{1,2,3}
):
shell east>/opt/continuent/tungsten/cluster-home/bin/stopall
shell east>/opt/replicator/tungsten/cluster-home/bin/stopall
Stop the services on each server in the west region
(west{1,2,3}
):
shell west>/opt/continuent/tungsten/cluster-home/bin/stopall
shell west>/opt/replicator/tungsten/cluster-home/bin/stopall
Reset the cluster on
east{1,2,3}
:
shell east>/opt/continuent/tungsten/tools/tpm reset
shell east>/opt/replicator/tungsten/tools/tpm reset
Reset the cluster on
west{1,2,3}
:
shell west>/opt/continuent/tungsten/tools/tpm reset
shell west>/opt/replicator/tungsten/tools/tpm reset
Reset the replication services on
east{1,2,3}
:
shell east>/opt/continuent/tungsten/tungsten-replicator/bin/replicator start offline
shell east>/opt/continuent/tungsten/tungsten-replicator/bin/trepctl -service east reset -all -y
shell east>/opt/replicator/tungsten/tungsten-replicator/bin/replicator start offline
shell east>/opt/replicator/tungsten/tungsten-replicator/bin/trepctl -service west reset -all -y
Reset the replication services on
west{1,2,3}
:
shell west>/opt/continuent/tungsten/tungsten-replicator/bin/replicator start offline
shell west>/opt/continuent/tungsten/tungsten-replicator/bin/trepctl -service west reset -all -y
shell east>/opt/replicator/tungsten/tungsten-replicator/bin/replicator start offline
shell east>/opt/replicator/tungsten/tungsten-replicator/bin/trepctl -service east reset -all -y
Restart the services on each server in the east region
(east{1,2,3}
):
shell east> /opt/continuent/tungsten/cluster-home/bin/startall
Restart the services on each server in the west region
(west{1,2,3}
):
shell west> /opt/continuent/tungsten/cluster-home/bin/startall
Place all the Tungsten Replicator services on
east{1,2,3}
back online:
shell east> /opt/replicator/tungsten/tungsten-replicator/bin/trepctl -service west online
Place all the Tungsten Replicator services on
west{1,2,3}
back online:
shell west> /opt/replicator/tungsten/tungsten-replicator/bin/trepctl -service east online