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

Cristina Bulfon cristina.bulfon at roma1.infn.it
Wed Apr 8 17:53:41 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.


Ciao,

thanks for the answer.
Disk state connection should help maybe using as a resource with  
heartbeat or
in other way.

cristina

On Apr 8, 2009, at 5:17 PM, Peter Sabaini wrote:
> 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
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list