DRBD Problem

Dieses Thema im Forum "Server Administration" wurde erstellt von kuschelstunde, 19. Nov. 2011.

  1. kuschelstunde

    kuschelstunde New Member

    Hallo,

    wenn ich "drbdadm create-md cluster_metadata" absetze, erhalte ich einen Fehler.

    Woran liegt es?

    Hier meine DRBD.conf

    global {

    usage-count ask;
    }

    common {
    syncer { rate 100M; }
    }

    resource cluster_metadata {

    protocol C;

    handlers {
    pri-on-incon-degr "echo O > /proc/sysrq-trigger ; halt -f";
    pri-lost-after-sb "echo O > /proc/sysrq-trigger ; halt -f";
    local-io-error "echo O > /proc/sysrq-trigger ; halt -f";

    }

    startup {

    degr-wfc-timeout 120; # 2 minutes.
    }

    disk {
    on-io-error detach;

    }

    net {
    after-sb-0pri disconnect;
    after-sb-1pri disconnect;
    after-sb-2pri disconnect;
    rr-conflict disconnect;
    }

    syncer {
    # rate 10M;
    # after "r2";
    al-extents 257;
    }

    on filer1 {
    device /dev/drbd0;
    disk /dev/sda3;
    address 10.10.1.1:7788;
    meta-disk internal;
    }

    on filer2 {
    device /dev/drbd0;
    disk /dev/sda3;
    address 10.10.1.2:7788;
    meta-disk internal;
    }
    }

    resource vg0drbd {

    protocol C;
    startup {
    wfc-timeout 0; ## Infinite!
    degr-wfc-timeout 120; ## 2 minutes.
    }

    disk {
    on-io-error detach;
    }

    net {
    # timeout 60;
    # connect-int 10;
    # ping-int 10;
    # max-buffers 2048;
    # max-epoch-size 2048;
    }

    syncer {
    after "cluster_metadata";
    }

    on filer1 {
    device /dev/drbd1;
    disk /dev/sda5;
    address 10.10.1.1:7789; #nochaendern
    meta-disk internal;
    }

    on filer2 {
    device /dev/drbd1;
    disk /dev/sda5;
    address 10.10.1.2:7789; #nochaendern
    meta-disk internal;
    }

    resource vg1drbd {

    protocol C;
    startup {
    wfc-timeout 0; ## Infinite!
    degr-wfc-timeout 120; ## 2 minutes.
    }

    disk {
    on-io-error detach;
    }

    net {
    # timeout 60;
    # connect-int 10;
    # ping-int 10;
    # max-buffers 2048;
    # max-epoch-size 2048;
    }

    syncer {
    after "cluster_metadata";
    }

    on filer1 {
    device /dev/drbd2;
    disk /dev/sdb1;
    address 10.10.1.1:7789; #nochaendern
    meta-disk internal;
    }

    on filer2 {
    device /dev/drbd2;
    disk /dev/sdb1;
    address 10.10.1.2:7789; #nochaendern
    meta-disk internal;
    }
    }
    }


    Bin für jede Hilfe sehr dankbar :)
     
    Zuletzt bearbeitet: 19. Nov. 2011
  2. Till

    Till Administrator

    Und was ist die Fehlermeldung?
     

Diese Seite empfehlen