From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael A. Collins" Subject: Re: BLKTAP Date: Mon, 21 Nov 2011 21:04:51 -0500 Message-ID: <000301cca8bb$1ebfaa90$5c3effb0$@ark-net.org> References: <002401cca7e6$ec135b70$c43a1250$@ark-net.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3190548398993086071==" Return-path: In-Reply-To: Content-Language: en-us List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: rshriram@cs.ubc.ca Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multipart message in MIME format. --===============3190548398993086071== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01CCA891.35E9A290" Content-Language: en-us This is a multipart message in MIME format. ------=_NextPart_000_0004_01CCA891.35E9A290 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: Shriram Rajagopalan [mailto:rshriram@cs.ubc.ca] Sent: Monday, November 21, 2011 12:03 AM To: Michael A. Collins Cc: xen-devel@lists.xensource.com; xen-users@lists.xensource.com Subject: Re: [Xen-devel] BLKTAP . drbd/remus - why do you need blktap ? shriram >>From my readings, I have found only a few examples of using remus. Most of them refer to using the following stanza in the disk section of a VM's cfg file: tap2:remus:backuphost:anyfreeport| That doesn't work for xl, but even using it with xm causes issues, since there isn't a tap device without the kernel module. So I also found out that drbd uses a tap device to handle the hook in with Xen, so if you want to have automagic working with block-drbd xen scripts then you have to use tap. With all that said and done, I'm currently running drbd 8.3.11 since that's the version of the kernel module included with Linux 3.1, but I'm just using Xen's phy handler for the disk section of my VM's cfg file. I see that there is a nice howto for debian on remusha.wikidot.com, but again it uses a 2.6.32 kernel from Jeremy's git repo, which has the tap kernel module. I again assert that currently there is very little out there that would help to get someone started using remus with drbd in the linux 3.1.x world. I run remus at work, but it's using shared storage and have no need to use it with drbd, but at home I don't really want to set that up, so I thought drbd would be a nice start. I've started diffing the 8.3.9 branch of drbd with your changes for remus and will see how hard it is to get that in the 8.3.11 version I'm using. With that being said, I mostly use xl for everything at home, I don't even have the xend service running, which makes matters worse, since I'm sure that most of remus uses the xend service and not the API to do the magic. I am willing to document my steps and post to the wiki, so that others could benefit from it! Mike ------=_NextPart_000_0004_01CCA891.35E9A290 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

From:= = Shriram Rajagopalan [mailto:rshriram@cs.ubc.ca]
Sent: Monday, November 21, 2011 12:03 AM
To: = Michael A. Collins
Cc:
xen-devel@lists.xensource.c= om; xen-users@lists.xensource.c= om
Subject: Re: [Xen-devel] BLKTAP

 


drbd/remus - why  do you need blktap = ?

shriram

 

From my readings, I have found only a few examples of using = remus.  Most of them refer to using the following stanza in the = disk section of a VM’s cfg file:

tap2:remus:backuphost:anyfreeport|

 

That doesn’t work for xl, but even using it with xm causes = issues, since there isn’t a tap device without the kernel = module.  So I also found out that drbd uses a tap device to handle = the hook in with Xen, so if you want to have automagic working with = block-drbd xen scripts then you have to use tap.  With all that = said and done, I’m currently running drbd 8.3.11 since = that’s the version of the kernel module included with Linux 3.1, = but I’m just using Xen’s phy handler for the disk section of = my VM’s cfg file.

 

I see that there is a nice howto for debian on remusha.wikidot.com, = but again it uses a 2.6.32 kernel from Jeremy’s git repo, which = has the tap kernel module.  I again assert that currently there is = very little out there that would help to get someone started using remus = with drbd in the linux 3.1.x world.  I run remus at work, but = it’s using shared storage and have no need to use it with drbd, = but at home I don’t really want to set that up, so I thought drbd = would be a nice start.

 

I’ve started diffing the 8.3.9 branch of drbd with your changes = for remus and will see how hard it is to get that in the 8.3.11 version = I’m using.

 

With that being said, I mostly use xl for everything at home, I = don’t even have the xend service running, which makes matters = worse, since I’m sure that most of remus uses the xend service and = not the API to do the magic.  I am willing to document my steps and = post to the wiki, so that others could benefit from = it!

Mike

------=_NextPart_000_0004_01CCA891.35E9A290-- --===============3190548398993086071== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============3190548398993086071==--