A dynamic Disaster Recovery (DR) cluster is created to provide a standby environment that can be brought up, scaled, or updated automatically when needed, rather than keeping a fully active secondary site all the time.

SWIFT has provided this nice feature that user can perform Dynamic DR provision. To do this follow below steps.


Pre-requisite:

It should have a cloud account where the dynamic cluster will be provisioned.


How to create dynamic DR provision at Huawei cloud.


1. A Stage1 DR policy can be created from the Business Continuity DR section under DR Policies by selecting New, choosing Stage1 as the sync type, and then specifying the DR policy name and the required periodicity. 


2. After creating the Stage1 DR Policy, you can select it and choose Apply, then proceed with Application Replication using the DR cluster. 


3. When you click on Application Replication using DR cluster, then one prompt will be appear. There you can provide the source and Dynamic cluster information.




4. Once you apply the DR Policy, it will be in Active state.


5. Click the Failover option (right-tilted arrow) to provision a dynamic DR cluster. 


6. Make sure DR Drill is unchecked, and then click the Failover button to perform an actual failover.


7. Once you click Failover, Stage2 is automatically triggered to provision a dynamic DR cluster on Huawei through SWIFT. 


8. Additionally, you can monitor the sync progress by opening the job details, which will show the ongoing backend activities. 

 

9. Stage2 is now complete, and the DR Policy has successfully failed over. You can check below snippet.



10. You can now see that the dynamic DR cluster has been provisioned successfully. 


11. You can now access the application and confirm that they have been provisioned in the correct namespace specified during the dynamic cluster configuration. 


12. You can now access the application and verify the post. 



If you want to delete the dynamically created cluster, you will first need to perform a fallback of the failed-over DR Policy. 


1. Navigate to DR Policies and click the left-tilted arrow to initiate the fallback. 


2. You can then click the Fallback button to initiate the fallback process, which will automatically delete the dynamic cluster. 


3. Stage1 will then be triggered, during which all updated data is first synchronized from the dynamic DR cluster to SWIFT (IG), and subsequently from SWIFT (IG) to the source cluster in Stage2. 


4. You can also confirm that the dynamic DR cluster has been deleted from the Huawei console. 


5. The DR Policy fallback has completed successfully.