How to Protect Server with CDP, Server Replication, and Auto Failover in Vinchin Backup & Recovery?

Ensureing business continuity is important for companies and Vinchin Backup & Recovery and protect real-time protection to critical infrastructures and reduce downtime.

download-icon

Free Download

for VM, OS, DB, File, NAS, etc.

nick-zhao

Updated by Nick Zhao on 2024/05/29

Disaster recovery is important to business systems and you will know how to use CDP in Vinchin Backup & Recovery to protect critical infrastructures in this post.

Server CDP requires an agent installed into the target server. I have installed it on this server so now let’s create a Server CDP backup job to fully demonstrate CDP, failover, and failback for you.

CDP agent

Go to Server CDP > Backup > select data volume

Select data volume

Select target storage to store the backup data.

Select Target Storage

You can enable Server Replication and select a volume of a standby machine to map the original data volume. If you also enable Backup Data, the volume data will be also stored to the backup storage and let you select any point-in-time recovery point. Double insurance.

Enable CDP and Server Replication

Enable Failover for automatic failover and later failback. Configure the Failover Network, Failback IP, and Heartbeat Failure Time

Failover Configuration

You can select the general strategies here like Throttling Policy, Data Compression and Encryption, and Retention Policy for maximum rollback days.

CDP Backup Strategies

You can also select Transmission Strategies and Advanced Strategies like Agent file cache path & size, Agent memory cache size, and IO replication mode.

CDP advanced strategies

Submit the job

Submit the CDP Backup Job

let's start it

Start CDP backup job

Now the job start the handshake with client and initializing the process and network and then start initializing the real-time monitoring. The Job phase is Initial Sync now.

Initial Sync

Here you can view the synced data, job flow and data flow direction.

View CDP Job

Now the Initial Sync is completed and the job phrase is turned into CDP Backup. It means the CDP real-time synchronization is started.

CDP Backup

Let’s log in to the source server and view the folders on it. Later I will disconnect it from network to simulate the case when the production machine is offline for network failure.

View folders on the source machine

Here we can see the basic information of this job and Heartbeat Failure Time.

Heartbeat Failure Time

Now the network is disconnected and the task status is changed to Network Fault.

Network error

After 30 seconds, CDP backup job will automatically takeover the job and the job data flow direction is changed successfully.

Standby machine takeover

Now let’s take a view of the folders on the standby machine. They are already there. I’m creating some folders here to synchronize them to the source machine later.

View Standby Machine

Now I have brought the source server online and will configure the failback job. Click here to modify the failback configuration. Select source server as the target host > select the volume to map data to the original volume.

Failback job

Manually start Failback

Start Failback

You need to enter the password for that.

Enter the password

Now the data is being synchronized to the original server.

Transfer data back

After failback CDP backup job is completed, stop the CDP backup job. It will perform the filesystem scan and repair operation for data volume.Stop failback

Now the takeover is completed so let's go back to original server to check the data inside the volume. The new folders are synchronized successfully.

Recheck the source machine

Vinchin Backup & Recovery has helped thousands of companies protect workloads and you can also start a 60-day full-eatured free trial to experience its powerful feafures.

Share on:

Categories: Vinchin Help