KVM Hypervisor And Guest OS Setup
I have been using Linux for the past 3 or so years, either running it for workstations or servers, and now I want to set up a server for Virtualization. I have been doing a fair bit of research about the different ways of doing this, and I have decided to go with KVM. I usually use CentOS, but will have to use Debian to use KVM. I just have a few questions about the best way of setting it up.
We have a pretty powerful server* which we are planning on collocating to a data centre and running web servers from the VMs. Virtualization seems like the best way to allow for simpler administration, and also allow us get the most out of our server's resources.
*Intel Xeon X3230 Quad Core, 8GB Ram, 4x 15k 147gb SAS (RAID 6)
What is the best way to set this up then? I was thinking we could install Debian as the Host/Hypervisor over the whole drive, and give it a 16GB swap partition. Then I guess when the VMs are installed they live on the Debian drive as a file, or do they need their own partitions?
Are the guest OS's capable of using the Host's swap space? Its bad enough losing 16GB as a swap partition to the host OS, but please don't tell me I need to supply the VMs with their own swap partition aswell - im curious as to if the server will ever need to use swap space as it has alot of ram, let alone require extra swap for each VM too?
KVM is still very new, but does anyone know any good books/resources out there? The virtualization books I have seen don't seem to cover KVM, just Xen and others.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
RHEV - Red Hat's KVM Hypervisor Released
For those keeping up with the lastest virtualization news, Red Hat's hypervisor is now "Generally Available" as of today. Based on KVM, it may be a good alternative to VMWare if you need commercial support in your virtualization implementation. Redhat Link The code is GPL so I'm guessing we might see this soon in a Centos flavor?
View Replies!
View Related
How Do I Setup A Ubuntu DomU Guest On A CentOS / Fedora Core XEN Server
how to install Ubuntu (either 7.10 or 8.04) as a XEN domU guest on a CentOS 5 / Fedora Core 8 XEN dom0 server? I have tried installing Ubuntu as a fully virtualized guest, but the Ubuntu CD doesn't even bootup. I get the Linux bootloader, and that's it,it doesn't continue to boot. Odd. When trying to install a Paravirtualized guest, I had to use the debootstrap method, but can't get it to boot up. Quote: xm create anya_zanet Using config file "/etc/xen/anya_zanet". Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found ') This is the xen configuration: Code: kernel = "/boot/vmlinuz-2.6.23.1-42.fc8" ramdisk = "/boot/initrd-2.6.23.1-42.fc8.img" builder='linux' memory = 256 name = "anya_zanet" vcpus = 1 vif = [ 'bridge=xenbr0' ] disk = [ 'phy:/dev/System/anya_zanet,hda1,w' , 'phy:/dev/System/anya_zanet,hda2,w' ] root = "/dev/hda1 ro" on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' how to get Ubuntu working on a CentOS / Fedora Core XEN server?
View Replies!
View Related
How To Setup Networking For KVM Guests
I have a server with CentOS 5.4 with 5 IPs. Now i want to spare 1 IP for the host, and create 4 virtual machines, each with 1 dedicated IP and has direct access to internet (virtual machines created with KVM come with NAT as default) Anyone can point me to a tutorial or tell me how to setup networking for this ? Working over GUI is not possible since i only have ssh access and don't want to install X just to install things. Is it possible to use Xen networking scripts for KVM guests ? I have tested Xen on my server and its default networking setting worked ie with guests have direct connection to internet.
View Replies!
View Related
How To Setup FreeBSD On Dedicated Server Without KVM
setup FreeBSD 7.2 amd64 on my dedicated server remotely. There is only problem I havnt access to KVM, but I have access to rescue system (linux image loaded into memory of the server, which enables me to perform any actions with help of linux tools on hard drive, it's easy to install any linux distro on the server - just format hdd and load files of OS, but I really dont know how to install FreeBSD by this way). So, maybe someone can help me? If you have any tools for FreeBSD install or special images of it -
View Replies!
View Related
VMWare - WinXP As Guest On CENTOS - Networking
OKay here is the set up: I have a CENTOS 64bit running, with 1 guest OS (WinXP) in a VMWare Server. I have tried the following: I have 6 public IP's attached to my 1 Ethernet card in the CENTOS host. Try 1: The Guest OS is set to use "Bridged" Networking. This allows full use of the internet, in both directions. Not exactly optimal, but it does work. I can reach the Guest via RD, which is a requirement for this client. The guest OS is mainly assigned one of the 6 public IP's (x.x.x.118). The problem with this setup is the Guest OS can not reach the host. For example the host has a mail server on it, and when the Guest tries to reach the host, it times out. Try 2: The Guest OS is set up to use "NAT" and gets 192.168.100.128 as its IP via DHCP inside of VMWare. The nat config file for VMWare is set to open port 3389 (RD port). Guest OS can reach the host with out any problem, and can reach the internet with out any problem, however I can not RD in to the Guest OS. I prefer setup number 2 for all the obvious reasons, but I just can not get my IPTables rules to work. This is what I thought should work, but does not: iptables -t nat -I PREROUTING -d x.x.x.118 -j DNAT --to-destination=192.168.100.128 iptables -t nat -I POSTROUTING -s 192.168.100.128 -j SNAT --to-source=x.x.x.118 I realize that would have done all traffic, and defeated the benefits of NAT,but since forwarding only 3389 was not working I tried forwarding everything. Any suggestions?
View Replies!
View Related
32 Bit Xen Guest On X86_64 EL5 Node
Let's make this straight, I have this vps,which is pending cancellation in a few days. Hardware Node = EL 5 x86_64, Vz = Xen I asked my provider for 32 bit centos, I even rebuilt it, but my "uname --all" still Quote: Linux xxx.xxx.com 2.6.18-128.1.10.el5xen #1 SMP Thu May 7 11:07:18 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux so I opened a ticket asking about the vps arch. The provider have told me that to run a vps 32 bit guest, what you have to do is (?) +++++++++++++++++++++++++ yum clean all echo i686-redhat-linux > /etc/rpm/platform +++++++++++++++++++++++++ so yum will exclude any x86_64 packages. The provider has told me also that my "uname" display x86_64 because the hardware node is 64 bit. Is this true ? I'm no linux or vps guru, but that's doesnt feel right at all. This has cause me some issues especially with kernel-headers and some program failed to compile. So, is it possible to run a 32 bit OS as xen guest inside 64 bit node?
View Replies!
View Related
Xen Update, On Bringing Guest Networks Back Up
After a yum update on a centos 5.2 box (including an update to the latest version of xen) my guests don't have a network connection anymore (nor windows, nor linux VMs). The windows VM does see an unknown PCI device (great, no drivers and no internet), of which I guess is the network card seeing there are no other network cards listed in the VM.
View Replies!
View Related
MS Virtual PC - How To Access My Localhost (Apache) Subdomains On Guest OS?
I've just downloaded Microsoft Virtual PC and the Internet Explorer 6 Application Compatibility VPC Image containing an XP installation for testing sites with IE6 [url]. Everything works fine, I chose VPC Shared Networking (NAT) and I can access the internet from the VPC as well as my Apache development server which runs on the host OS (Win XP) by going to the host's IP address which is [url] in my case. And here I have 2 problems: 1. I want to access [url]on VPC just by typing [url]. I added the following line to the hosts file: 192.168.52.141 localhost But this doesn't work. Interestingly, any name other than localhost works fine, for example: 192.168.52.141 localhost.localhost or 192.168.52.141 local This is not a major problem but I'd prefer localhost. Any ideas how to do that? 2. And the more important issue: on my host OS I have some development sites which I have set up to be accessed by subdomains, for example [url], in httpd.conf: Code: <VirtualHost 127.0.0.3> ServerName perfekt.localhost DocumentRoot C:wwwperfekt DirectoryIndex index.php index.html </VirtualHost> and in hosts file: Code: 127.0.0.3 perfekt perfekt.localhost And now I want to access this site from my VPC too by using subdomains like this! How can I do that? The address 127.0.0.3 seems to be local to the OS and VPC can't see it. I have tried setting other IP addesses in httpd.conf but nothing outside the 127.x.x.x range works on either OS. I suppose I need to make each of my sites to be seen under a different IP from the outside network so that VPC (which is "outside" the host OS) can access them - then I just set up the appropriate subdomain names in VPC hosts file -
View Replies!
View Related
How Do I Host Windows 2008 Server As A Guest OS On My Linux Dedi
How do I run a virtual instance of Windows server 2008 on my Linux dedi? Do I need to partition the server and create a VPS for this or can I run it on something like VMware? (Please look at my other thread here [url]t=857377 to learn more about my server, its resources and current config.) Why would I want to do this? Because my primary desktop OS is still Vista Ultimate 64 and I've invested a lot in Windows-based software and hardware--too much to make a total switch to Linux. But, I don't want to invest more than I have to in order to run a Windows server that allows my business partner to access documents remotely or for us to share various files securely and privately and still serve my mostly Windows-based clients and colleagues. I'm one of, well, two people I know who even use Linux (at least at the OS level and know it). Since my research shows I **can** do this on Centos 5, the responses that would be most useful to me would be those that focus on how I can do this successfully (even if it seems complicate; I can figure it out with help and/or direction) and what to consider or avoid when creating this virtual guest OS on my Linux dedi.
View Replies!
View Related
Dedicated Or Reseller Setup With Virtualization Or Decent Chroot Setup
As my clients' needs expand, they're asking for chroot ssh/sftp setup. I'm currently on a dedicated Linux setup but don't really have the time to set up a whole new box with full virtualization or investigate a full chroot solution (baby on the way), and to be honest it would be less hassle to move to a new provider than worry about down time with sites. What I'm looking for: - linux hosting - hosting for 30+ accounts, some with several domains - at least 6 IP addresses for SSL certs - each account in a full chroot environment (ssh/sftp/ftp) so they can't poke around each others' files, or each account set up in a virtual machine setup (ie: openvz) - maildir - spamassassin - php 5, mysql, perl 5.8.8 - suexec apache would be nice
View Replies!
View Related
DNS Setup And FTP Setup [LXAdmin/HyperVM]
I have learnt it is harder to setup than I initially expected (since I have just moved from a shared hosting service). I am in need of some help setting up my DNS servers, as I am very confused. Here is most of the info I know: 1) I am running HyperVM 2) I've installed LXAdmin 3) I own the domain (purchased from xeodomains.com) runemart.com 4) My VPS hostname is: vps.runemart.com 5) I know my IP 6) My host has said: 'For VPS customers that have a HyperVM login you can now host forward DNS on the DNS servers rdns1.vaserv.com (US)rdns2.vaserv.com (UK' And I am unsure what this means/how to do it. I am not sure if I need some more information to set up my DNS, however I am sure that I can get it if I do. Now, my questions begin. Firstly, I need to point my domain - runemart.com - somewhere. I believe I need to set up my DNS via HyperVM or LXAdmin so that they are something like: ns1.runemart.com and ns2.runemart.com. Though, is this correct? Am I able to set up my own actual domain name servers, or will my domain have to point at something like rdns2.vaserv.com? If anyone can assist me in this I would be very greatful, as I am waiting to get my website running. This is all I will ask for now, I will take it one step at a time =).
View Replies!
View Related
KVM Over IP
I just wanted to get a POLL and comments on what are your thoughts about a KVM Over IP feature included with dedicated servers? Would it influence your decision on whether the server you are looking for has it included or not?
View Replies!
View Related
KVM Over IP
I heard a lot of things about KVM that it lets me control the server and its like Im in front of the server, etc... I would like to clear few things with some people who used KVM over IP in the past. My host offers Free KVM over IP and I want to try it. 1. How does KVM Work I'm a Windows users what do I need to use KVM? 2. Does KVM allow me to surf on the internet using my server? what do you use it for? 3. is there like a KVM client or something like SSH putty? I use SSH everyday in and out and this is something new :"KVM" so I need some info.
View Replies!
View Related
Is This Kvm Even Possible
Is there a kvm out there that can take advantage of using a laptop keyboard and monitor? I would like to drive down to my my colo server and plug my laptop in and use that as the kvm system. Are their any affordable systems that can do this?
View Replies!
View Related
Remote KVM
I am looking for options to use for remote KVM. I have great local KVM that are multi user that are paid for. I need to get something that works well with them for remote access. I have tried the Belkin remote boxes and the scree quality was bad and was not happy with it.
View Replies!
View Related
LeaseWeb - KVM
I recently ordered a HP ProLiant DL180 with LeaseWeb. During pre-sales communication on April 3rd I was told that the KVM card that comes with DL180 is buggy and I won't be able to use it until HP fixes it. Considering the "strategic partnership" between LeaseWeb and HP, I thought they'd fix the problem quickly, so I went ahead and ordered the server anyway. Now it's been 3 weeks and still no word on the fix. Anyone else with a DL180 in the same situation?
View Replies!
View Related
Remote KVM
Why is the price on Remote over KVM vary so much on colocation from data center to data center? I mean some places that I've contacted its $5 per month while other places its $150 to $250 per month. Or $10 per hour. Is there a benefit to both parties using this?
View Replies!
View Related
KVM Over Cat5e
I am trying to set up a server (not really going to serve web-pages just setting it up to download a few torrents at a friend house as the broadband gods laugh at me) any how back on point I was wondering if kvm over cat5e would allow me to to use to use the mouse, keyboard, and video from my home (I am on dial up)? I will have a static ip so I can access the server of course but I can not afford an actual kvm over ip switch. So is it possible? Or will I just have rely on good old fashioned webmin and the command line? Server Specs: Dual P3 1.26 1 gig sdram OS FC6 (I am comfortable with been using it since FC2)
View Replies!
View Related
KVM Over IP System
I have a few different types of servers, all of which came with their own KVMoIP setup, aka DRAC and iLO which have worked only so so since their deployment. The HP iLO has performed absolutely flawlessly but the DRAC on the other hand has been nothing less than a complete nightmare. I'm looking for a KVM over IP system that we can connect to multiple servers, mainly Dell, that is 100% reliable and completely stable. Not something that will be giving Java errors randomly when you actually need it to work. So far I've came across the Raritan Dominion KX II which looks pretty promising. Is there any other KVM over IP systems or manufactures that I should look into? Has anyone used this and can you comment about its reliability?
View Replies!
View Related
KVM Over TCP-IP
I was wondering if this is a good solution for a server room or a colo facility where you have multiple servers: [url] what is a popular product that allows you to see messages on the server when it's rebooting.
View Replies!
View Related
Is KVM Equipment Necessary
Couldn't you just remote access into your server from elsewhere? This would save you the hassle and cost of buying/installing/maintaing the KVM equipment? In the rare case where you have no network access but need access to the server, then you could directly plug keyboard, monitor, and mouse into the server directly, right? And in cases where you do have network access, couldn't you just plug in your laptop into the network in the colocation facility or wherever and remote access to the servers sitting two feet away from you?
View Replies!
View Related
KVM And Centos
I have got a KVM swith to connect centos and windows2003 server, windows loading fine, but when I change it to linux os, it says out of range. How can I fix it?
View Replies!
View Related
Best Multi User IP KVM
I am currently looking for a new IP KVM. Right now I use a mix of HP and Raritan KVMs and I'm honestly not super happy with either of them. The main feature I'm looking for is the ability to setup multiple users and only allow them to access certain ports/devices on the KVM. What would be the best IP KVM to look at for this?
View Replies!
View Related
Switched PDU And KVM/IP
APC seems to be the golden standard for switched PDU. We are looking at a Tripplite B060 IP KVM For all you KVM gurus, that have played with various brands, love to hear feedback on the various makes out there.
View Replies!
View Related
Avocent KVM With HP Adapters
I bouth a new Avocent DSR2161 KVMovIP Switchs and I'm having a little problem. Since I know Dell/HP/Avocent (and maybe some other else) use the same type of hardware to make this KVM Switchs, including the local System (OSCAR). With this switch I bouth 16 KVM CAT5 PS/2 Adapters from HP. When I connect them to the KVM Switch it shows a Green Light that means there is a cable in there but the orange light (I think it's the "act" light is turned off. In OSCAR no adapters appear. When I plug in/out a adapter using a firmware v3 (latest Firmware from Avocent) it says (in debug mode): rcmProcessRipPortStatusMsg: port 7 rcmRequestRipTableEntry: port 7, chan 1 rcmProcessRipTableMsg: old packet type! RIP STATUS(RipTable) port:7 chan:1 In0 On1 Rip1 UA1 Up0 STS=71 rcmProcessRipTableMsg: port 7, chan 1, swChannels 0 rcmProcessRipTableMsg: ERROR RIP not found!
View Replies!
View Related
SecureLinx Spider KVM
There are 2 versions of this KVM - one with USBs only http://www.provantage.com/lantronix-...1~7LANB01T.htm - one with USB and PS/2 http://www.provantage.com/lantronix-...1~4LANB01R.htm
View Replies!
View Related
KVM Over IP For Multiple Servers
We are looking for KVM/IP solution for multiple server. Where we can add the users remotely and give temporary access to the server owners. Once they are done we remove them from access list. So it can be used by someone else. Anyone know for KVM/IP solution with kvm switch which can solve our purpose of KVM.
View Replies!
View Related
KVM-over-IP For BIOS Access
We are using a AdderLink IP which is connected to some AdderView Matrix KVM Switches. The big problem is, that the AdderLink IP is quite slow switchting to the right screen resolution. This means, I have no chance to access the bios, because before I can press the DELL button to enter the bios, I have to syncronise the screen resolution to get access to the Keyboard and press the DELL button. But the syncronisation takes about 5 seconds and therefore I'm too late pressing the DELL button. Now I search a better KVM-Over-IP box, which I can connect to my AdderView Matrix KVM Switches. It's very important, that I don't need to synchronise anything before I can use the keyboard. Can someone recommend such a box which don't need to syncronize at all? Or how are other companies accessing the bios?
View Replies!
View Related
Belkin KVM/IP Review
I am considering purchasing a Belkin KVM/IP unit I found on craigslist, and I'm just wondering if anyone has any experience with them and can give me their opinion of them? The one I am looking at is this model: [url]
View Replies!
View Related
Startech SV1115IPEXT IP KVM
Wondering if anyone has used any of Startech's IP KVM products. In particular I am looking at the SV1115IPEXT here: [url] What I am aiming for is a device that I can have remote hands just plug into a machine video, keyboard, mouse, and USE for remote image mounting (to simplify remote hands for the 'not so talented' 24-hour support in the DC). Anyone have any experience using a IP KVM for this purpose? If so how well does it work for actually getting into the BIOS and booting off a remotely mounted image (considering the image is local on at least 100mbit ethernet)?
View Replies!
View Related
Who Offers KVM With Virtual Media?
I use Virtuozzo with layeredtech, and since I'm on the move anyway, thought I'd like to try out some different Virtualization products before the migration. Allot of these products like bare-metal installs though... which is why I'm particularly looking for "virtual media" on the KVM.
View Replies!
View Related
Datacenter Support Cant Tell Me How Much A KVM Costs
So I needed to reboot one of my colocated machines into a different kernel, compile and load a kernel module (for a network interface) and then bring up that interface. So I called the datacenter support to ask if they could compile and load the module for me and inquire as to about how long that would take. On their website they say they provide Best Effort third party application support and 24/7 Phone Support with on site server admins so this doesn't really seem like a unreasonable request. I want to pay them for support and they're there to do it right? Apparently not. The support guy said that compiling and loading the module was dependant on "very many factors". The first "factor" he inquired about was what OS we were running--Debian. "Debian isn't a supported OS, we can't do that for you." What? I'm sorry you CAN'T do it? I thought you provided "Best Effort" support. This seems more like zero effort support to me. (I'm willing to provide step by step instructions but apparently they won't do that because they don't want to.) Ok, fine, you won't compile and load something for me no big deal that's what KVMs are for. "Can you hook up a KVM?" "Sure" "How much would that cost" "I don't know, this is the support department not the sales department, you'd have to ask the sales department tomorrow." Really? So if my server is exploding at night and you wont even try to do anything about it and my only option is to have you setup a KVM you can't tell me how much that will cost? What am I going to tell my boss when we get a rediculous bill for a KVM--the support guy wouldn't tell me how much it costs? Not good enough. Not only that but you're going to be a give me a snarky response to my question--a question I only asked because you wouldn't provide remote hands? Is it just me or is it pretty rediculous that the support guys can't tell you how much KVM costs? Not all situations where you'd need KVM are planned or happen during the hours the sales department is open. It apparently isn't a problem to have them hook up the KVM 24/7 you just wont know how much it's going to cost you until the next business day. Is this typical of datacenter support? My guess is that support is completely hit and miss, I've had great experiences with a small datacenter before (Joe's helped out when a hard drive in a RAID failed) and bad experiences with larger datacenters (one you've all heard of, I asked ahead of time if they could ghost a drive and replace it. They said yes. I provided step by step instructions with screenshots they tried it and failed saying "I don't really know linux, I'm a windows guy, I don't know what I'm doing, I messed it up somehow, I don't know what I did" and yet still billed me for it).
View Replies!
View Related
Type Of KVM/IP Switch With Something Extra
KVM/IP switches are a wonderfull thing, aren't they? Lifesavers they can be.. Anyway, I'm looking for a module compareable to KVM/IP, but with the extra feature to remotely mount an image using an USB port of a server. Basically so its possible to install a server remotely over IP, w/o having a physicall CD in the KVM/IP switch (or using hardware similar to IPMI's from HP/Dell/SM). Does such hardware excist? I don't need multiple users to log in, or to control multiple server at the same time (login for each server would be handy though). Only 6~8 ports are required. The only problem I could forsee with it is that my rack might get messy.. 8 servers, 8x2 powercable (A+B), plus 8x2 UTP, plus KVM, plus USB..
View Replies!
View Related
One Port/server KVM/IP Switch
I saw a one port KVM/IP switch, simply a little case that fits in your hand, with 2xPS/2 ports, a VGA and a network output (it didn't even require an extra power input, although that isn't a requirement). I remember it was about 55 euros (about 80USD). Does anyone remember such a little small thing? I can't find that catalogue anymore.. If you find one with a USB port for virtual media (like 32MB..)
View Replies!
View Related
RJ45 KVM Cables - Interchangeable
I'm pricing out various options for KVM over IP solutions, and noticing that most of the options (Raritan, Avocent, Minicom, etc.) have RJ45 on the back, terminating in VGA+PS/2 or VGA+USB. Minicom's version of the cables costs about $75, whereas the Raritan ones are about $150/each. Does anyone know if cables from one brand will work with another? It seems that there's no reason they wouldn't, but I also wouldn't be all that surprised if they swapped pin arrangement or the like just to make you buy their cables. Has anyone done this before? Specifically Minicom adapters on a Raritan or Avocent KVM unit (RJ45).
View Replies!
View Related
Found A Cheap KVM Over IP Device
I just found the following KVM over IP device with 16 ports: [url] You can get it for 747 € ( plus VAT ) and it comes with 2 CPU cables. Each additional cable costs only 5.80 €. For 828 € you can manage 16 servers, 52 € per server.
View Replies!
View Related
|