Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Yes! Yes...
After I run on virt-01 (node1)
root at virt-01:~# service drbd restart
* Restarting all DRBD
resources
[ OK ]
root at virt-01:~# cat /proc/drbd
version: 8.3.3 (api:88/proto:86-91)
GIT-hash: 49bfeeaf3690ad0b9afd5376feda9e9eb34a30f3 build by
nobody at virt-01, 2009-11-25 16:09:37
0: cs:SyncTarget ro:Secondary/Secondary ds:Inconsistent/UpToDate C r----
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:1 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
[===================>] sync'ed:100.0% (0/0)K
finish: 0:00:00 speed: 0 (0) K/sec
root at virt-01:~# cat /proc/drbd
version: 8.3.3 (api:88/proto:86-91)
GIT-hash: 49bfeeaf3690ad0b9afd5376feda9e9eb34a30f3 build by
nobody at virt-01, 2009-11-25 16:09:37
0: cs:Connected ro:Secondary/Secondary ds:UpToDate/UpToDate C r----
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
Both nodes is in Secondary/Secondary.
But remenber the drbd.conf??? become-primary-on-both???
Why this not happen???
*Gilberto Nunes Ferreira*
*TI*
*Selbetti Gestão de Documentos*
*Telefone: +55 (47) 3441-6004*
*Celular: +55 (47) 8861-6672*
/"Bendita a nação cujo Deus é o SENHOR!"/
*99* <><
Gianluca Cecchi escreveu:
> On Thu, Nov 26, 2009 at 5:40 PM, gilberto nunes
> <gilberto.nunes at selbetti.com.br> wrote:
>
>> Ok
>>
>> Now I halt both node ok???
>>
>> The
>> I am on virt-00, that is my node0 here.
>> I use this command:
>>
>> cat /proc/drbd
>>
>> and get this:
>>
>> version: 8.3.3 (api:88/proto:86-91)
>> GIT-hash: 49bfeeaf3690ad0b9afd5376feda9e9eb34a30f3 build by nobody at virt-00,
>> 2009-11-25 16:53:33
>> 0: cs:StandAlone ro:Primary/Unknown ds:UpToDate/DUnknown r----
>> ns:0 nr:0 dw:0 dr:220 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
>>
>> And on virt-01, that is my node1 here, I get this:
>>
>> version: 8.3.3 (api:88/proto:86-91)
>> GIT-hash: 49bfeeaf3690ad0b9afd5376feda9e9eb34a30f3 build by nobody at virt-01,
>> 2009-11-25 16:09:37
>> 0: cs:StandAlone ro:Primary/Unknown ds:UpToDate/DUnknown r----
>> ns:0 nr:0 dw:0 dr:220 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
>>
>>
>>
>
> No, it is not good.
> In the first post you said that after
> drbdadm -- --overwrite-data-of-peer primary r0
>
> you was ok.
> "Ok" here means that on both you have, after command above completes,
> something like
> cs:connected ro:Primary/Primary ds:UpToDate/UpToDate
>
> Is this so? Otherwise it is not good..
>