Test Failover and Reset Test Resources

Refer to the following sections on steps to test failover and reset the test results.

Test Failover

To run test failover jobs, complete the following steps:

  1. On the Replication page, select your target replication policy.

  2. Click Test failover.

  3. In the confirmation window, click OK. A test failover job will start based on the latest recovery point. You can go to Job monitor to check the job details, including the failed over resources and the error details.

NOTE

Test failover jobs do not trigger the failover details reported to the replication policy’s configured Webhook URL.

Refer to the following tables for the details of test failover for each resource type.

Microsoft Azure

ResourceTest Failover Details
Azure Kubernetes ServiceCreate Kubernetes clusters and disk storage in the policy's target environment.
My SQL flexible serviceApply metadata of the latest recovery point to the database replicated in the policy's target environment.
PostgreSQL flexible serverApply metadata of the latest recovery point to the database replicated in the policy's target environment.
SQL databaseApply metadata of the latest recovery point to the database replicated in the policy's target environment.
Storage accountApply metadata of the latest recovery point to the storage account replicated in the policy's target environment.
Web appCreate web app and related resources in the policy's target environment.
Virtual machineCreate virtual machine in the policy's target environment.
Virtual machine scale setCreate scale set and related resources in the policy's target environment.

Amazon Web Services

ResourceTest Failover Details
Aurora and RDS databaseApply metadata of the latest recovery point to the database replicated in the policy's target environment.
DynamoDBApply metadata of the latest recovery point to the database replicated in the policy's target environment.
EC2 instanceCreate EC2 instances and policies in the policy's target environment and apply the saved settings.
Elastic BeanstalkCreate the resources in the policy's target environment.
Elastic Kubernetes ServiceCreate Kubernetes cluster, disk storage, IAM role, and IAM policy related to the cluster in the target environment.
*Note: If there are IAM role and policy with the same names, new ones will not be created.
S3 bucketApply metadata of the latest recovery point to the S3 bucket replicated in the policy's target environment.

Google Cloud

ResourceTest Failover Details
Cloud storageApply metadata of the latest recovery point to the bucket replicated in the policy's target environment.
Kubernetes engineCreate Kubernetes cluster, disk storage, IAM role, and IAM principle and role of related instance.
*Note: If there are IAM role and policy with the same names, new ones will not be created.
SQL instanceApply metadata of the latest recovery point to the instance replicated in the policy's target environment.
Virtual Machine (VM) instanceCreate VM instance, IAM roles, and IAM principles related to the instance.
*Note: If there are IAM role and policy with the same names, new ones will not be created.

Reset Test Failover

After running test failover jobs, you can reset the test failover data to save your cloud service usage caused by the failover tests.

NOTE

Only resources created by the test failover jobs can be reset.

Refer to the tables below for details on how each resource type is reset during test operations.

Microsoft Azure

ResourceReset Details
Azure Kubernetes ServiceDelete the Kubernetes clusters and disk storage created in the policy's target environment.
MySQL flexible serverNo action will be done to the replicated database. The applied settings will not be reverted.
PostgreSQL flexible serverNo action will be done to the replicated database. The applied settings will not be reverted.
SQL databaseNo action will be done to the replicated database. The applied settings will not be reverted.
Storage accountNo action will be done to the replicated storage account. The applied settings will not be reverted.
Web appDelete the created web app and related resources created in the policy's target environment.
Virtual machineDelete the virtual machine created in the policy's target environment.
Virtual machine scale setDelete the scale set and related resources created in the policy's target environment

Amazon Web Services

ResourceReset Details
DynamoDBNo action will be done to the replicated storage account. The applied settings will not be reverted.
EC2 instanceDelete the EC2 instances and policies created in the policy's target environment.
Elastic BeanstalkDelete the created resources created I the target environment.
Elastic Kubernetes ServiceDelete the Kubernetes cluster and disk storage. The disk snapshot will be kept in the target resource group until the retention period ends.
IAM role and policy created will not be deleted.
Aurora and RDS databaseNo action will be done to the replicated database. The applied settings will not be reverted.
S3 bucketNo action will be done to the replicated bucket. The applied settings will not be reverted.

Google Cloud

ResourceReset Details
Cloud storageNo action will be done to the replicated bucket. The applied settings will not be reverted.
Kubernetes engineDelete Kubernetes clusters and disk storage. Snapshot will remain until the retention period ends.
IAM role and policy created will not be deleted.
SQL instanceNo action will be done to the replicated instance. The applied settings will not be reverted.
VM instanceDelete VM instance created.
IAM role and policy will not be deleted.

Run Reset Job

To reset the test failover data of a replication policy, complete the following steps:

  1. On the Replication page, select the target policy that has run the test failover job.

  2. Click Reset test resources.

  3. In the confirmation window, click OK. A reset job will start to run. You can go to Job monitor to check the job details, including the failed over resources and the error details.