Re: [CentOS-virt] Should I switch and if so what is the procedure

2011-10-05 Thread Rich
How hard is it to switch from Xen to KVM?

On Wed, Oct 5, 2011 at 11:02 AM, Manuel Wolfshant
wo...@nobugconsulting.rowrote:

 On 10/05/2011 05:55 PM, Rich wrote:
  Since the Xen and Linux kernel people have finally made peace and Xen
  is going to be included with the kernel, should I keep using the Xen
  virtual server with Centos or should I switch to KVM?  I am running
  Centos 5.7 now.
  I guess the real question is can I still use Xen with Centos 6?
 I doubt that xen will be included as an option for RHEL 6 any time soon.
 So neither will it be for CentOS 6.
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Should I switch and if so what is the procedure

2011-10-05 Thread Nehemiah
you recreate the VIM and export the disks. 

-- 
Nehemiah I. Dacres
Saint Louis University: Advanced Technology Group
Linux System Administrator 

Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Wednesday, October 5, 2011 at 10:06 AM, Rich wrote:

 How hard is it to switch from Xen to KVM?
 
 On Wed, Oct 5, 2011 at 11:02 AM, Manuel Wolfshant wo...@nobugconsulting.ro 
 (mailto:wo...@nobugconsulting.ro) wrote:
  On 10/05/2011 05:55 PM, Rich wrote:
   Since the Xen and Linux kernel people have finally made peace and Xen
   is going to be included with the kernel, should I keep using the Xen
   virtual server with Centos or should I switch to KVM? I am running
   Centos 5.7 now.
   I guess the real question is can I still use Xen with Centos 6?
  I doubt that xen will be included as an option for RHEL 6 any time soon.
   So neither will it be for CentOS 6.
   ___
   CentOS-virt mailing list
  CentOS-virt@centos.org (mailto:CentOS-virt@centos.org)
  http://lists.centos.org/mailman/listinfo/centos-virt
 
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org (mailto:CentOS-virt@centos.org)
 http://lists.centos.org/mailman/listinfo/centos-virt

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Should I switch and if so what is the procedure

2011-10-05 Thread Manuel Wolfshant
On 10/05/2011 06:06 PM, Rich wrote:
 How hard is it to switch from Xen to KVM?
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/Virtualization_Getting_Started_Guide/


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Should I switch and if so what is the procedure

2011-10-05 Thread Eric Searcy
On 10/5/11 8:02 AM, Manuel Wolfshant wrote:
 I doubt that xen will be included as an option for RHEL 6 any time soon. 
 So neither will it be for CentOS 6.

not impossible that CentOS could have it as a value-add:
http://lists.centos.org/pipermail/centos-virt/2011-July/002554.html

I'm still running dom0 on CentOS 5 and am switching VMs and bare-metal
non-Xen servers to 6.  I figure I have enough time to wait to see what
happens in 6.x (or 7?) before I will start worrying about 5 EOL.  So
long as I have hardware support I guess.

Eric
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Should I switch and if so what is the procedure

2011-10-05 Thread Ed Heron

On Wed, 2011-10-05 at 10:55 -0400, Rich wrote:
 Since the Xen and Linux kernel people have finally made peace and Xen
 is going to be included with the kernel, should I keep using the Xen
 virtual server with Centos or should I switch to KVM?  I am running
 Centos 5.7 now.
 I guess the real question is can I still use Xen with Centos 6?

  The support end of life for CentOS 5 is listed as March 31, 2014
(http://wiki.centos.org/FAQ/General#head-fe8a0be91ee3e7dea812e8694491e1dde5b75e6d).
  There isn't any pressure, at this point, to convert your VM hosts to CentOS 6 
unless there is some feature you require.

  I doubt RH will add XEN support to RHEL 6.  They don't like to add
functionality to an existing product.  We can hope they bring XEN back
in RHEL 7.

  There was some discussion about producing RPMs to add XEN support into
CentOS 6, but I haven't seen any status updates, recently.


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Should I switch and if so what is the procedure

2011-10-05 Thread Peter Peltonen
On Wed, Oct 5, 2011 at 7:16 PM, Ed Heron e...@heron-ent.com wrote:
  There was some discussion about producing RPMs to add XEN support into
 CentOS 6, but I haven't seen any status updates, recently.

I am succesfully using the dom0 EL6 kernel from:
http://xenbits.xen.org/people/mayoung/testing/x86_64/

and xen4 packages for EL6 by provided by this repositry:
http://xenbits.xen.org/people/mayoung/EL6.xen/

It would be great to get at least the dom0 kernel in the centosplus repo...

Regards,
Peter
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] kvm-qemu: unable to execute QEMU command savevm (monitor missing?)

2011-10-05 Thread Trey Dockendorf
On Tue, Oct 4, 2011 at 7:42 PM, Jason Brian Friedrich m...@friedrich.org.uk
 wrote:

 Hey Trey,

 just a quick update. If you add the CR repo for CentOS 6.0 you will
 get an updated RPM which solves the problem for me.

  - Jason

 On Tue, Oct 4, 2011 at 01:43, Trey Dockendorf treyd...@gmail.com wrote:
 
 
  On Tue, Sep 27, 2011 at 6:48 AM, Jason Brian Friedrich
  m...@friedrich.org.uk wrote:
 
  System: CentOS Linux release 6.0 (final)
  Kernel: 2.6.32-71.23.1.el6.x86_64
  KVM: QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2)
  Libvirt: ibvirtd (libvirt) 0.8.1
 
 
  Hi everyone,
 
  I only recently subscribed to this list and hope you can shed some
  light on the following error. I created a VM on my Centos 6 KVM
  machine, used a qcow2 image and wanted to create a snapshot via 'virsh
  snapshot-create' command:
 
  //
  [root@kvmhost ~]# virsh snapshot-create server01
  error: internal error unable to execute QEMU command 'savevm': The
  command savevm has not been found
  \\
 
  I googled before the post, found some [0] threads [1], but could not
  find an answer how to solve the problem. If the kvm-qemu lacks the
  support of a savevm monitor, how can I add one? Do I need to recompile
  kvm-qemu with special flags or is simply a RPM package or a module
  missing?
 
  Thanks in advance,
 
   - Jason
 
 
  [0] http://lists.centos.org/pipermail/centos-virt/2011-July/002557.html
  [1]
  https://www.redhat.com/archives/libvirt-users/2011-August/msg00011.html
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 
  I ran into this too.  Unfortunately I haven't found a solution either,
 but
  here's an interesting bug report that shows this effects all the way up
 to
  Fedora 15,  https://bugzilla.redhat.com/show_bug.cgi?id=727709.  The one
 fix
  mentioned 89241fe0, I've actually patched into the CentOS libvirt RPM,
 but
  from testing it doesn't seem to be enough. I now can run the
 snapshot-create
  command without error, but nothing appears to happen. I've tested
 creating
  files, taking a snapshot, deleting files and reverting and nothing comes
  back or changes. Also the qcow2 images don't change at all during this
 time
  either. I'm working on applying the other commits mentioned in Comment
 #4,
  but am running into problems since most of those commits are 0.9.0+ and
 I'm
  patching CentOS's 0.8.1.
  I'd love to know if anyone actually has snapshots working in CentOS 5 or
 6.
  This is kind of a critical feature to the entire virtualization process.
  - Trey
 
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 
 
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


Awesome thanks for the info!

Unfortunately I hit a new error, very related it seems to the original
problem, but then I get this error
---
# virsh snapshot-create CentOSVM_0
error: operation failed: failed to take snapshot using command 'savevm
1317846732'



In full debug output I see it failover to HMP, but this is what appears to
be the relevant debug info.  If the full debug is desired let me know (it's
like 1000 lines long spanning 1 second)
---
15:27:12.473: 8080: debug : qemuMonitorJSONIOProcessLine:116 : Line
[{error: {class: CommandNotFound, desc: The command
human-monitor-command has not been found, data: {name:
human-monitor-command}}}]
15:27:12.473: 8080: debug : virJSONValueFromString:933 : string={error:
{class: CommandNotFound, desc: The command human-monitor-command has
not been found, data: {name: human-monitor-command}}}


This was with libvirt-0.8.7-18.el6_1.1 from CentOS 6 CR.  I restarted the
libvirtd daemon after the upgrade, still same result.  Restarted the VM also
, still same.  I only updated libvirt, libvirt-client and libvirt-python
from CR, haven't done a full system update.  I'll try the full update next,
but any suggestions are welcome in the mean time.

Thanks
- Trey
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Should I switch and if so what is the procedure

2011-10-05 Thread Dennis Jacobfeuerborn
On 10/05/2011 06:16 PM, Ed Heron wrote:

 On Wed, 2011-10-05 at 10:55 -0400, Rich wrote:
 Since the Xen and Linux kernel people have finally made peace and Xen
 is going to be included with the kernel, should I keep using the Xen
 virtual server with Centos or should I switch to KVM?  I am running
 Centos 5.7 now.
 I guess the real question is can I still use Xen with Centos 6?

The support end of life for CentOS 5 is listed as March 31, 2014
 (http://wiki.centos.org/FAQ/General#head-fe8a0be91ee3e7dea812e8694491e1dde5b75e6d).
   There isn't any pressure, at this point, to convert your VM hosts to CentOS 
 6 unless there is some feature you require.

I doubt RH will add XEN support to RHEL 6.  They don't like to add
 functionality to an existing product.  We can hope they bring XEN back
 in RHEL 7.

While Xen will probably return in RHEL 7 simply because it is part of the 
upstream kernel now I doubt it will be officially supported by Red Hat.
Between buying Qumranet (http://www.redhat.com/promo/qumranet/) and now 
Gluster (https://www.redhat.com/promo/storage/) it is clear that Red Hat 
aims to become a provider of a complete independent virtualization stack 
and is unlikely to support competing products directly.

The question is what does Xen offer that KVM cannot provide? Looking at the 
slides of the KVM Forum 2011 (http://www.linux-kvm.org/page/KVM_Forum_2011) 
there seem to be many interesting improvements in the pipeline so at some 
point the question really is why hold on to Xen at all when there is not 
real reason to?

Regards,
   Dennis

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt