Skip to contentSkip to conversation

Remus and blktap2

DISCUSSION Wei Liu 3 participants 7 messages Apr 22, 2016 – Apr 23, 2016

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

Hi Shriram and Hongyang

I have a question regarding REMUS block replication support. Does it require blktap2 to function? The README.remus file only mention DRDB so I'm not sure how blktap2 fit into the picture.

Thanks
Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw

Blktap2 was the first disk backend implementation. I moved Remus to DRBD because it had disk resynchronization support. For eg, when primary fails, backup takes over. When primary comes back online, DRBD would automatically resynchronize new changes from the backup disk to the primary disk and will continue to keep them synchronized.
At this stage, you have the option of starting Remus replication from backup to primary, or, migrating the VM back to the primary host and doing the primary to backup replication.

The DRBD support (last I remember) is quite out of date, because the Remus DRBD kernel module I wrote relies on an older kernel version (3.4?) and older DRBD code base (8.1 I think).

Quoted 10 lines · Wei Liu

Hi Shriram and Hongyang

I have a question regarding REMUS block replication support. Does it require blktap2 to function? The README.remus file only mention DRDB so I'm not sure how blktap2 fit into the picture.

Thanks
Wei.

--

~shriram

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

author
#2 lore raw
Quoted 9 lines · Shriram Rajagopalan

Blktap2 was the first disk backend implementation. I moved Remus to DRBD because it had disk resynchronization support. For eg, when primary fails, backup takes over. When primary comes back online, DRBD would automatically resynchronize new changes from the backup disk to the primary disk and will continue to keep them synchronized.
At this stage, you have the option of starting Remus replication from backup to primary, or, migrating the VM back to the primary host and doing the primary to backup replication.

Quoted 4 lines

The DRBD support (last I remember) is quite out of date, because the Remus DRBD kernel module I wrote relies on an older kernel version (3.4?) and older DRBD code base (8.1 I think).

I should have given more context. We may want to remove blktap2 from xen.git in the future. Will that break remus?

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw

I don't think so.

Quoted 25 lines · Wei Liu
Quoted 2 lines · Shriram Rajagopalan

Blktap2 was the first disk backend implementation. I moved Remus to DRBD because it had disk resynchronization support. For eg, when primary

fails,

Quoted 1 line

backup takes over. When primary comes back online, DRBD would

automatically

Quoted 1 line

resynchronize new changes from the backup disk to the primary disk and

will

Quoted 3 lines

continue to keep them synchronized.
At this stage, you have the option of starting Remus replication from backup to primary, or, migrating the VM back to the primary host and

doing

Quoted 3 lines

the primary to backup replication.

The DRBD support (last I remember) is quite out of date, because the

Remus

Quoted 3 lines

DRBD kernel module I wrote relies on an older kernel version (3.4?) and older DRBD code base (8.1 I think).

I should have given more context. We may want to remove blktap2 from xen.git in the future. Will that break remus?

Wei.

Signature · 1 line
~shriram

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw
In reply to Shriram Rajagopalan

Hi,

Quoted 9 lines · Shriram Rajagopalan

Blktap2 was the first disk backend implementation. I moved Remus to DRBD because it had disk resynchronization support. For eg, when primary fails, backup takes over. When primary comes back online, DRBD would automatically resynchronize new changes from the backup disk to the primary disk and will continue to keep them synchronized.
At this stage, you have the option of starting Remus replication from backup to primary, or, migrating the VM back to the primary host and doing the primary to backup replication.

Quoted 4 lines

The DRBD support (last I remember) is quite out of date, because the Remus DRBD kernel module I wrote relies on an older kernel version (3.4?) and older DRBD code base (8.1 I think).

Are there plans to get the Remus DRBD module upstreamed? Or working with recent DRBD versions?

Thanks,

-- Pasi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw

I tried to upstream the DRBD code few years ago, but the maintainers were not willing to accept the patch, stating that stating that I had not proved that the entire Remus system implementation (memory and disk replication) was tolerant to all forms of system errors and maintain consistency of the disk.
Not sure why this mattered to them, as the checkpoint based disk replication protocol could be used independent of Remus for any other system, just like the way companies like Yelp are using the Remus' plug qdisc for controlling their application interaction with network, without using any other part of Remus. Sigh

The only reason to stick to DRBD is because of its resynchronization capabilities. If that is not needed, a Remus style disk replication can be done using Qemu's disk backends. I am out of sync with the current status of disk backends that Qemu offers and Xen supports. So I apologize in advance for any factual inaccuracies.

Quoted 26 lines · Pasi Kärkkäinen

Hi,

Quoted 1 line · Shriram Rajagopalan

Blktap2 was the first disk backend implementation. I moved Remus to

DRBD

Quoted 1 line

because it had disk resynchronization support. For eg, when primary

fails,

Quoted 5 lines

backup takes over. When primary comes back online, DRBD would automatically resynchronize new changes from the backup disk to the primary disk and will continue to keep them synchronized. At this stage, you have the option of starting Remus replication from backup to primary, or, migrating the VM back to the primary host and

doing

Quoted 3 lines

the primary to backup replication.

The DRBD support (last I remember) is quite out of date, because the

Remus

Quoted 1 line

DRBD kernel module I wrote relies on an older kernel version (3.4?)

and

Quoted 2 lines

older DRBD code base (8.1 I think).

Are there plans to get the Remus DRBD module upstreamed? Or working with recent DRBD versions?

Quoted 5 lines

Thanks,

-- Pasi

--

~shriram

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel