To restore an entire dataservice from filesystem snapshots, the steps below should be followed. The same snapshot should be used on each host so that data on each host is the same. The following steps should be followed:
Set the dataservice into the
MAINTENANCE policy mode:
[LOGICAL:EXPERT] /alpha >
set policy maintenance
The following steps must be completed on each server before completing the next step:
Stop the Tungsten Cluster services:
sudo /etc/init.d/mysql stop
Replace the MySQL data files with the filesystem or snapshot data.
Delete the THL files for each of the services that need to be reset:
Start MySQL to perform maintenance on the Tungsten schemas:
sudo /etc/init.d/mysql start
Delete any Tungsten service schemas:
Once these steps have been executed on all the servers in the cluster, the services can be restarted.
On the current master, start the Tungsten Cluster services:
Now start the services using the same command on each of the remaining servers.