[DRBD-user] drbd resource problem on reboot

Maros Timko timkom at gmail.com
Fri Apr 24 18:56:51 CEST 2009

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


Yes, you have answered some of the important info like:
 - dual primary?
 - who manages DRBD resources roles?

Next, it would be good to know if you use any fencing mechanism (STONITH,
DOPD). Did you check the fencing parameter value "resource-and-stonith" do?
Is it not your case?
If this is not your case, you have to provide log files of the standby note
being frozen. I don't know drbd-vbd script. Where it comes from and what it
does?

It would also be better if you include output of:
drbdsetup /dev/drbdX show

Tino

2009/4/24 Isaac González <igonzalez at es.clara.net>

> No, we are using single-primary mode, there are only one primary
> resource at time, this is controlled by the drbd-vbd helper script.
> Isn't a split brain problem.
>
> What kind of info do you need?
>
> Thanks.
>
> Maros Timko escribió:
> > You did not provided much details on it, but try to look at the
> > "|fencing|" parameter on:
> > http://www.drbd.org/users-guide-emb/re-drbdconf.html
> >
> > BTW, are you using dual-primary mode?
> >
> > With regards,
> >
> > Tino
> >
> > 2009/4/24 Isaac González <igonzalez at es.clara.net
> > <mailto:igonzalez at es.clara.net>>
> >
> >     Hi all,
> >
> >     I've a production system with this setup.
> >
> >     2 Xen servers in HA sharing DRBD resources.
> >
> >     DRBD resources are over LVM's.
> >
> >     DomU's are firewalls with differents VLAN's for each one. (There
> >     are not
> >     I/O problems because I've not much read/write proccesses).
> >
> >     The DRBD setup is for each domU (we've 16 vm):
> >
> >     1 DomU
> >     1 - DRBD for base system (5GB)
> >     1 - DRBD resource for swap (512M)
> >
> >     We use a different port for each resource, and physical server are
> >     connected through crossover 10gigabit wire. (not bandwidth problem)
> >
> >     For example:
> >
> >     resource VM1 {
> >        on M1  {
> >            device /dev/drbd38;
> >            disk /dev/vg00/VM1;
> >            meta-disk internal;
> >            address 10.0.0.1:7827 <http://10.0.0.1:7827/>;
> >        }
> >
> >        on M2 {
> >            device /dev/drbd38;
> >            disk /dev/vg00/VM1;
> >            meta-disk internal;
> >            address 10.0.0.2:7827 <http://10.0.0.2:7827/>;
> >        }
> >     }
> >
> >     resource M1-swap {
> >        on M1  {
> >            device /dev/drbd39;
> >            disk /dev/vg00/VM1-swap;
> >            meta-disk internal;
> >            address 10.0.0.1:7828 <http://10.0.0.1:7828/>;
> >        }
> >
> >        on M2 {
> >            device /dev/drbd39;
> >            disk /dev/vg00/VM1-swap;
> >            meta-disk internal;
> >            address 10.0.0.2:7828 <http://10.0.0.2:7828/>;
> >        }
> >     }
> >
> >     THE PROBLEM.
> >
> >     If I do a "reboot" on the domU, the DRDB resource freezes and domU
> >     doesn't boot.
> >     Then I've to kill the Xen proccess that are using drbd's resources of
> >     this domU, set the drbd resource as secondary and start the domU
> >     again.
> >     We'use the drbd helper script to manage drbd resources on xen.
> >
> >     Some idea?
> >
> >     Thanks in advance
> >
> >
> >     _______________________________________________
> >     drbd-user mailing list
> >     drbd-user at lists.linbit.com <mailto:drbd-user at lists.linbit.com>
> >     http://lists.linbit.com/mailman/listinfo/drbd-user
> >
> >
> > ------------------------------------------------------------------------
>  >
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090424/496ba3b4/attachment.htm>


More information about the drbd-user mailing list