Explains what the feature is or what its benefits are to the user or customer.
Use this procedure to set up a disaster recovery configuration with a primary and a mirror instance.
This is the procedure for designating a primary and a mirror ThoughtSpot instance.
- Ensure you have tscli on the target appliance. If not, please contact ThoughtSpot Support. In addition, the appliance should not be running a cluster, so if one exists, please contact ThoughtSpot Support to delete the cluster. A ThoughtSpot cluster should be up and running on the source appliance.
Log in to the primary appliance, and set it up to take periodic backups and
write them to the shared backup directory (in a SAN or shared NFS-mounted
$ tscli backup set-periodic --at <hour1,hour2,...> --directory <shared_backup_directory> [--num_backups <num_backups>]For example:
$ tscli backup set-periodic --at 01,17 --directory /mnt/thoughtspot_backups --num_backups 5
- Run tscli backup periodic-config to check whether the periodic backup is set correctly.
Designate the mirror appliance cluster to act as a mirror:
$ tscli backup start-mirror <shared_backup_directory> <mirror_node1_IP,mirror_node2_IP,...> <mirror_cluster_name> <mirror_cluster_id>For example:
$ tscli backup start-mirror /mnt/thoughtspot_backups 192.168.2.111, 192.168.2.112,192.168.2.113 thoughtspot_mirror thoughtspot-mirror-29543
It may take some time for the cluster to begin acting as a mirror. Issue the
command to verify that the cluster has started running in mirror mode:
$ tscli backup mirror-statusYou can use this command in the future to check whether the mirror cluster is up to date.