[Linux-HA] heartbeat + drbd
Marc Boisis-Delavaud
boisis at cines.fr
Mon Sep 4 05:52:32 MDT 2006
Gary W. Smith a écrit :
> I think that's the point. Until you get it working outside the scope of
> heartbeat it will not work with heartbeat.
>
my initial state is :
/etc/init.d/drbd status
drbd driver loaded OK; device status:
version: 0.7.20 (api:79/proto:74)
SVN Revision: 2260 build by root at castor, 2006-07-26 13:30:03
0: cs:Connected st:Secondary/Secondary ld:Consistent
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
so each node is ready to become primary.
castor:/root > drbdsetup /dev/drbd0 primary
castor:/root > /etc/init.d/drbd status
drbd driver loaded OK; device status:
version: 0.7.21 (api:79/proto:74)
SVN Revision: 2326 build by root at castor, 2006-09-04 11:26:12
0: cs:Connected st:Primary/Secondary ld:Consistent
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
castor:/root > drbdsetup /dev/drbd0 secondary
castor:/root > /etc/init.d/drbd status
drbd driver loaded OK; device status:
version: 0.7.21 (api:79/proto:74)
SVN Revision: 2326 build by root at castor, 2006-09-04 11:26:12
0: cs:Connected st:Secondary/Secondary ld:Consistent
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
I think there is no problem whith drbd,
> So you can get it to become primary by forcing it. What commands are
> you using to release? What commands are you using to try to get the
> primary node again?
>
> Also, when you do activate the primary node what does 'cat /proc/drbd'
> say?
>
> Gary Wayne Smith
>
>
>> I think drbd is working fine because when I force the primary (with
>> --do-what-I-say) , I get this
>> /etc/init.d/drbd status
>> drbd driver loaded OK; device status:
>> version: 0.7.20 (api:79/proto:74)
>> SVN Revision: 2260 build by root at castor, 2006-07-26 13:30:03
>> 0: cs:Connected st:Primary/Secondary ld:Consistent
>> ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
>>
>> but If I don't force it , nothing appen.
>>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
>
>
--
-----------------------------
Marc Boisis-Delavaud
Tel: (33) 04 67 14 14 14
CINES - Montpellier
-----------------------------
More information about the Linux-HA
mailing list