You can configure the DR policy for Passthrough (PT) and stage syncs in SWIFT.
Setting up a Disaster Recovery (DR) policy is crucial for ensuring business continuity in the event of a disaster.
This will help you to reduce downtime, ensuring that your systems and applications can be quickly restored after a disaster in SWIFT.
- You can configure the DR policy in two ways for the syncs in SWIFT.
- With existing application replication
- With New application replication.
With Existing application replication with DR policy for Stage1 sync.
- You need to go to the SWIFT dashboard and select ‘All Replication’ and click on ‘New’ button and select 'Application Replication’ then choose the stage1 sync mode and do one replication. Please find snippet below.
- In that step, you need to provide the source cluster information along with the namespace, select the ‘Storage Pool,’ and enter the ‘Image Group’ name on the target side.
- In Stage 1 replication, the data will be replicated from the source to the SWIFT server storage pool.
- For storage pool you need to create a storage pool in ‘Storage pool’ under ‘Business Continuity & DR’ section in SWIFT. Please refer to the ‘Storage pool administration’ KB article for the same.
Completed the stage1 . . As you can see below snippet. You will see Replication type.
Now you can do a replication with created DR Policy for existing replication.
- Choose the ‘Existing Replication’ to start the replication with existing replication as below. It’s the same as PT sync.
- Once you click on ‘Apply,’ the DR policy will be triggered and it will in a ‘Active’ state, and Stage 1 replication will begin.
You can see below snippet that DR Policy runs with existing stage1 job.
With New application replication with DR policy for Stage1 sync.
- You need to go ‘DR Policies’ under Business Continuity & DR and select the created DR policy and click on ‘apply’ button to start Replication Application. Please see below snippet.
- You need to choose ‘New Replication’ and put the cluster details at source side. And choose the storage pool and put the image group name on the target side.
- Order-level will be ‘Level 0’ for the first time by-default.
- Once apply, then DR policy will be triggered to ‘Active’ state and new stage-1 replication will be begin. Please see below snippets. In the below snippet you can see Job Type and operation type that you will get idea this sync is completed through DR Policy.
With fresh application replication with DR policy for Stage2 sync.
- You need to go to the SWIFT dashboard and select ‘All Replication’ and click on ‘New’ button and select 'Application Replication’ then choose the stage2 sync mode and do stage-2 replication.
- In Stage-2 replication, you need to choose Platform type Kubernetes/OpenShift, select the storage pool and choose the Image group from the dropdown which has already been created at stage-1. And select the Cluster and namespace at target side.
- It will also display all the ‘Storage Classes’ on the target side in SWIFT. You just need to select one of these storage classes. The target volumes will be created using the selected storage class.
- Basically, in Stag-2 replication, the data will be transferred from SWIFT to Target
In the below snippet. There is simple stage2 is running. Whatever in your Source (Image group) , it will transfer to target cluster.
We will do stage-2 sync with existing job.
You have to click on DR Policy and click on existing replication and click on "+" sign, then apply it, it will run directly through DRP. Please find snippet below.
#You can also do a directly applying Stage1-2 DR Policy and do a stage1 and stage2 sync. For this you need to apply the DR Policy and fill up the source and target cluster.
#Once you applied the DR Policy, Policy will be in active state and then it will start stage1 and stage2 sync.
# In the below snippet you can see stage1 and stage2 has been completed with DRP.