Re: [DRBD-user] List of drbd socket errors

2011-09-21 Thread Ivan Pavlenko
Lars, Thank you very much for your explanation. In this case, if I had "connection reset by peer" error, situation becomes more strange. Actually, I have two resources on this cluster r0 and r1 and I had the problem with r1 only. If it was communication "hiccup", I'd have a problem with both

Re: [DRBD-user] use drbd on wan

2011-09-21 Thread Mia Lueng
Hi Sausin: Thanks for ur advice. Now we use the script to create LVM snapshot before each synchronization. If the sync process is failed(primary is down or net link is broken) , then recovery the secondary node from the previous snapshot immediately. But the lvm snapshot merge is only supported i

Re: [DRBD-user] When would acitivity log take effect?

2011-09-21 Thread Lars Ellenberg
On Wed, Sep 21, 2011 at 08:46:27PM +0800, Lyre wrote: > So activity log is used only when two nodes are connected ? > > I believe SRL in VVR stores the IO write order, so it may contain > serval writes to a same block. We do intend to have something we call "full data logging" (or journalling, if

Re: [DRBD-user] When would acitivity log take effect?

2011-09-21 Thread Felix Frank
The AL is *written* when two nodes are connected. Please refer to http://www.drbd.org/users-guide-legacy/s-activity-log.html for the details and reasoning. It really doesn't have much anything to do with your scenario, I'm afraid. On 09/21/2011 02:46 PM, Lyre wrote: > So activity log is used onl

Re: [DRBD-user] When would acitivity log take effect?

2011-09-21 Thread Lyre
So activity log is used only when two nodes are connected ? I believe SRL in VVR stores the IO write order, so it may contain serval writes to a same block. On Wed, Sep 21, 2011 at 8:35 PM, Felix Frank wrote: > Hi, > > good question. > > On 09/21/2011 12:23 PM, Lyre wrote: >> Hi all: >> >> DRBD

Re: [DRBD-user] When would acitivity log take effect?

2011-09-21 Thread Felix Frank
Hi, good question. On 09/21/2011 12:23 PM, Lyre wrote: > Hi all: > > DRBD background resync doesn't promise the IO write order, is that right ? > > However, when would actitivy log take effect? In my opinion, it is > similiar to SRL in VVR. But I'm confused, I'm curious how does it > work. > >

Re: [DRBD-user] List of drbd socket errors

2011-09-21 Thread Lars Ellenberg
On Wed, Sep 21, 2011 at 10:08:42AM +1000, Ivan Pavlenko wrote: > Hi All, > > Recently I had split brain onto my cluster. There was a not a big > issue, but I still haven't found any reason of this glitch. I got in > my log dile next: We call it a DRBD resource internal split brain, when you have

Re: [DRBD-user] use drbd on wan

2011-09-21 Thread Lionel Sausin
[Sorry, seems like my first post didn't make it to the list: resending] Dear Mia Lueng, We've been in this very situation for 6 month so I think I can anwser most of your questions: > (...) we have considered the following solution: On secondary node, > run disconnect and connect command in se

[DRBD-user] Backing Device Partition Probllems

2011-09-21 Thread jose nuno neto
Hi Im trying to use drbd and kvm and it works ok, but getting a problem I could figure out yet. I have 2nodes, kvm, and instaling virtual machines on drdb devices. The vm create partitions on the drbd devices My problem is that on the hypervisor this partitions are scaned and after you cant brin

Re: [DRBD-user] use drbd on wan

2011-09-21 Thread Lionel Sausin
Le -10/01/-28163 20:59, Mia Lueng a écrit : >> Wouldn't it be better to run in asynchronous mode so your writes on >> the master don't block while the data is shipped to the secondary? >> There's obviously a trade-off with coherency on the secondary but you >> don't have the latency. Sorry, that wo

Re: [DRBD-user] List of drbd socket errors

2011-09-21 Thread David Coulson
What did the other node log? On 9/20/11 11:50 PM, Ivan Pavlenko wrote: Sorry for incomplete info.. There's RHEL 5.5 with 2.6.18-194.17.1.el5 kernel and DRBD is 8.3.8 (api:88) version. Thank you, Ivan ___ drbd-user mailing list drbd-user@lists.li

[DRBD-user] When would acitivity log take effect?

2011-09-21 Thread Lyre
Hi all: DRBD background resync doesn't promise the IO write order, is that right ? However, when would actitivy log take effect? In my opinion, it is similiar to SRL in VVR. But I'm confused, I'm curious how does it work. Considering this situtaion: Oracle runs on Primary node (node1) , while s

Re: [DRBD-user] use drbd on wan

2011-09-21 Thread Christian Völker
Hi, > In our case, we use drbd to sync oracle db data in two node across the > wan. Since the net bandwidth is slow(<2M), the i/o performance is > pretty poor in primary node because i/o operation will be pending to > wait the data transmission. Officially wording would be to purchase the drbd pro