[DRBD-user] drbd resource problem on reboot

Isaac González igonzalez at es.clara.net
Fri Apr 24 15:43:43 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.


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
>   




More information about the drbd-user mailing list