[DRBD-user] DRBD Recovery actions without Pacemaker

Digimer lists at alteeve.ca
Thu Jul 7 16:37:53 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.


On 07/07/16 07:16 AM, James Ault wrote:
> 
> 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.

What is the logic here? The only other viable option on EL6 is rgmanager.

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

Makes sense, given that pacemaker (and rgmanager) are resource managers.

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

What do you mean by "those status flags"?

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

How did you handle fencing?

> 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?

Manually, or rgmanager.

> Thanks for your help.
>  
> -James Ault
> 
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?



More information about the drbd-user mailing list