CloudLinux ( Is it better to shift to CloudLinux ?)

Houston, TX (PRWEB) May 02, 2011

cPanel, a leading provider in Linux and Windows automation, formally announced its official partnership with CloudLinux and will offer direct distribution of the software to cPanel Partner NOCs and customers.

Shortly after the publication of this news in “www.cloudlinux.com” , I had a lot of our customers coming in and asking me , “I would like to have CloudLinux Installed for my Server” , “Would it be better to shift to CloudLinux” and finally “What is CloudLinux ?.. I would like to know more about it” .

I had been answering them all about the features that CloudLinux provides and I would like to share my basic knowledge on CloudLinux , which can tell you ‘ what all can CloudLinux Offer you ‘ .

What is CloudLinux ..

CloudLinux is a Linux operating system interchangeable with CentOS. It includes kernel level technology called LVE (Lightweight Virtual Environment) that allows you to control CPU and memory on per user basis.

On a normal Linux OS based hosting server all users share access to server resources as RAM, CPUs, hard disks.

So one user with unoptimized scripts or heavy sites can grab most of resources, thus causing poor server performance for all other sites on the server.

Cloudlinux OS is designed especially for servers being used in this way, and it makes impossible situation when one or several users severely load or even hung up the server. CL creates a virtual environment for each individual account on a shared server and allows us to limit the amount of resources any single account can use. Normally a single site can consume all CPU, IO, Memory resources or apache processes and bring the server to halt. After the introduction of CL , gone are the days of a single account taking up every single CPU on the machine because it wants to. This brings a lot of benefits to the table for both you end users and us as a host. We deal with less system level resource issues, there are fewer service interruptions, and most importantly the speed of most users sites go up as the machines aren’t using as many resources. As an end user, you also benefit from the lower server load and fewer interruptions of service.

Cloudlinux uses LVE technology that creates containers (separated operating environment) for each user on server thus limiting amount of resources one account can use.

LVE – LVE, is the driving technology behind the CL methodology. LVE, developed exclusively by the CloudLinux team, is a kernel level technology which handles the isolation and resource monitoring that CL is able to provide. LVE brings together technology provided by Apache modules and the Linux kernel. More reading available here: http://cloudlinux.com/docs/workingwithlve.php

LVE and cPanel / WHM – CL has developed a plugin specifically for use on cPanel / WHM based systems. Installed through yum (CentOS package manager), the plugin allows you to view resource accurate up to the last second, and also allows you to edit default and individual LVE limits.

Here is some working screenshots of the LVE Manager in the Cpanel :


mod_hostinglimits is apache module that detects VirtualHost from which the request came. Detects if it was meant for cgi or PHP script. Switches apache process used to serve that request into LVE for the user determined via SuexecUserGroup for that virtual host. Lets apache to serve the request. Removes apache process from user’s LVE.

The kernel makes sure that all LVEs get fair share of the server’s resources. This means, for example, that 10 apache processes serving a heavy site will use the same amount of CPU as one apache process serving a smaller site.

Thus when RAM or web-server threads limit is reached, 503 errors start appearing on your sites.

Severe overload can cause total unavailability of services, including cPanel. But LVE works in conjunction with web-server’s virtualhost configuration, so it is possible to access cPanel with IP address of your server when your accounts is overloaded in order to disable/modify scripts/addon domains and make part of web-content available again. You may notice red “CPU Usage”and “Entry Processes” fields at the left of the main cPanel page. These fields show current resource usage statistics for your account.

So these were some thing about how CloudLinux works and its features . And I hope many of you may be looking forward to switch towards CloudLinux .. So here goes the steps to Install CL in your server


CloudLinux Installation Steps :


1 ) First of all you must get your license from CloudLinux .

2) Download script: centos2cl : # wget

http://repo.cloudlinux.com/cloudlinux/sources/cln/centos2cl

3) Execute sh centos2cl -k License Number : # sh centos2cl -k 1234-xyz124564564dfcd564c56f456df4d5

4) Reboot server : # reboot

5) Once you have rebooted, you are running CloudLinux kernel with LVE enabled.

To complete the installation you will need to install cpanel-lve, cpanel-lvemanager and lve-cpanel-plugin packages

# yum install cpanel-lve cpanel-lvemanager lve-cpanel-plugin

And This is all you need to get your CL installed in the server , So now you can enjoy using CL managing it via WHM.

Leave a Reply