Portal Home > Knowledgebase > Articles Database > Linux VPS under Windows
Linux VPS under Windows
Posted by Jadon, 12-07-2011, 03:05 AM |
I hope this is the right section to post this...
Specs:
Single E3-1230 Quad Core Xeon CPU
16GB DDR3 1333 ECC RAM
500GB SATA 6.0GB/s HDD
I want the main OS to be Windows Server 2008 R2.
I'm curious if I could run a couple linux VPS with Windows as the host. For example:
Windows Server 2008 R2 64-bit (Host) 8GB Ram, 1 core
CentOS 5.7 64-bit (VPS) 4GB RAM, 1 core
Debian 6 64-bit (VPS ) 4GB RAM, 2 cores
I know it sounds silly, but this would be perfect for me.
If it's possible, and can be done with STABILITY, please advise me on my best options for doing this. If it would be much better to just run the whole system under linux, let me know. But if Windows can handle it fine, I'd prefer that.
Thanks!
|
Posted by HostColor, 12-07-2011, 06:13 AM |
If it is about running a server, you can install CentOS VPs on Windows Hyper-V Server. Here is a guide how to do it - hyper-v-mart.com/Howto/Install_CentOS_5_VM_Step_by_Step.aspx
|
Posted by Jadon, 12-07-2011, 08:15 AM |
Will it be the full Windows Server 2008 R2 Operating system with an extra hyper-v functionality? Or will the whole windows side be specifically for visualization. I'd like to have all the usual Windows Server features along with linux virtualization.
Thanks for the response!
|
Posted by (Stephen), 12-07-2011, 09:25 AM |
You can do it either way, makes no difference really. Hyper-V server is free, basically like Server core with the hyper-v role. you need to have a license for the full install edition, and just add the hyper-v role.
But the linux guest, is the same for both.
|
Posted by Motiv, 12-07-2011, 09:45 AM |
No problem using Hyper-V. Read up on it. Stability/reliability... with one hard drive is tough to come by. If you have a drive failure you will have to rely on your backups to get things back into working order. Hopefully you have a backup plan
|
Posted by Jadon, 12-07-2011, 11:07 AM |
Sweet, I have a license. What do you mean about Linux guest?
@Motiv
It's all for personal use and learning mostly, along with some game servers. So if a drive fails, which is somewhat unlikely, doing everything from scratch isn't really a big deal.
Also, I may do some backups to my home server machine periodically.
|
Posted by Motiv, 12-07-2011, 11:11 AM |
Sounds good. You should be good for awhile anyways
|
Posted by PCTechMe, 12-07-2011, 11:50 AM |
I would virtualize the Windows instance as well so you wont take a performance hit on the Linux machines.
|
Posted by Jadon, 12-07-2011, 12:01 PM |
PCTechMe,
I was considering doing that. I've never done virtualization before, how would i set up a virtual Win Server 2008 along with debian and centos?
Also, I have enough IP's to use for each virtual instance, but is there a way to allocate a particular amount of my 100mbit connection to each VPS?
For example, 10mbit for the windows, 30mbit for the debian, rest for centos?
|
Posted by PCTechMe, 12-07-2011, 12:13 PM |
Each of the guests are independent of each other so there is no issue installing Windows and Linux guests on the same host.
I'm not sure about the bandwidth issue. You may be able to throttle that right from th NIC but I can't say for sure.
|
Posted by Jadon, 12-07-2011, 12:16 PM |
I didn't understand what you meant "guest" at first. But now that makes sense, the machine itself is the host to several guest operating systems right?
My question is what software would be good to put on the host to manage all the guests? I've heard of ESXI 5.0 being used for this, right?
|
Posted by PCTechMe, 12-07-2011, 12:22 PM |
Guests are the Virtual Machines, correct.
If you have a Server 2008R2 license (not web edition) then you can install Hyper-V on the host. You could also use VMWare or any other virtualization software available.
Since you apparently are not familiar with how all this works I would suggest reading up on it first. Also it helps if the datacenter or wherever else your sever is doesn't charge to much for OS reloads in case you need a "do over" or two before you get it right.
|
Posted by Jadon, 12-07-2011, 12:37 PM |
I work at the datacenter, so OS reloads are not a problem.
I keep trying to find information on google, which usually answers all of my questions, however I'm unable to find anything helpful. It's mostly websites trying to get me to buy their VM software, and I don't find that necessary for personal VM use.
"I would virtualize the Windows instance as well so you wont take a performance hit on the Linux machines." By that, did you mean you suggest that the host should not be running windows, but maybe VMWare or something with a windows guest?
"If you have a Server 2008R2 license (not web edition) then you can install Hyper-V on the host." But would this mean that the linux guests running under the windows host would take that "performance hit"?
|
Posted by Jadon, 12-07-2011, 12:41 PM |
I like the sound of:
VMware vSphere Hypervisor (ESXi)
http://www.vmware.com/products/datac...r/compare.html
|
Posted by PCTechMe, 12-07-2011, 12:44 PM |
Install W2K8R2 clean and run all windows updates.
Install the Hyper-V role only. No other roles.
Launch the Hyper-V administrator and create your VMs (Windows and Linux).
By not using the host for anything other than Hyper-V you are giving all (most) of the server resources to the VMs.
You will also be compliant with Windows licenseing.
Std = 1 Windows VM provided the host has no roles installed other than Hyper-V
Ent = 4 Windows VMs provided the host has no roles installed other than Hyper-V
DC = Unlimited
You can host any number of Linux VMs.
Last edited by PCTechMe; 12-07-2011 at 12:50 PM.
|
Posted by PCTechMe, 12-07-2011, 12:46 PM |
Or use VMWare...
|
Posted by Jadon, 12-07-2011, 03:11 PM |
A couple of things I plan on running require Windows, but they would be on/off (not 24/7) and probably only need like 1GB ram, and little CPU. So would I be better off making a virtual windows machine under the windows host, or just running them on the host machine and turning them off them I'm not using them?
I appreciate your help and the informative responses.
|
Posted by Jadon, 12-07-2011, 06:15 PM |
In VMWare, can I allocate a fixed memory to each virtual machine? What about CPU/cores? If I were to give a virtual machine particular resources, and i started doing stuff on my host machine that reached 100% load, would it also slow down my virtual machine?
|
Add to Favourites Print this Article
Also Read