SLES12. On a test box i installed Xen then tried to create a VM but would get:
Unable to complete install: ‘internal error: libxenlight failed to create new domain ‘2012r2lab’’
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 91, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/create.py”, line 1908, in do_install
guest.start_install(meter=meter)
File “/usr/share/virt-manager/virtinst/guest.py”, line 426, in start_install
noboot)
File “/usr/share/virt-manager/virtinst/guest.py”, line 490, in _create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
File “/usr/lib64/python2.7/site-packages/libvirt.py”, line 3297, in createLinux
if ret is None:raise libvirtError(‘virDomainCreateLinux() failed’, conn=self)
libvirtError: internal error: libxenlight failed to create new domain ‘2012r2lab’
I installed KVM and rebooted the server. Then and only then was i able to create a VM.
So my question is 2 fold:
Which hypervisor to install? and
Do you need to install anything else when you first run the yast applet install hypervisor and tools?
[QUOTE=carnold6;26654]SLES12. On a test box i installed Xen then tried to create a VM but would get:
Unable to complete install: ‘internal error: libxenlight failed to create new domain ‘2012r2lab’’[/QUOTE]
The error you posted is different, but you might probably have been hitting a bug where apparmor is preventing Xen from creating a VM.
You could try disabling apparmor and then retry creating a VM in Xen. For more info see TID 7016245: https://www.suse.com/support/kb/doc.php?id=7016245
[QUOTE=carnold6;26654]So my question is 2 fold:
Which hypervisor to install? and
Do you need to install anything else when you first run the yast applet install hypervisor and tools?[/QUOTE]
Both Xen and KVM are good choices. I personally mostly use Xen when running a Linux hypervisor, but that is more because I have been doing so for many years. Performance wise Xen was much faster than KVM, but with the advances made the last years, KVM should perform just as well (there are differences depending on use case). The feature set is similar.
One nice thing about KVM is that it uses the default kernel and does not need a separate built kernel as is the case with Xen.
So my question is 2 fold:
Which hypervisor to install? and
Do you need to install anything else when you first run the yast applet install hypervisor and tools
as Willem already pointed out, there’s the apparmor problem that was identified in the referenced thread, and a fix is in the works. I’m unable to test myself, but maybe installing KVM “fixes” the libvirtd apparmor profile, making things work. But once the patch is in the repositories, there will be no need to either deactivate apparmor nor installing KVM to get Xen up &running
Concerning KVM vs. Xen, Willem already said it all
I will start a new project. So I have 3 CNC machines. This CNC machines should have access to their files over a network share.
They can only access the old hpfs filesystem of OS/2.
So I tought the best possibility to run the OS/2 is in a virtual Machine. I will use XenServer for virtualization.
Now I heard for using the Xen-Hypervisor INTEL VT-x is requiered.
Maybe there is a posibility to use Xenserver paravirtualized with Opensuse.
I have some old Intel server hardware. So what do I have to regard for running Xenserver on this old Systems?
I will start a new project. So I have 3 CNC machines. […]
this may be considered “thread hijacking” - if possible you should open a new, separate thread for new issues
Maybe there is a posibility to use Xenserver paravirtualized with Opensuse.
I have some old Intel server hardware. So what do I have to regard for running Xenserver on this old Systems?
Whether your hardware supports the selected hypervisor, depends on the hypervisor… but most likely it will require VT-x, yes. But which Hypervisor do you want to use (see below)?
There are some ambiguities here:
are you looking at running XenServer as a guest to Opensuse? This will likely not work, XenServer is designed to run on the native hardware
or are you looking at running XenServer on your hardware, then OS/2 and openSUSE as guests?
Are you actually looking for running XenServer, or “Xen” (the open source version available via SLES and openSUSE)?
If you’re looking at openSUSE (i.e. as a base OS to run Xen and then to put OS/2 in a DomU), please note that these forums are for supporting SUSE Linux Enterprise Server (SLES) - you’ll find the openSUSE forums over at https://forums.opensuse.org (you can use the same login credentials as here, no need for a new account)