5.12.2. Reset All Sites in a Multisite/Multimaster topology | ||
---|---|---|
Prev | 5.12. Resetting a Tungsten Clustering Dataservice | Next |
The procedures in this section are designed for the pre-v6.x Multisite/Multimaster topology ONLY. Do NOT use these procedures with version 6.x Multisite Clusters.
For version 6.x Multisite Clustering, please refer to Deploying Composite Multimaster Clustering.
To reset all of the dataservices and restart the Tungsten Clustering and Tungsten Replicator services:
Put the both dataservices into
MAINTENANCE
mode. This
ensures that Tungsten Clustering 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