Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2010 07:57:31 -0700
From:      Michael DeMan <freebsd@deman.com>
To:        freebsd-jail@freebsd.org
Subject:   Re: Jail hot migration
Message-ID:  <1FD7CB89-8F7F-4E8B-A507-16E72784D906@deman.com>
In-Reply-To: <4C89B3DF.7050004@snap.net.nz>
References:  <4C89B3DF.7050004@snap.net.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
There are other issues too - like network I/O, particularly dealing with =
established TCP connections?  Basically, you have to retain the in-state =
'memory' of the machine being migrated from, while also letting all =
those 3rd party sockets know that everything is okay

Thus far, I have yet to see any vendor that delivers 'zero downtime' =
virtual migrations.  There is always downtime - question is whether it =
is costed in terms of milliseconds, seconds, minutes, hours, or worse?

Definitely worth doing though.  Personally, I have found value in =
running OSPF/BGP on the jail host itself, and putting the actual jails =
on the loopback interface.  It certainly does not solve the problem in =
terms of 'minute' by any means, but having the Iayer-3 component work =
automatically definitely helps.

I think this idea is a worthwhile goal, but I would much, much rather =
see NFSv4 and ZFS wrapped up first.



On Sep 9, 2010, at 9:28 PM, Peter Toth wrote:

> Hi guys,
>=20
> I was lately thinking around jail hot-migration feature where one jail
> could be moved from one host to another without
> shutting it down, something like vmotion in VMware world.
>=20
> The storage layer should be easy with zfs send and receive or some =
form
> of shared storage. The tricky part would
> be a memory copy from one node to another and also the CPU handling.
>=20
> Anyone has an idea how this could be achieved? I guess it would =
require
> a kernel module which could take care of memory
> reservations and a daemon to copy and incrementally sync the jails
> memory across.
>=20
> Then also there is the CPU problem..
>=20
> Sounds like a fair amount of work and development.
>=20
> All comments are welcomed!
>=20
> Cheers,
> Peter
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to =
"freebsd-jail-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1FD7CB89-8F7F-4E8B-A507-16E72784D906>