[DRBD-user] DRBD Recovery actions without Pacemaker

James Ault aultj8 at gmail.com
Thu Jul 7 13:16:51 CEST 2016

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Here is a scenario:

Two identical servers running RHEL 6.7,
Three RAID5 targets, with one Logical volume group and one logical volume
defined on top of each target.
A DRBD device defined on top of each logical volume, and then an XFS file
system defined on top of each DRBD device.

The two identical servers are right on top of one another in the rack, and
connected by a single ethernet cable for a private network.

The configuration works as far as synchronization between DRBD devices.

We do NOT have pacemaker as part of this configuration at management's
request.

We have the XFS file system mounted on server1, and this file system is
exported via NFS.

The difficulty lies in performing failover actions without pacemaker
automation.

The file system is mounted, and those status flags on the file system are
successfully mirrored to server2.

If I disconnected all wires from server1 to simulate system failure, and
promoted server2 to primary on one of these file systems, and attempted to
mount it, the error displayed is "file system already mounted".

I have searched the xfs_admin and mount man pages thoroughly to find an
option that would help me overcome this state.

Our purpose of replication is to preserve and recover data in case of
failure, but we are unable to recover or use the secondary copy in our
current configuration.

How can I recover and use this data without introducing pacemaker to our
configuration?

Thanks for your help.

-James Ault
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20160707/3a4907b8/attachment.htm>


More information about the drbd-user mailing list