Perform the following on your primary server:

  1. Select Edit > Server > Create Resource Hierarchy or right-click on the server you intend to be the primary server and select Create Resource Hierarchy.

The Create Resource Wizard dialog will appear.

  1. Select the DRBD option from the dropdown list and click Next to continue.
  1. The Switchback Type dialog will appear.

Select either intelligent or automatic. This dictates how the DRBD resource will be switched back to this server when the server comes back up after a failover. The switchback type can be changed later from the General tab of the Resource Properties dialog box. An intelligent switchback (recommended) means that after a failover to the backup server, an administrator must manually switch the DRBD resource back to the primary server. An automatic switchback means that after a failover to the backup server the DRBD resource will automatically switch back to the primary server.

Click Next to continue.

  1. The Server dialog will appear if you initiate the Create from the Edit menu.

Select the name of the server where the DRBD resource will be created (typically this is your primary server). All servers in your cluster are included in the dropdown list.

Click Next to continue.

  1. The Source Disk dialog will appear.

Select from the list of disks, partitions or logical volumes in the dropdown list that are not:

• Currently mounted

• LifeKeeper-protected

• Special disks or partitions, for example, swap, root (/), boot (/boot), /proc, and cdrom

The selected disk or partition is required to have a unique ID (GUID) found in /dev/disk/by-partuuid, /dev/disk/by-id or /dev/disk/by-uuid.

Click Next to continue.

  1. The New Mount Point dialog will appear.

Enter the New Mount Point of the new file system. This should be the mount point where the replicated disk or partition will be located. If the mount point does not already exist it will be created.

Click Next to continue.

  1. A confirmation dialog will appear if the mount point will be created

or if the mount point already exists

Select Back to enter a different mount point or Continue to use this mount point.

  1. The New Filesystem Type dialog will appear.

Select the File System Type from the list of LifeKeeper supported file system types provided in the drop down menu.

Click Next to continue.

  1. The DRBD Resource Tag dialog will appear.

Select or enter a unique DRBD Resource Tag name for the DRBD resource instance.

Click Next to continue.

  1. The File System Resource Tag dialog will appear.

Select or enter a File System Resource Tag name for the file system resource instance.

Click Next to continue to the Confirmation Screen.

  1. A confirmation screen noting the location where the new file system will be created and a warning indicating the pending format of the local disk or partition will be displayed.

Click Create to begin Resource Creation.

LifeKeeper will verify that you have provided valid data to create your resource on a new file system. If LifeKeeper detects a problem, an ERROR will appear in the information box. If the validation is successful, your resource will be created. Note that the creation of the file system may take several minutes depending on the disk or partition size.

The hierarchy is configured on a single server:

Click Next to continue to Extend the hierarchy to the next server.

  1. This will take you to the Pre-Extend dialog. Refer to Extending Your DRBD Hierarchy for instructions on extending the hierarchy.

  1. To extend the hierarchy at later time click Cancel on the Pre-Extend screen. The hierarchy will be checked for consistency.

Select Done.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment