PDA

View Full Version : SLED 12 as virtual host



pekk
16-Oct-2015, 10:38
Hi there,

Just a quick question about running virtual machines on SLED. Is it supported? Documentation apparently only talks about SLES.

Yast fails if I try to run "Install Hypervisor and tools" with error "Package pattern-sled-virtualization_client install failed".

-pekk-

smflood
16-Oct-2015, 12:17
On 16/10/2015 10:44, pekk wrote:

> Just a quick question about running virtual machines on SLED. Is it
> supported? Documentation apparently only talks about SLES.
>
> Yast fails if I try to run "Install Hypervisor and tools" with error
> "Package pattern-sled-virtualization_client install failed".

If SLED offers the relevant package(s) then it should be supported by
SUSE but if your adding packages from SLES or somewhere else then it
wouldn't be supported. I believe "Install Hypervisor and Tools" trys to
install Xen for which the packages are not available with SLED.

SLED, as the name SUSE Linux Enterprise Desktop suggests, is aimed at
single end-user using it as a desktop environment and not for hosting
virtual machines which is where SLES (SUSE Linux Enterprise Server)
comes in. However there is a grey area between the two but if you want
to do stuff that SLED doesn't allow then perhaps openSUSE is a better fit?

HTH.
--
Simon
SUSE Knowledge Partner

------------------------------------------------------------------------
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.
------------------------------------------------------------------------

malcolmlewis
16-Oct-2015, 12:21
On Fri 16 Oct 2015 09:44:01 AM CDT, pekk wrote:


Hi there,

Just a quick question about running virtual machines on SLED. Is it
supported? Documentation apparently only talks about SLES.

Yast fails if I try to run "Install Hypervisor and tools" with error
"Package pattern-sled-virtualization_client install failed".

-pekk-




Hi
Does the system support virtualization and is it enabled in the system
BIOS?

Aside from the above all the tools are there to run libvirt/kvm, try
from the command line;


zypper in -t pattern virtualization_client

Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 4 NEW packages are going to be installed:
libspice-controller0 patterns-sled-virtualization_client
patterns-sled-virtualization_client-32bit virt-viewer

The following 2 NEW patterns are going to be installed:
sled-virtualization_client-32bit virtualization_client

The following 4 packages are not supported by their vendor:
libspice-controller0 patterns-sled-virtualization_client
patterns-sled-virtualization_client-32bit virt-viewer


--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.44-52.18-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

pekk
16-Oct-2015, 13:07
Hi,

Thank you for your answers.

I did install virtualization_client -pattern manually with zypper. Then after some poking around I tried to load kvm -modules manually just to get "No hardware support" error in dmesg. Ok, at least that was a problem :) I'll try with xen -kernel next but I think it might be just a bit too heavy for my needs. What I need is on the lines with gnome-boxes as it works in Tumbleweed.

I just need to have a virtual WIndows for the workplace. Maybe I'll wait for Leap to be released and switch to that but I wouldn't want to do that since we already pay for SLED :)

I'll let you know how it goes with xen.

-pekk.

malcolmlewis
16-Oct-2015, 13:18
On Fri 16 Oct 2015 12:14:02 PM CDT, pekk wrote:


Hi,

Thank you for your answers.

I did install virtualization_client -pattern manually with zypper. Then
after some poking around I tried to load kvm -modules manually just to
get "No hardware support" error in dmesg. Ok, at least that was a
problem :) I'll try with xen -kernel next but I think it might be just a
bit too heavy for my needs. What I need is on the lines with gnome-boxes
as it works in Tumbleweed.

I just need to have a virtual WIndows for the workplace. Maybe I'll wait
for Leap to be released and switch to that but I wouldn't want to do
that since we already pay for SLED :)

I'll let you know how it goes with xen.

-pekk.




Hi
So does your cpu support virtualization?


lscpu | grep Virt

You would need to build gnome-boxes, but should work....

I use virt-manager and qemu-kvm without issues.

--
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.44-52.18-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

pekk
16-Oct-2015, 14:43
Ok, now I got it.

It was a combination of things... VT disabled in BIOS and thinking that virtualization_client -pattern was somehow required.

After enabling VT in BIOS and just installing libvirt-daemon-qemu, qemu-kvm and virt-manager everything started working :)

Thanks again for Your help.