drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: Re: [DRBD-user] Secondary DRBD Server Access

Re: [DRBD-user] Secondary DRBD Server Access

From: Q S Tahmeed <tahmeed_at_nospam>
Date: Wed Mar 31 2010 - 17:30:15 GMT
To: <drbd-user@lists.linbit.com>

Thank you all! Specially Brain & Michael.

Now its OK. When I shift the role from secondary to primary and mount the
file system, I get all the files.

Best Regards,

Tahmeed

-----Original Message-----
From: drbd-user-bounces@lists.linbit.com
[mailto:drbd-user-bounces@lists.linbit.com] On Behalf Of Brian R. Hellman
Sent: Wednesday, March 31, 2010 8:33 PM
To: drbd-user@lists.linbit.com
Subject: Re: [DRBD-user] Secondary DRBD Server Access

Please see:
http://www.drbd.org/users-guide-emb/s-switch-resource-roles.html

LINBIT - Your Way to High Availability
7959 SW Cirrus Dr.
Beaverton, OR 97008

http://www.linbit.com

On 03/31/2010 06:43 AM, Q S Tahmeed wrote:
> Dear Michael,
>
>
> Thankyou for the reply.
>
> This is what I find from my primary server's "cat /proc/drbd"
>
> ==========================================
>
> version: 8.3.6 (api:88/proto:86-91)
> GIT-hash: f3606c47cc6fcf6b3f086e425cb34af8b7a81bbf build by
> root@sizmo.link3.net, 2010-03-20 04:57:22
>
> 1: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r----
> ns:260512 nr:0 dw:0 dr:260512 al:0 bm:126 lo:0 pe:0 ua:0 ap:0 ep:1
wo:b
> oos:0
>
> ==========================================
>
> Which seems to be OK to me. But if someone could suggest anything from
here
> and/or regarding my second question it would be very helpful. Since I am
> stuck at this stage and reading is not making it clear for me. My second
> question was:
>
> 2. If I forcefully shutdown the primary server and try to access the
> secondary server what I need to do ?
>
>
> Best Regards,
>
>
> Tahmeed
>
>
> -----Original Message-----
> From: drbd-user-bounces@lists.linbit.com
> [mailto:drbd-user-bounces@lists.linbit.com] On Behalf Of Michael
> Schwartzkopff
> Sent: Wednesday, March 31, 2010 6:11 PM
> To: drbd-user@lists.linbit.com
> Subject: Re: [DRBD-user] Secondary DRBD Server Access
>
> Am Mittwoch, 31. März 2010 10:30:44 schrieb Q S Tahmeed:
>
>> Dear All,
>>
>>
>> I recently have setup primary and secondary DRBD Servers from source.
Both
>> the servers seems to be synced properly with each other as seen from the
>> file "/proc/drbd".
>>
>> I have mounted a partition in the primary server.
>>
>> My questions are:
>>
>> 1. How to check that data is being synced with the secondary server ?
>>
> Status on cat /proc/drbd
>
>
>> 2. If I forcefully shutdown the primary server and try to access the
>> secondary server what I need to do ? Am asking
>> this since I tried to mount the same drbd filesystem in the secondary
>> server but failed to do so. And reading didn't
>> help me much.
>>
>>
>> Thanks in advance.
>>
>>
>> Tahmeed
>>
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user@lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
>>
> Did you promote your secondary?
> Did you read http://www.drbd.org/docs/working/
>
> Greetings,
>
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user