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.

Item
Value
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
  1. See one the following topics to prepare a disk for replication.
  1. 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).

  1. 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.

  1. Enter the following values. Select the default values.
Field
Value
Switchback Type intelligent
Server node-a
Hierarchy Type Replicate Existing Filesystem
  1. Select Mount Point /datakeeper. The wizard will have already scanned the system and will show /datakeeper as the candidate for this field.

  1. The wizard asks for confirmation of the selection. Select ‘Continue’ to move on.

  1. Enter the following values in the fields. Select the default values.
Field
Value
Data Replication Resource Tag datarep-datakeeper
File System Resource Tag /datakeeper
Bitmap File /opt/LifeKeeper/bitmap__datakeeper
Enable Asynchronous Replication? no
  1. The ‘Create Data Replication Resource Hierarchy’ wizard displays these values. Select “Next” to continue.

  1. The next step is the “Pre-Extend Wizard”. Select the default values.

Field
Value
Switchback Type intelligent
Template Priority 1
Target Priority 10

Once the checks in the ‘Pre-Extend Wizard’ have passed, select ‘Next’ to continue.

  1. 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.

  1. On the following pages, select the default values.
Field
Value
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”.

フィードバック

お役に立ちましたか?

はい いいえ
お役に立ちましたか
理由をお聞かせください
フィードバックありがとうございました

このトピックへフィードバック

送信