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

Peter Sabaini peter at sabaini.at
Wed Apr 8 17:17:00 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.


On Wednesday 08 April 2009 16:10:07 Cristina Bulfon wrote:
> 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.

Maybe this helps? 

http://www.drbd.org/users-guide-emb/ch-admin.html#s-check-status

I don't know much about fibre channel but probably the DRBD "Disk states" 
reflects the state of the HBA.

Also, have you seen the "Applications" part in the fine manual? Theres a 
chapter devoted to heartbeat. 
http://www.drbd.org/users-guide-emb/ch-heartbeat.html 


hth,
peter.

>
> 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];
>          }
> }
>
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090408/b55e5585/attachment.pgp>


More information about the drbd-user mailing list