OpenVZ Forum


Home » Mailing lists » Devel » [ANNOUNCE] OpenVZ releases checkpointing/live migration of processes
[ANNOUNCE] OpenVZ releases checkpointing/live migration of processes [message #2784] Thu, 20 April 2006 17:14 Go to next message
Kirill Korotaev is currently offline  Kirill Korotaev
Messages: 137
Registered: January 2006
Senior Member
Hello,

OpenVZ team is proud to announce the release of the new
checkpointing/restore feature. This feature allows to save (checkpoint)
and restore the whole state of a Virtual Environment (VE, container) and
do a live migration of a VE to another physical box while preserving
process states and TCP/IP connections.

During live migration the in-kernel state of processes and their
resources (including memory, registers, IPC, pids, open files, sockets,
etc.) is saved and then restored on another machine. Since all network
connections are preserved with all the in-progess requests, user doesn't
experience interruption of service.

The feature is available on i686 and x86_64 architectures. Migration of
32bit VEs between i686 and x86_64 architectures is also supported.
Current implementation works fine with complex applications like Oracle,
Java, X apps.

Latest 2.6.16 OpenVZ kernel and tool packages with live migration
support are available here:
http://openvz.org/download/beta/kernel/
http://openvz.org/download/utils/

GIT repository for all OpenVZ sources is available at
http://git.openvz.org/

Usage examples
~~~~~~~~~~~~~~

New 'vzmigrate' utility is used for VE migration. Also, new commands for
'vzctl' allowing to dump and restore VE were introduced: 'chkpnt' and
'restore'.

To save current VE state with all processes:
# vzctl chkpnt <VEID>

To restore VE after checkpointing:
# vzctl restore <VEID>

To perform online migration of VE #101 to another machine:
# vzmigrate --online destination.node.com 101
without '--online' option vzmigrate does offline VE migration with VE
start/stop.

With best regards,
OpenVZ team.
Re: [ANNOUNCE] OpenVZ releases checkpointing/live migration of processes [message #2820 is a reply to message #2784] Sat, 22 April 2006 05:48 Go to previous messageGo to next message
Jun OKAJIMA is currently offline  Jun OKAJIMA
Messages: 30
Registered: March 2006
Member
>
>OpenVZ team is proud to announce the release of the new
>checkpointing/restore feature. This feature allows to save (checkpoint)
>and restore the whole state of a Virtual Environment (VE, container) and
>do a live migration of a VE to another physical box while preserving
>process states and TCP/IP connections.
>
>During live migration the in-kernel state of processes and their
>resources (including memory, registers, IPC, pids, open files, sockets,
>etc.) is saved and then restored on another machine. Since all network
>connections are preserved with all the in-progess requests, user doesn't
>experience interruption of service.
>
>The feature is available on i686 and x86_64 architectures. Migration of
>32bit VEs between i686 and x86_64 architectures is also supported.
>Current implementation works fine with complex applications like Oracle,
>Java, X apps.
>
>Latest 2.6.16 OpenVZ kernel and tool packages with live migration
>support are available here:
>http://openvz.org/download/beta/kernel/
>http://openvz.org/download/utils/
>
>GIT repository for all OpenVZ sources is available at
>http://git.openvz.org/
>
>Usage examples
>~~~~~~~~~~~~~~
>
>New 'vzmigrate' utility is used for VE migration. Also, new commands for
>'vzctl' allowing to dump and restore VE were introduced: 'chkpnt' and
>'restore'.
>
>To save current VE state with all processes:
># vzctl chkpnt <VEID>
>
>To restore VE after checkpointing:
># vzctl restore <VEID>
>
>To perform online migration of VE #101 to another machine:
># vzmigrate --online destination.node.com 101
>without '--online' option vzmigrate does offline VE migration with VE
>start/stop.
>
>

One Question ---.

Xen needs iSCSI or alike for a FS when you want to do a live migration,
because it needs very same inode mapping.
How about this issue on OpenVZ?
For example, can I migrate a VE to a server which has same file tree on
its HDD, but has different FS type and inode number?

--- Okajima, Jun. Tokyo, Japan.
Re: [ANNOUNCE] OpenVZ releases checkpointing/live migration of processes [message #2836 is a reply to message #2820] Sat, 22 April 2006 19:53 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Jun OKAJIMA wrote:

>>OpenVZ team is proud to announce the release of the new
>>checkpointing/restore feature. This feature allows to save (checkpoint)
>>and restore the whole state of a Virtual Environment (VE, container) and
>>do a live migration of a VE to another physical box while preserving
>>process states and TCP/IP connections.
>>
>>During live migration the in-kernel state of processes and their
>>resources (including memory, registers, IPC, pids, open files, sockets,
>>etc.) is saved and then restored on another machine. Since all network
>>connections are preserved with all the in-progess requests, user doesn't
>>experience interruption of service.
>>
>>[....skipped....]
>>
>One Question ---.
>
>Xen needs iSCSI or alike for a FS when you want to do a live migration,
>because it needs very same inode mapping.
>How about this issue on OpenVZ?
>
>
We do not have any special hardware requirements for live migration.
I.e. your laptop will work fine.

>For example, can I migrate a VE to a server which has same file tree on
>its HDD, but has different FS type and inode number?
>
Yes you can; we just use rsync prior to freezing a VE to copy VE's files
to the destination node, and another rsync after VE freeze.
Re: [ANNOUNCE] OpenVZ releases checkpointing/live migration of processes [message #2843 is a reply to message #2836] Sun, 23 April 2006 06:26 Go to previous messageGo to next message
Jun OKAJIMA is currently offline  Jun OKAJIMA
Messages: 30
Registered: March 2006
Member
>
>>For example, can I migrate a VE to a server which has same file tree on
>>its HDD, but has different FS type and inode number?
>>
>Yes you can; we just use rsync prior to freezing a VE to copy VE's files
>to the destination node, and another rsync after VE freeze.
>
>

Good!.

What I am planning is, using OpenVZ on clients, not on server.
And, the purpose is fast booting by suspending technology.
For example, you put KDE/OOo to a VE, and then make a freezed image
of it. Then, next time, you "boot" (actually it is a resuming) the image.

I suppose you can "boot"(=resume) your desktop very rapidly with this way.

How about this idea?

--- Okajima, Jun. Tokyo, Japan.
Re: [ANNOUNCE] OpenVZ releases checkpointing/live migration of processes [message #2851 is a reply to message #2843] Mon, 24 April 2006 05:27 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

> Good!.
>
> What I am planning is, using OpenVZ on clients, not on server.
> And, the purpose is fast booting by suspending technology.
> For example, you put KDE/OOo to a VE, and then make a freezed image
> of it. Then, next time, you "boot" (actually it is a resuming) the image.
>
> I suppose you can "boot"(=resume) your desktop very rapidly with this way.
>
> How about this idea?
It should work fine. At least we tested xvnc inside VE and it was
working great. Do you use xvnc inside VE?

Thanks,
Kirill
Previous Topic:
Next Topic: Re: [ckrm-tech] [RFC] [PATCH 00/12] CKRM after a major overhaul
Goto Forum:
  


Current Time: Mon Jul 15 15:30:06 GMT 2024

Total time taken to generate the page: 0.02453 seconds