Trying out Xen
-
I set up a server and installed Xen. I've never used it before, so are there special images for PV or do you install from a regular ISO and then install packages? If there are special images, where do you get them?
-
Like anything, it is up to any particular VM maker to make whatever images you would want. If they don't offer them, you don't have them. It's the same as any hypervisor vendor.
-
You can install from ISO or whatever. Only a few operating systems support for PV, Linux being one of them.
-
What Xen platform are you using? OpenSuse? Ubuntu?
-
@scottalanmiller I installed on CentOS 6.7. I wasn't sure what the best distro was to use.
-
@johnhooks said:
@scottalanmiller I installed on CentOS 6.7. I wasn't sure what the best distro was to use.
Well current is always better than old. If you are going to use CentOS I would stick with 7. Running on CentOS 6 means you have a quite old Xen version.
OpenSuse has always been the leader in virtualization platforms, just as it is with clustering and storage.
XenServer is built on CentOS, but is completely custom so is a special case.
-
If you are new to Xen, normally you would use the prepackaged XenServer instead of installing Xen to a Linux distro. But that's how we used to do it in the old days before the Xen distros existed.
-
@scottalanmiller I tried but there were no packages for CentOS 7. Ok, I'll try that then. I didn't know if it was better to use XenServer or try to install it and do everything manually. So if I'm understanding correctly, if I wanted a PV image of Ubuntu or CentOS I would use one from Xen/XenServer?
-
@scottalanmiller Also, do you still feel the same way about KVM as I've read from you previously? Most of what I saw was a few years old, so I wasn't sure if it has matured enough to be something you would recommend.
-
@johnhooks said:
@scottalanmiller I tried but there were no packages for CentOS 7. Ok, I'll try that then. I didn't know if it was better to use XenServer or try to install it and do everything manually. So if I'm understanding correctly, if I wanted a PV image of Ubuntu or CentOS I would use one from Xen/XenServer?
I think that looking for an image from anyone is an odd approach to virtualization. Conceptually I'm not sure why you would want this. Don't look for them at all. If you want a standard image, install, customize and make your own. Don't look for it from someone else unless it is some sort of appliance deal where that is the only option.
-
@johnhooks said:
@scottalanmiller Also, do you still feel the same way about KVM as I've read from you previously? Most of what I saw was a few years old, so I wasn't sure if it has matured enough to be something you would recommend.
It's matured but in generally everything about KVM falls still into a "why?" category. If other options did not exist it would be excellent. But as other options do exist, what's the value?
-
@johnhooks said:
@scottalanmiller I tried but there were no packages for CentOS 7. Ok, I'll try that then. I didn't know if it was better to use XenServer or try to install it and do everything manually.
XenServer is fully packaged, with all the tools, basically fully up to date.
-
@scottalanmiller I guess I'm still confused on the difference between a paravirtualized guest and a regular install from an ISO.
I guess I just assumed there was some kind of value for KVM since Red Hat is pushing it so much.
-
@johnhooks said:
I guess I just assumed there was some kind of value for KVM since Red Hat is pushing it so much.
Of course there is, tons of value. But you aren't Red Hat, so what is valuable to them isn't necessarily even remotely valuable to you. Companies push things because it is good for THEM, not you. The more someone pushes, the more it is valuable to them and not to you.
-
@johnhooks said:
@scottalanmiller I guess I'm still confused on the difference between a paravirtualized guest and a regular install from an ISO.
Those are completely unrelated concepts. One is about installation, the other is about the platform.
-
@scottalanmiller oooh ok. I must have misread something somewhere. I thought I needed an image that was pre set up for paravirtualization for compatibility. I apologize, I'm a moron. Thanks a lot!
-
@johnhooks said:
@scottalanmiller oooh ok. I must have misread something somewhere. I thought I needed an image that was pre set up for paravirtualization for compatibility. I apologize, I'm a moron. Thanks a lot!
Nope, no need for images for anything. You can use them, of course. You probably read from a site that was talking about images and if you are using images, then yes, they would need to be expecting to be on PV rather than HVM when they are made. But if you are installing normally, you select PV or HVM at the time that you create the VM on the Xen side of things.
-
@scottalanmiller Makes more sense now. Thanks again!
-
No problem. I would definitely switch to XenServer, it has more obvious interfaces and is much less "power user" focused.
-
@scottalanmiller I just downloaded it and am putting it on a usb. What do you recommend for a client? The only Windows machine we have is my wife's old laptop. Will virt-manager work or should I use something like OpenXenManager?