[DRBD-user] Remove network cable causing system reboot

Louis Voo mailtolouis2020-forum at yahoo.com
Tue Aug 16 18:43:32 CEST 2011

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


Hi,

I've 2 xen server setup using DRBD. The VM is run on the DRBD partition. 
Both server running on Centos 5.6 with 2 NIC, 1 NIC is use by DRBD direct connect to another server using cross over cable. One run on Primary mode and another run on Secondary Mode.
Everything work fine so far, but we just found that when the VM is running and if we remove the cross over cable, the primary host will get reboot.

Is it something to do to DRBD setup?

here is my drbd.conf

global {
        usage-count no;
}

common {
        protocol C;
        startup {
                #become-primary-on both;              
                degr-wfc-timeout 60;
                wfc-timeout  30;
        }

        net {
                allow-two-primaries;                 
                cram-hmac-alg sha1;
                shared-secret "123456";
                after-sb-0pri discard-zero-changes;
                #after-sb-1pri violently-as0p;
                after-sb-1pri discard-secondary;
                #after-sb-2pri violently-as0p;
                after-sb-2pri disconnect;
        }

        syncer {
                rate 24M;
                verify-alg sha1;
        }
}
 
resource vm1 {
 
        disk      /dev/vmVg/vm1;
        device    /dev/drbd1;
        meta-disk internal;

        on primary.host.com {
                address   172.16.66.1:7789;
        }
 
        on secondary.host.com {
                address   172.16.66.2:7789;
        }
}


Regards
Louis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110816/619c7c35/attachment.htm>


More information about the drbd-user mailing list