[DRBD-user] Errors and thoughts on heartbeat config from drbd users guide

Dominik Klein dk at in-telegence.net
Fri Jun 13 14:21:08 CEST 2008

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


Dominik Klein wrote:
> There was a user on the linux-ha channel today that had problems with 
> the config example from this page:
> 
> http://www.drbd.org/users-guide/s-heartbeat-crm.html
> 
> While looking at it, there were several things about it that are either 
> wrong or at least not perfect.
> 
> * ordered and colocated default to true in groups - no need to specify 
> them as you leave out other not absolutely needed things like IDs
> * The attribute tags need to be closed - this is actually an error
> * The target_role should not be set as an instance_attribute, but as a 
> meta_attribute and not just for one primitive of the group but for the 
> entire group. Actually, you might leave it out as it defaults to the 
> highest target_role a group can have (namely started) anyway.
> * LSB and Heartbeat resources do not need the provider option - does not 
> cause any pain, but it is not needed

Actually ... There's even more. The V2 example ...

I would suggest just to point people to http://www.linux-ha.org/DRBD/HowTov2

That's - imho by far - the best document on how to use the master_slave 
DRBD RA.

Regards
Dominik



More information about the drbd-user mailing list