As discussed in How Does Data Replication between Nodes Work, DataKeeper creates a NetRAID Device which works as RAID1 device.
This guide uses the following parameters as examples. Replace these parameters based on the local environment that DataKeeper is being installed on.
Disk Device Name for Replication | /dev/xvdb (the second storage device attached) Note: The Storage Device name may vary based on your environment. |
Mount point | /datakeeper |
- See one the following topics to prepare a disk for replication.
- How to Prepare Disks for Replication on AWS
- How to Prepare Disks for Replication on Azure
- How to Prepare Disks for Replication on GCP
- Mount the disk on the primary node (node-a).
Be sure to check the name of the storage device to mount (such as /dev/xvdb1 or /dev/sdc1).
- On the LifeKeeper User Interface, define a new resource. Select to start the Create Resource Wizard @ node-a. Select “Data Replication” as the Recovery Kit.
- Enter the following values. Select the default values.
Switchback Type | intelligent |
Server | node-a |
Hierarchy Type | Replicate Existing Filesystem |
- Select Mount Point /datakeeper. The wizard will have already scanned the system and will show /datakeeper as the candidate for this field.
- The wizard asks for confirmation of the selection. Select ‘Continue’ to move on.
- Enter the following values in the fields. Select the default values.
Data Replication Resource Tag | datarep-datakeeper |
File System Resource Tag | /datakeeper |
Bitmap File | /opt/LifeKeeper/bitmap__datakeeper |
Enable Asynchronous Replication? | no |
- The ‘Create Data Replication Resource Hierarchy’ wizard displays these values. Select “Next” to continue.
- The next step is the “Pre-Extend Wizard”. Select the default values.
Switchback Type | intelligent |
Template Priority | 1 |
Target Priority | 10 |
Once the checks in the ‘Pre-Extend Wizard’ have passed, select ‘Next’ to continue.
- On the “Extend gen/filesys Resource Hierarchy” wizard, the first choice is selecting the disk as the standby node. Select the disk from the dropdown list.
- On the following pages, select the default values.
Mount point | /datakeeper |
Root Tag | /datakeeper |
Target Disk | /dev/xvdb1 (20G) |
Data Replication Resource Tag | datarep-datakeeper |
Bitmap File | /opt/LifeKeeper/bitmap__datakeeper |
Replication Path | 10.20.1.10/10.20.2.10 |
Once the ‘Extend Wizard’ successfully completes, select ‘Finish’.
Now the disk is configured to replicate the data. As seen below, a full initial sync of the data is required. Once the data is synced, the label will change to “Target”.
Post your comment on this topic.