[DRBD-user] help or advice on drbd.conf

Cristina Bulfon Cristina.Bulfon at roma1.infn.it
Wed Apr 8 16:10:07 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.


Hi everybody,

we are setting up a cluster with heartbeat (2.1.3), DRBD 8.3.
We have two partitions through SAN and those are managed by DRBD.

I'd like to know if there is a way to check the fiber channel adapter  
(HBA) with DRBD, I am thinking
the case of the broken of HBA and  the DRBD device will be not  
available and heartbeat has to switch
the "service" on the secondary node.

Any help is appreciate.

Thanks everybody

Cristina


------------------------------------------------------------------


If it will help follow the drbd configuration

cat /etc/drbd.conf
#
# please have a a look at the example configuration file in
# /usr/share/doc/drbd/drbd.conf
#
global {
	usage-count yes;
}
common {
	protocol C;
}
resource r0 {
    syncer {
	 verify-alg md5;
         }
    #disk {
    #      on-io-error detach;
    #    }
	on afsitfs3.roma1.infn.it {
	    device    /dev/drbd1;
             disk      /dev/AFS/sda3;
	    address   10.0.0.2:7789;
   	    meta-disk /dev/AFS/sda2[0];
         }
	on afsitfs4.roma1.infn.it {
	    device /dev/drbd1;
             disk  /dev/AFS/sda3;
	    address  10.0.0.1:7789;
   	    meta-disk /dev/AFS/sda2[0];
         }
}
resource r1 {
	on afsitfs3.roma1.infn.it {
	    device    /dev/drbd2;
             disk      /dev/AFS/sda1;
	    address   10.0.0.2:7788;
   	    meta-disk /dev/AFS/sda2[1];
         }
	on afsitfs4.roma1.infn.it {
	    device /dev/drbd2;
             disk  /dev/AFS/sda1;
	    address  10.0.0.1:7788;
   	    meta-disk /dev/AFS/sda2[1];
         }
}






More information about the drbd-user mailing list