OpenSource For You

Experience the Virtual World with OpenVZ

-

OpenVZ, as most of us know, has taken the field of computer virtualisa­tion by storm. In this article, I will discuss its various aspects and how to implement it with your infrastruc­ture, in order to create virtual machines within minutes. These machines will be isolated from one another and only the host machine will have full control over them. I will walk you through the steps of getting OpenVZ up and running on a CentOS 6 server, along with a few configurat­ion tweaks. KVM stands for Kernel based Virtual Machine, also referred to as full virtualisa­tion. It is used to create totally isolated virtual machines, which contain their own kernels and own dedicated resources such as disks, graphics cards, network cards, etc. Virtual KVM servers behave like completely isolated environmen­ts.

OpenVZ is container based virtualisa­tion, in which the resources of the host machine are shared among a number of virtual containers.

This is the main reason why OpenVZ can create only Linux based virtual machines (VMs) whereas KVM can create virtual servers that are based on Linux, Windows, BSD, Solaris, etc, because they are self-contained, have their own resources, and do not need to rely on the host machine. Although KVM also must be installed on a Linux box, it can have other OSs as guest machines, as mentioned above.

Because of this full virtualisa­tion, KVM generally has much more overhead than OpenVZ containers, which makes OpenVZ pretty fast compared to KVM. All in all, choosing between OpenVZ and KVM should depend on what you are going to run on the virtual server. Given below are some comparison­s that you could consider when making a choice. 1. You want the server to host your PHP/MySQL applicatio­n: Go with OpenVZ, as your applicatio­n must be fast enough to cater to the requests of your clients - an OpenVZ based

 ??  ??

Newspapers in English

Newspapers from India