From: Ian Campbell <Ian.Campbell@citrix.com>
To: Florian Heigl <florian.heigl@gmail.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Fwd: Examples for using xl migrate -s ?
Date: Fri, 28 Oct 2011 10:55:29 +0100 [thread overview]
Message-ID: <1319795729.9436.209.camel@zakaz.uk.xensource.com> (raw)
In-Reply-To: <CAFivhPniexii22twa+Cq+WPk2GUp5i=bKJZKpo4BH=ev1A3Jfg@mail.gmail.com>
On Thu, 2011-10-27 at 21:47 +0100, Florian Heigl wrote:
> Hi,
>
> sorry to disturb, but are there any in-depth docs about migration in xl?
Not that I know of, sorry.
> It appears this is not just me not knowing it :>
>
> Greetings,
> Florian
>
>
> ---------- Forwarded message ----------
> From: Florian Heigl <florian.heigl@gmail.com>
> Date: 2011/10/25
> Subject: Examples for using xl migrate -s ?
> To: Xen Users <xen-users@lists.xensource.com>
>
>
> Hi,
>
> I must find a way around the way live migration now uses ssh. I tested
> it and I see high cpu usage by SSH and overall sense of things being
> slow.
> My prod systems have a dedicated, fast link for live migration, but
> with ssh it would be crippled down to a <1Gbit.
> Does anyone have a working example of how to not use SSH as the transport layer?
>
> I guess this is what the -s option is for, but I don't really get how
> it's intended to be used.
AIUI the argument which you give to -s must be a command which arranges
for it's stdin to be fed to the stdin of an "xl migrate-receive" on the
remote machine.
Probably that's a little bit of scripting on either end of the link to
spawn the necessary nc invocations.
Would it be useful to have a daemon mode for xl migrate-receive, i.e.
you would start it and it would listen on a dedicated port, forking to
receive each incoming connection. That would not be a good idea in
general but for a dedicated migration network it would be ok.
Perhaps an option to xl migrate-receive to have it receive a single
connection on a specified socket from a given source instead of
expecting things on stdin would be a useful compromise? i.e. you should
use ssh to execute that command "securely" then pipe the data to the
unsecure socket?
>
> What I can think of ( -s "ssh other box, run netcat listener there;
> launch nc locally and receive migration data) sounds absolutely
> disgusting...
It's the Unix way, surely ;-)
>
> Thanks for any pointers,
> Florian
>
> --
> the purpose of libvirt is to provide an abstraction layer hiding all
> xen features added since 2006 until they were finally understood and
> copied by the kvm devs.
>
>
>
next prev parent reply other threads:[~2011-10-28 9:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAFivhPmT1mfzaQbPDviB4jMAUBe5u-cruXtDz7U2Jh7jWrPCcQ@mail.gmail.com>
2011-10-27 20:47 ` Fwd: Examples for using xl migrate -s ? Florian Heigl
2011-10-28 9:55 ` Ian Campbell [this message]
2011-10-29 19:38 ` Florian Heigl
2011-10-31 9:30 ` Ian Campbell
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=1319795729.9436.209.camel@zakaz.uk.xensource.com \
--to=ian.campbell@citrix.com \
--cc=florian.heigl@gmail.com \
--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.