WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] DRDB Oddness

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] DRDB Oddness
From: Stuart Poulton <swp@xxxxxxxxxxxxxx>
Date: Wed, 21 May 2008 12:01:34 +0100
Delivery-date: Wed, 21 May 2008 04:02:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,

I'm successfully using drbd on xen dom0's across a 2 machine cluster.

However I have one domU that refuses to start on one of the machines,
but starts find on the other. Config files for domU and drbd are
identical.

Not sure where to start looking to diagnose the problem

x-host-3:/etc/xen # xm create n-monitor
Using config file "/etc/xen/vm/n-monitor".
Started domain n-monitor


x-host-2:~ # xm create n-monitor
Using config file "/etc/xen/vm/n-monitor".
Error: Device 51712 (vbd) could not be connected. /etc/xen/scripts/block 
failed; error detected.

cat /proc/drbd 
version: 8.0.6 (api:86/proto:86)
SVN Revision: 3048 build by phil@mescal, 2007-09-03 10:39:27
 0: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r---
    ns:67460 nr:42100 dw:109560 dr:276 al:8 bm:13 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:79 misses:13 starving:0 dirty:0 changed:13
        act_log: used:0/257 hits:14489 misses:8 starving:0 dirty:0 changed:8
 1: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate C r---
    ns:0 nr:349880 dw:349880 dr:0 al:0 bm:7 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:67 misses:7 starving:0 dirty:0 changed:7
        act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0
 2: cs:Connected st:Secondary/Primary ds:UpToDate/UpToDate C r---
    ns:0 nr:16956532 dw:16956532 dr:0 al:0 bm:231 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
        act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0


x-host-2:~ # cat /etc/xen/vm/n-monitor 
name="n-monitor"
ostype="opensuse"
uuid="43f11902-dfef-345e-e523-0e68c26a6e0b"
memory=1024
vcpus=2
on_crash="destroy"
on_poweroff="destroy"
on_reboot="restart"
localtime=0
kernel = "/boot/vmlinuz-xen"
ramdisk = "/boot/initrd-xen"
root="/dev/xvda1"
disk=[ 'drbd:n-monitor,xvda,w', ]
vif=[ 'mac=00:16:3e:41:89:24,bridge=xenbr0', 
'mac=00:16:3e:41:89:25,bridge=xenbr1' ]
vfb=['type=vnc,vncunused=1']


resource n-monitor {
  protocol C;
  net {
        allow-two-primaries;
  }
  on x-host-2 {
    device     /dev/drbdr2;
    disk       /dev/sdb3;
    address    10.1.1.111:7790;
    flexible-meta-disk  internal;
  }

  on x-host-3 {
    device    /dev/drbd2;
    disk      /dev/sdb3;
    address   10.1.1.112:7790;
    meta-disk internal;
  }
}



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] DRDB Oddness, Stuart Poulton <=