OpenVZ (Open Virtuozzo) is an operating system-level virtualization technology based on the Linux kernel and operating system. It allows an actual physical server to be able to run multiple isolated operating system instances (referred to as containers), virtual private servers, or virtual environments. These containers, VPSs and VEs “look and feel” like a real server from the standpoint of users and owners.
The benefits of server virtualization
Why go for server virtualization in the first place? According to David Marshall of infoworld.com experts have listed the advantages to doing so, the best of which is that it can help you easily move whatever information you want into the Cloud.
There are also other benefits like being able to extend the lives of older applications that do not run on a modern OS or newer hardware and being able to save on power costs.
Other benefits include:
1) Being able to save on physical space – Since lesser actual servers are needed they take up smaller space
2) Faster server provisioning – Setting up a virtual server takes less time than putting up a physical one
3) Increased uptime – Virtual servers can quickly recover from power outages or any interruptions
4) Improved disaster recovery – Since a virtual server system is not dependent on a particular hardware vendor or server model, it no longer needs the identical hardware to facilitate the necessary repairs
5) Application isolation – Server virtualization removes application compatibility issues by consolidating virtual servers across far fewer physical ones
The good news is that CloudLinux now provides support for OpenVZ and Virtuozzo, but since this development is only in the beta stage, for now it can only support CageFS, PHP Selector and max entry processes
To install support for OpenVZ and Virtuozzo just follow the following steps below. Note that you have to do this for each server and that you have to have a Cloudlinux license for each VZ container.
-Make sure all containers are stopped before carrying out this operation. As a precaution you must also have to reboot the server after the install.
$ wget -P /etc/yum.repos.d/ http://repo.cloudlinux.com/vzlve/vzlve.repo
$ yum install lve-kernel-module
This will setup the LVE module for VZ kernel, as well as DKMS to update that module each time VZ kernel is updated.
After you have done this, you can add LVE support for any container on a node, anytime you want to.
For CloudLinux to work inside a VZ container, the VZ node has to be enabled. Remember that you have to do this for any container where LVE support needs to be added.
$ vzctl set CT_ID –devnodes lve:rw –save
To disable LVE support for the container:
$ vzctl set CT_ID –devnodes lve:none –save
Inside the container, follow standard CL installation procedures, with one difference: You will be downloading cldeploy from a different place, as it is a different version with VZ support.
Cloudlinux is currently working one developing one version of cldeploy for all cases.
$ wget http://repo.cloudlinux.com/vzlve/cldeploy
$ sh cldeploy -i
$ sh cldeploy -k _KEY_
Follow up with:
$ cagefsctl –init
$ yum groupinstall alt-php #
Order CloudLinux now! https://www.buycpanel.com/order-addons?cloudlinux#cloudlinux More information on CloudLinux licenses: https://www.buycpanel.com/addons/cloudlinux