[Pacemaker] DRBD Master/Slave in a 3 node cluster

Stefan Botter listreader at jsj.dyndns.org
Tue Oct 8 08:54:26 UTC 2013


On Mon, 7 Oct 2013 08:25:38 -0700 (PDT)
James Oakley <jfunk at funktronics.ca> wrote:

> On Sunday, October 6, 2013 "Stefan Botter"
> <listreader at jsj.dyndns.org> wrote:
> > Hi Andrew,
> ...snip...
> 
> All of these replies make me hopeful that someone is going to answer
> my question from the original message in this thread. Sadly, it
> turned into something unrelated.

James, compare my configuration with yours.
Take a look especially on the location and colocation contraints.

What did you try in the meantime?
Start from bottom up, with a fresh configuration, and then add resources and constraints one by one.


Anyway, I suspect the following lines are wrong:
colocation col_res_Filesystem_arthur_ms_drbd_4 inf: res_Filesystem_arthur ms_drbd_4:Master
colocation col_res_Filesystem_backup_ms_drbd_1 inf:res_Filesystem_backup ms_drbd_1:Master
colocation col_res_Filesystem_breadmaster_ms_drbd_3 inf:res_Filesystem_breadmaster ms_drbd_3:Master
colocation col_res_Filesystem_media_ms_drbd_2 inf: res_Filesystem_media ms_drbd_2:Master

In my mind they should look like 
colocation col_res_Filesystem_arthur_ms_drbd_4 inf: ms_drbd_4:Master res_Filesystem_arthur:Started

You may want to try grouping several resources together, for instance each group of (filesystem, exportfs, ipaddr2, ipv6addr), this may reduce the complexity a bit.

Greetings,

Stefan
-- 
Stefan Botter zu Hause
Bremen




More information about the Pacemaker mailing list