OpenVZ Forum


Home » Mailing lists » Users » Checkpoint and restore on 64 bit Debian host.
Checkpoint and restore on 64 bit Debian host. [message #43606] Fri, 30 September 2011 16:45 Go to next message
Hansel Dunlop is currently offline  Hansel Dunlop
Messages: 3
Registered: September 2011
Junior Member
From: *parallels.com
Hello,

A question for the list.

We have developed a web service on 64 bit Debian locally on ZEN and for
deployment on AWS. We really want to use OpenVZ so that we can give our
users persistent console sessions across deployments of our software.

During our experiments with OpenVZ we discovered that Chkpt/Restore
doesn't work on 64 bit Debian (or we couldn't make it work) which seems
to be a known problem.

We figure it could be three or four weeks of work to switch to CentOS or
Scientific Linux.

What advice do people have? I've been reading through the mailing lists
but I don't feel like I have a clear picture of what is working and what
is not right now. Are there events in the near future which might make
this easier? Does anyone have working checkpointing on 64 bit Debian?
Would it be quicker for us to try and fix the Debian issue itself?

Any advice greatly appreciated!

Kind regards

--
Hansel Dunlop
hansel.dunlop@resolversystems.com

PythonAnywhere: A console in your browser
http://pythonanywhere.com
RE: Checkpoint and restore on 64 bit Debian host. [message #43607 is a reply to message #43606] Fri, 30 September 2011 17:11 Go to previous messageGo to next message
Martin Maurer is currently offline  Martin Maurer
Messages: 13
Registered: January 2008
Junior Member
From: 192.168.2*
> -----Original Message-----
> From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On
> Behalf Of Hansel Dunlop
> Sent: Freitag, 30. September 2011 18:46
> To: users@openvz.org
> Subject: [Users] Checkpoint and restore on 64 bit Debian host.
>
> Hello,
>
> A question for the list.
>
> We have developed a web service on 64 bit Debian locally on ZEN and for
> deployment on AWS. We really want to use OpenVZ so that we can give our
> users persistent console sessions across deployments of our software.
>
> During our experiments with OpenVZ we discovered that Chkpt/Restore doesn't
> work on 64 bit Debian (or we couldn't make it work) which seems to be a
> known problem.

Hi,

This is a known issue and I assume this will be never be fixed. If you want to use Debian you can think of switching to Proxmox VE which is based on Lenny (1.9) or Squeeze (2.0 beta). We are using the stable RHEL6 OpenVZ kernel so you have a good chance to get chkp/restore running.
There is only one issue with our init.logger patch, but if you disable it everything should work, live-migration etc.

See http://pve.proxmox.com and especially, http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Len ny

Martin


>
> We figure it could be three or four weeks of work to switch to CentOS or
> Scientific Linux.
>
> What advice do people have? I've been reading through the mailing lists but I
> don't feel like I have a clear picture of what is working and what is not right
> now. Are there events in the near future which might make this easier? Does
> anyone have working checkpointing on 64 bit Debian?
> Would it be quicker for us to try and fix the Debian issue itself?
>
> Any advice greatly appreciated!
>
> Kind regards
>
> --
> Hansel Dunlop
> hansel.dunlop@resolversystems.com
>
> PythonAnywhere: A console in your browser http://pythonanywhere.com
>
>
Re: Checkpoint and restore on 64 bit Debian host. [message #43608 is a reply to message #43606] Fri, 30 September 2011 22:05 Go to previous messageGo to next message
Kirill Kolyshkin is currently offline  Kirill Kolyshkin
Messages: 9
Registered: October 2006
Junior Member
From: *parallels.com
You don't have to switch the OS, just use rhel6 kernel. It is in rpm so for
now you have to use alien plus do some work after installing new kernel (run
mkinitd, modify grub.conf). We plan to provide deb report for rhel6 kernel
real soon.
On Sep 30, 2011 8:49 PM, "Hansel Dunlop" <hansel.dunlop@resolversystems.com>
wrote:
> Hello,
>
> A question for the list.
>
> We have developed a web service on 64 bit Debian locally on ZEN and for
> deployment on AWS. We really want to use OpenVZ so that we can give our
> users persistent console sessions across deployments of our software.
>
> During our experiments with OpenVZ we discovered that Chkpt/Restore
> doesn't work on 64 bit Debian (or we couldn't make it work) which seems
> to be a known problem.
>
> We figure it could be three or four weeks of work to switch to CentOS or
> Scientific Linux.
>
> What advice do people have? I've been reading through the mailing lists
> but I don't feel like I have a clear picture of what is working and what
> is not right now. Are there events in the near future which might make
> this easier? Does anyone have working checkpointing on 64 bit Debian?
> Would it be quicker for us to try and fix the Debian issue itself?
>
> Any advice greatly appreciated!
>
> Kind regards
>
> --
> Hansel Dunlop
> hansel.dunlop@resolversystems.com
>
> PythonAnywhere: A console in your browser
> http://pythonanywhere.com
>
>
Re: Checkpoint and restore on 64 bit Debian host. [message #43610 is a reply to message #43608] Fri, 30 September 2011 23:21 Go to previous messageGo to next message
mdfranz is currently offline  mdfranz
Messages: 3
Registered: July 2011
Junior Member

From: *parallels.com
I'm currently running several servers (for development environments)
on Debian Squeeze but am in the process of migrating to CentOS 6
because it seems to be a better supported environment and also
provides an LTS OS, whereas Debian's support lifecycle is more
"nuanced."

My assumption is also a larger bas of OpenVZ users run on
RHEL-derivatives than Debian, so it is always a safer bet. Running
RHEL6 kernels on Debian boxes since more problematic than migrating to
CentOS, even though I prefer Debian-based distros.

My other concern is the long term viability of OpenVZ on
non-RHEL-based distributions given that Ubuntu dropped OpenVZ support
and it seems that Debian will as well, given that (for good or evil)
LXC seems to be the container-based solution that Debian and Ubuntu
are going forward with.

The only problem I've encountered with OpenVZ on Debian (which is also
a concern) is http://bugzilla.openvz.org/show_bug.cgi?id=1747

- mdf

On Fri, Sep 30, 2011 at 6:05 PM, Kirill Kolyshkin <kolyshkin@gmail.com> wrote:
> You don't have to switch the OS, just use rhel6 kernel. It is in rpm so for
> now you have to use alien plus do some work after installing new kernel (run
> mkinitd, modify grub.conf). We plan to provide deb report for rhel6 kernel
> real soon.
>
> On Sep 30, 2011 8:49 PM, "Hansel Dunlop" <hansel.dunlop@resolversystems.com>
> wrote:
>> Hello,
>>
>> A question for the list.
>>
>> We have developed a web service on 64 bit Debian locally on ZEN and for
>> deployment on AWS. We really want to use OpenVZ so that we can give our
>> users persistent console sessions across deployments of our software.
>>
>> During our experiments with OpenVZ we discovered that Chkpt/Restore
>> doesn't work on 64 bit Debian (or we couldn't make it work) which seems
>> to be a known problem.
>>
>> We figure it could be three or four weeks of work to switch to CentOS or
>> Scientific Linux.
>>
>> What advice do people have? I've been reading through the mailing lists
>> but I don't feel like I have a clear picture of what is working and what
>> is not right now. Are there events in the near future which might make
>> this easier? Does anyone have working checkpointing on 64 bit Debian?
>> Would it be quicker for us to try and fix the Debian issue itself?
>>
>> Any advice greatly appreciated!
>>
>> Kind regards
>>
>> --
>> Hansel Dunlop
>> hansel.dunlop@resolversystems.com
>>
>> PythonAnywhere: A console in your browser
>> http://pythonanywhere.com
>>
>>
Re: Checkpoint and restore on 64 bit Debian host. [message #43658 is a reply to message #43608] Tue, 04 October 2011 17:00 Go to previous messageGo to next message
Hansel Dunlop is currently offline  Hansel Dunlop
Messages: 3
Registered: September 2011
Junior Member
From: *parallels.com
Thanks Kiril,

I'm experimenting with this now. I converted
vzkernel-2.6.32-042stab037.1.x86_64.rpm into a deb and used it to boot
but AWS did not want to run it. Complaining about XEN options. I see
that the older kernel versions had specific XEN builds. I'm going to try
and recompile the 2.6.32-042stab037 kernel from src. Are there any
particular flags that I should set?

I did a diff on the config for a working Debian kernel and the EL6
version from OpenVZ, these are the options that relate to XEN. I guess I
could just set them all and see if that works.

Debian is >
OpenVZ is <

< CONFIG_XEN_MAX_DOMAIN_MEMORY=128

> CONFIG_XEN_MAX_DOMAIN_MEMORY=32

< CONFIG_XEN_DEBUG_FS=y

> # CONFIG_XEN_DEBUG_FS is not set

> CONFIG_SWIOTLB_XEN=y

> CONFIG_MICROCODE_XEN=y

> CONFIG_XEN_DOM0=y

> CONFIG_XEN_PRIVILEGED_GUEST=y

> CONFIG_XEN_DOM0_PCI=y

> # CONFIG_XEN_PCI_PASSTHROUGH is not set

> CONFIG_PCI_XEN=y

> CONFIG_XEN_PCIDEV_FRONTEND=y

> CONFIG_XEN_BACKEND=y

> CONFIG_XEN_NETDEV_BACKEND=y

> CONFIG_XEN_BLKDEV_BACKEND=y

> CONFIG_XEN_BLKDEV_TAP=m

> CONFIG_XEN_BLKBACK_PAGEMAP=y

> CONFIG_XEN_PCIDEV_BACKEND=y

> CONFIG_XEN_PCIDEV_BACKEND_VPCI=y

> # CONFIG_XEN_PCIDEV_BACKEND_PASS is not set

> # CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set

> # CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set

> # CONFIG_XEN_PCIDEV_BE_DEBUG is not set

> CONFIG_XEN_MCE=y

> CONFIG_XEN_XENBUS_FRONTEND=y

> CONFIG_XEN_GNTDEV=y

> CONFIG_XEN_S3=y

> CONFIG_ACPI_PROCESSOR_XEN=m


Kind regards

Hansel

On 30/09/2011 23:05, Kirill Kolyshkin wrote:
>
> You don't have to switch the OS, just use rhel6 kernel. It is in rpm
> so for now you have to use alien plus do some work after installing
> new kernel (run mkinitd, modify grub.conf). We plan to provide deb
> report for rhel6 kernel real soon.
>
> On Sep 30, 2011 8:49 PM, "Hansel Dunlop"
> <hansel.dunlop@resolversystems.com
> <mailto:hansel.dunlop@resolversystems.com>> wrote:
> > Hello,
> >
> > A question for the list.
> >
> > We have developed a web service on 64 bit Debian locally on ZEN and for
> > deployment on AWS. We really want to use OpenVZ so that we can give our
> > users persistent console sessions across deployments of our software.
> >
> > During our experiments with OpenVZ we discovered that Chkpt/Restore
> > doesn't work on 64 bit Debian (or we couldn't make it work) which seems
> > to be a known problem.
> >
> > We figure it could be three or four weeks of work to switch to
> CentOS or
> > Scientific Linux.
> >
> > What advice do people have? I've been reading through the mailing lists
> > but I don't feel like I have a clear picture of what is working and
> what
> > is not right now. Are there events in the near future which might make
> > this easier? Does anyone have working checkpointing on 64 bit Debian?
> > Would it be quicker for us to try and fix the Debian issue itself?
> >
> > Any advice greatly appreciated!
> >
> > Kind regards
> >
> > --
> > Hansel Dunlop
> > hansel.dunlop@resolversystems.com
> <mailto:hansel.dunlop@resolversystems.com>
> >
> > PythonAnywhere: A console in your browser
> > http://pythonanywhere.com
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users@openvz.org <mailto:Users@openvz.org>
> > https://openvz.org/mailman/listinfo/users
>
>
--
Hansel Dunlop
hansel.dunlop@resolversystems.com
+44 7 5959 16478

PythonAnywhere: A console in your browser
<http://pythonanywhere.com/>

17a Clerkenwell Road, London EC1M 5RD, UK
VAT No.: GB 893 5643 79
Registered in England and Wales as company number 5467329.
Registered address: 843 Finchley Road, London NW11 8NA, UK
RE: Checkpoint and restore on 64 bit Debian host. [message #43659 is a reply to message #43658] Tue, 04 October 2011 17:47 Go to previous messageGo to next message
dietmar is currently offline  dietmar
Messages: 54
Registered: March 2007
Member
From: 192.168.2*
> I'm experimenting with this now. I converted vzkernel-2.6.32-
> 042stab037.1.x86_64.rpm into a deb and used it to boot but AWS did not want
> to run it. Complaining about XEN options. I see that the older kernel versions had
> specific XEN builds. I'm going to try and recompile theĀ  2.6.32-042stab037 kernel
> from src. Are there any particular flags that I should set?

You could also use the pve kernel from:

ftp://download.proxmox.com/debian/dists/squeeze/pve/binary-a md64/pve-kernel-2.6.32-6-pve_2.6.32-46_amd64.deb

That is the latest openvz kernel compiled for debian squeeze.

- Dietmar
Re: Checkpoint and restore on 64 bit Debian host. [message #43704 is a reply to message #43659] Fri, 07 October 2011 11:33 Go to previous message
Hansel Dunlop is currently offline  Hansel Dunlop
Messages: 3
Registered: September 2011
Junior Member
From: *parallels.com
Thanks for the suggestion Dietmar,

That does boot up on AWS but still fails at the vzctl chkpnt CTID --dump
stage. Suspend and resume both work. But it just won't do the filedump.

I have had a good look at Proxmox because it seems interesting but we
have so much development time invested in EC2 integration that moving
away from that platform probably isn't wise.

Does anyone have CentOS or Scientific Linux successfully check pointing
on a 64 bit EC2 instance? Knowing if this is even possible would
certainly make our decision of what to do next easier!

Cheers

Hansel

On 04/10/2011 18:47, Dietmar Maurer wrote:
>> I'm experimenting with this now. I converted vzkernel-2.6.32-
>> 042stab037.1.x86_64.rpm into a deb and used it to boot but AWS did not want
>> to run it. Complaining about XEN options. I see that the older kernel versions had
>> specific XEN builds. I'm going to try and recompile the 2.6.32-042stab037 kernel
>> from src. Are there any particular flags that I should set?
> You could also use the pve kernel from:
>
> ftp://download.proxmox.com/debian/dists/squeeze/pve/binary-a md64/pve-kernel-2.6.32-6-pve_2.6.32-46_amd64.deb
>
> That is the latest openvz kernel compiled for debian squeeze.
>
> - Dietmar
>
>
--
Hansel Dunlop
hansel.dunlop@resolversystems.com
+44 7 5959 16478

PythonAnywhere: A console in your browser
<http://pythonanywhere.com/>

17a Clerkenwell Road, London EC1M 5RD, UK
VAT No.: GB 893 5643 79
Registered in England and Wales as company number 5467329.
Registered address: 843 Finchley Road, London NW11 8NA, UK
Previous Topic: Proc statistic interface for venet
Next Topic: unsubscribe
Goto Forum:
  


Current Time: Mon Aug 20 16:44:18 GMT 2018