Trying out Xen
-
@johnhooks said:
@scottalanmiller What do you recommend for backups? I'm only going to have a couple VMs running. Should I just rsync everything on each?
You can do that. If you are going to rsync the contents of the VMs, that's fine. If you want to rsync the entire VM you need to either shut it down or snap it first. There is a script that people use that can do backups for XenServer too, that is free. @DustinB3403 should have a link to that as he is using it.
-
NAUBackup is a great script for Xen. GitHub Link
Anyways just wget into /patcher and it can be run right from there with just some small adjustments to the file paths.
When I started using it I even made some recommendations to the comments to clear up what was being said. If you have questions don't hesitate to ask.
-
Oh just as a heads up I did a direct install of Xen, no overhead for another OS, directly into a dedicated (cheapo) hard drive. If I really wanted I could have used an 8GB Thumb drive to run the OS on.
Keep all of your local storage for storage.
-
@DustinB3403 said:
Oh just as a heads up I did a direct install of Xen, no overhead for another OS, directly into a dedicated (cheapo) hard drive. If I really wanted I could have used an 8GB Thumb drive to run the OS on.
What do you mean. Xen can't run that way. How did you download it? It has to have a Dom0 with either Linux or NetBSD in it to work.
-
XenServer has a Live CD that you can install directly to a dedicated drive. Which builds Dom0, Dom0 the resides on that disk as an 8GB partition.
-
@DustinB3403 said:
XenServer has a Live CD that you can install directly to a dedicated drive. Which builds Dom0, Dom0 the resides on that disk as an 8GB partition.
Right, but XenServer installs CentOS 6. You aren't saving anything. It's no different than installing Xen with OpenSuse or Ubuntu, just easier because XenServer packages CentOS and Xen up together for you to do the install all at once. You still have the same OS overhead as any other Xen installation method.
-
We got it from : http://xenserver.org/overview-xenserver-open-source-virtualization/download.html and installed directly to a dedicated drive that we threw into out VM Host
We specifically didn't want to use a Thumb drive to run the Distro.
But thinking about it afterwards it would probably be easier to make a clone of a Thumb Drive ISO for backup purposes.
-
I'm not saying that XenServer isn't a good idea, it is what I usually recommend because it is fully packaged and tuned for exactly that one purpose and everything is set up for you right out of the gate. It is almost a no brainer. But very important to understand what it is doing and that it is not lighter or anything.
-
@DustinB3403 said:
We specifically didn't want to use a Thumb drive to run the Distro.
But thinking about it afterwards it would probably be easier to make a clone of a Thumb Drive ISO for backup purposes.
Yes, thumb drive is "always" better. That's just good practice for a hypervisor. No benefits to using a hard drive. The only reason that XenServer is often put on spinning rust is because it does not have a native "install to thumb drive" option and takes some extra effort, unlike ESXi which takes literally zero effort to have do that.
-
"Spinning rust"
Gonna have to remember that one
-
And we didn't want to install Ubuntu Server or some other distro and install Xen into that because of the previously mentioned setup.
That would be extra overhead.
-
@DustinB3403 said:
"Spinning rust"
Gonna have to remember that one
That's a pretty standard term, actually, for traditional spinning hard drives. One of the few terms that isn't easily confused with other types of drives
-
@DustinB3403 said:
And we didn't want to install Ubuntu Server or some other distro and install Xen into that because of the previously mentioned setup.
That would be extra overhead.
Not really. You have to understand how Xen works. In every instance it needs a Dom0. In XenServer the Dom0 is a full version of CentOS 6.
-
@DustinB3403 said:
And we didn't want to install Ubuntu Server or some other distro and install Xen into that because of the previously mentioned setup.
That would be extra overhead.
That's what I don't understand. What extra overhead? Where is the extra overhead coming from? I think there is some confusion as to how Xen works because this statement doesn't make sense.
-
If we setup our Hypervisor with a baseline Ubuntu Server Distro, and then apt-get Xen, the Ubuntu server would then be overhead.
The installer it's self creates the required VM to run the hypervisor.
-
@DustinB3403 said:
If we setup our Hypervisor with a baseline Ubuntu Server Distro, and then apt-get Xen, the Ubuntu server would then be overhead.
The installer it's self creates the required VM to run the hypervisor.
But that isn't really anymore overhead then the CentOS 6 installation that XenServer includes.
Don't get me wrong, I recommend XenServer quite often (even use it for my home lab) but it really is no different then installing Xen on top of Ubuntu. Aside from having some additional pre-built tools.
-
@DustinB3403 said:
If we setup our Hypervisor with a baseline Ubuntu Server Distro, and then apt-get Xen, the Ubuntu server would then be overhead.
No, there is no overhead. Where are you thinking the extra overhead is coming from?
-
Wouldn't that Ubuntu distro take away from your baremetal resources though in comparison to just letting the Xen installer do its thing?
oh and Scott at my home lab I setup Xen to a 16GB flash without any issues at all, it was very, very easy to do.
Like with any other linux distro it's built in with version 6.5
-
@DustinB3403 said:
The installer it's self creates the required VM to run the hypervisor.
No, that's not a good description. It converts the running Ubuntu instance into the Dom0. Exactly how HyperV works as well.
-
Maybe this will help.
XenServer install = Live CD installing CentOS 6 AND Xen
Traditional Xen install = Install your preferred version of Linux, then install Xen into that.
Both must have a base Linux install called Dom0