Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

how hb+drbd prevent data corruption

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


xiaozunvlg at gmail

Aug 26, 2009, 1:02 AM

Post #1 of 2 (487 views)
Permalink
how hb+drbd prevent data corruption

Hi:
I am providing a HA solution base on hb+drbd7. And I have a question how
hb+drbd prevent data corruption when the following events happen.

Suppose there are two nodes A, B in the cluster.

1. A is primary and B is slavery. The state transforming like this:
A(running) B(running)---->A(running)
B(hangup)---->A(hangup)B(hangup)--->A(hangup)B(start)

When B starts, How can it know that the data will be corrupt and do not
start as primary DRBD.

2. A is primary and B is slavery. The drbd net is broken. Before B know
this( the drbd state switch to *Inconsistent*), A write some data to drbd
disk and hangup. Then how can B know that the data will be corrupt and do
not start as primary DRBD.

Best Regards
Mia Lueng
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Aug 26, 2009, 8:50 AM

Post #2 of 2 (427 views)
Permalink
Re: how hb+drbd prevent data corruption [In reply to]

Hi,

On Wed, Aug 26, 2009 at 04:02:21PM +0800, Li James wrote:
> Hi:
> I am providing a HA solution base on hb+drbd7. And I have a question how
> hb+drbd prevent data corruption when the following events happen.
>
> Suppose there are two nodes A, B in the cluster.
>
> 1. A is primary and B is slavery. The state transforming like this:
> A(running) B(running)---->A(running)
> B(hangup)---->A(hangup)B(hangup)--->A(hangup)B(start)
>
> When B starts, How can it know that the data will be corrupt and do not
> start as primary DRBD.
>
> 2. A is primary and B is slavery. The drbd net is broken. Before B know
> this( the drbd state switch to *Inconsistent*), A write some data to drbd
> disk and hangup. Then how can B know that the data will be corrupt and do
> not start as primary DRBD.

Perhaps better to try some drbd forum.

Thanks,

Dejan

> Best Regards
> Mia Lueng
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.