All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miguel Clara <miguelmclara@gmail.com>
To: rshriram@cs.ubc.ca
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: Xen 4.3 xl migrate " htree_dirblock_to_tree" on second host
Date: Tue, 4 Feb 2014 22:00:38 +0000	[thread overview]
Message-ID: <CADGo8CVMDdgTBkYaM7fnqT-uOvA52fqugQ134AhPO0zcD-H3=g@mail.gmail.com> (raw)
In-Reply-To: <CADGo8CXoqNxkQ3CnD1DP2_7hyLAzHH1+0+Sym4ZGrOcHfhjT9A@mail.gmail.com>

I noticed /etc/xen/scripts doesn't include the 'block-drbd' script,
does this come with xen or the drbd package?

Xen 4.3.1 was compiled from source, but drdb is installed from apt-get
on debian (v 8.3)

Thanks

On Tue, Feb 4, 2014 at 8:26 PM, Miguel Clara <miguelmclara@gmail.com> wrote:
> Thanks both for the feedback, I will test xl migrate/remus with DRDB
> and post back!
>
> As for offline migration I tried xl save + simple scp seems to do the
> trick, which works for none shared storage migration as long has the
> domain is stopped (which is what save does already).
>
>
> On Tue, Feb 4, 2014 at 7:19 PM, Shriram Rajagopalan <rshriram@cs.ubc.ca> wrote:
>> On Tue, Feb 4, 2014 at 7:35 AM, Ian Campbell <Ian.Campbell@citrix.com>
>> wrote:
>>>
>>>
>>> > >> I have a host where what I need is to move it from host1 to host2, or
>>> > >> reverse if needed, there's no problem stopping it first, but I guess
>>> > >> this is not what the "migrate" command is used for!
>>> > >>
>>
>>
>> If you just need to migrate an entire VM (memory & disk)  from one host to
>> another,
>> without using shared storage, then there are several alternatives.
>> One way is to use DRBD based disk backends (yes they can run on top of a
>> LVM)
>> and use protocol C (synchronous disk replication) to keep the disks at both
>> hosts synchronized.
>>
>> Since the disk is always synchronized, you can just use the xl migrate
>> command to migrate
>> the memory state from one host to another, with very little downtime.
>>
>> I would suggest reading up on the DRBD documentation regarding xen live
>> migration. IIRC,
>> their current example is based on xend, but it applies equally well to xl,
>> as xl also supports drbd based
>> disk backends.
>>
>> shriram

  reply	other threads:[~2014-02-04 22:00 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-01  1:32 Xen 4.3 xl migrate " htree_dirblock_to_tree" on second host Miguel Clara
2014-02-03 10:17 ` Ian Campbell
2014-02-03 15:09   ` Mike C.
2014-02-04  2:45     ` Miguel Clara
2014-02-04 11:33       ` Ian Campbell
2014-02-04 15:32         ` Mike C.
2014-02-04 15:35           ` Ian Campbell
2014-02-04 19:19             ` Shriram Rajagopalan
2014-02-04 20:26               ` Miguel Clara
2014-02-04 22:00                 ` Miguel Clara [this message]
2014-02-04 22:02                   ` Shriram Rajagopalan
2014-02-04 22:26                     ` Miguel Clara
2014-02-05  3:20                     ` Mike C.
2014-02-06  3:37                       ` Miguel Clara
2014-02-06 10:03                         ` Ian Campbell
2014-02-06 16:03                           ` Miguel Clara
2014-02-10 14:23                             ` Ian Campbell
2014-02-12  2:48                               ` Miguel Clara
2014-02-12  9:56                                 ` handling local attach of phy disks for pygrub (Was: Xen 4.3 xl migrate " htree_dirblock_to_tree" on second host) Ian Campbell
2014-02-12 10:46                                   ` Roger Pau Monné
2014-02-13  1:29                                     ` Miguel Clara
2014-02-13  8:17                                       ` Roger Pau Monné
2014-02-13 10:10                                         ` Roger Pau Monné
2014-02-14  2:09                                           ` Miguel Clara
2014-02-14  9:13                                             ` Roger Pau Monné
2014-02-14 12:31                                               ` Mike C.
2014-02-14 20:08                                               ` Miguel Clara
2014-02-17  8:32                                                 ` Roger Pau Monné
2014-02-17 19:17                                                   ` Miguel Clara
2014-02-18 19:00                                                     ` Miguel Clara
2014-03-12 14:06                                     ` Ian Campbell
2014-04-23 10:48                                       ` Ian Campbell
2014-04-24 12:26                                         ` Miguel Clara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADGo8CVMDdgTBkYaM7fnqT-uOvA52fqugQ134AhPO0zcD-H3=g@mail.gmail.com' \
    --to=miguelmclara@gmail.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=rshriram@cs.ubc.ca \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.