All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Gorm Hansen <jacobg@diku.dk>
To: bgb@nt-nv.com
Cc: xen-devel@lists.sourceforge.net
Subject: Re: XEN migration architecture question
Date: Thu, 20 Jan 2005 15:47:42 -0800	[thread overview]
Message-ID: <41F0431E.6000208@diku.dk> (raw)
In-Reply-To: <1106263733.30699.1734.camel@master.vms.security>

B.G. Bruce wrote:
> Interesting ....
> So, what are you using in DOM0 as a watchdog to make sure all the proper
> domU domains are up and functional?  Or how do you go about this?

My setup is nontypical, in that I do not allow much remote 
administration, everything happens within the unprivileged domains. 
Basically, all you can do is bootstrap or migrate a domain into an 
existing domU, and you need to keep feeding it 'tokens' for it to stay 
alive, or it will be destroyed.

My payment model is like for a Laundromat; you feed it tokens, it solves 
your problem. If you don't like the laundromat (if it is too slow or too 
expensive), you move your laundry to a different one and start feeding 
that one your tokens instead. You don't have to call some 
superuser-person to move the laundry for you.

All bootstrap and migration, apart from the initial part where an almost 
empty VM gets instantiated, happens inside domUs. I have modified Linux 
to be self-migrating, so I do not use the standard Xen migration mechanism.

If you have hundreds or thousands of machines, you do not wish to 
periodically log in to each one's dom0 to see if things are going as 
expected. If a VM goes missing, you restart the VM or you restore it 
from a checkpoint, both of which can be handled remotely.

I do have some network-facing code in dom0, but that is only around 100 
lines of C, mostly related to answering ARP and ICMP Echo requests. The 
rest (e.g. TCP/IP) runs within my domUs.

More info at
http://www.diku.dk/~jacobg/self-migration/

Jacob


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

  reply	other threads:[~2005-01-20 23:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-20 20:44 XEN migration architecture question Eric Tessler
2005-01-20 21:10 ` Mark Williamson
2005-01-20 21:16 ` Andrew Warfield
2005-01-20 21:56   ` Jacob Gorm Hansen
2005-01-20 23:28     ` B.G. Bruce
2005-01-20 23:47       ` Jacob Gorm Hansen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-01-20 22:11 Ian Pratt

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=41F0431E.6000208@diku.dk \
    --to=jacobg@diku.dk \
    --cc=bgb@nt-nv.com \
    --cc=xen-devel@lists.sourceforge.net \
    /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.