Your Ad Here

OpenVZ or Xen ?

January 30th, 2009

OpenVZ:
Advantages: allows overselling. Very light weight. Can accommodate more Virtual Machines in a server.

Disadvantage: There is no per vps swap.

Why this is important:

OpenVZ will KILL your application if it goes beyond the limit, and this can cause some trouble. There are people out there who want to host oracle on a 64MB vps, and with such customers, using openVZ will lead to constant application crashes, which ultimately will be blamed on the provider. (This is actually something that is common with openvz/virtuozzo hosting in general; you can check some threads at wht).

With Xen, each vps has its own swap, and thus you get an EXACT dedicated server like environment, but with lesser resources. So here, the customers applications will NOT crash, but rather it will become slower. Also, majority of the applications, like apache, spamassassin expects a lot of memory, and openVZ makes memory a very valuable commodity.

So generally my recommendation is that: For friendly customers use openVZ, and use a lot of burst memory. For not-so-friendly customers, use Xen. And that is why we are providing transparent migration. You can start a customer on openVZ, and see how it works out, and if he is getting too many application crashes, you can move him to the SAME configuration on Xen, and he should be able to do fine, though his application would be slower.

Tags: Apache, burst, Memory, OpenVZ, oracle, swap, Virtuozzo, Virtuozzo, xen

Related posts

Virtuozzo

, , , , , , ,

Virtual Server : Guaranteed Memory and Burstable Memory

January 30th, 2009

Guaranteed memory is defined as the usable memory out of the memory available in VPS. This is available for the user at all time. Very often this guaranteed memory can be changed to burstable memory by the VPS.

Burstable memory set a maximum limit for the memory available where as guaranteed memory is a minimum limit. That is, even if the guaranteed memory is exhausted, the users of VPS can use the memory up to the limit of burstable memory. The simplest example to understand the difference is: if the guaranteed memory of a VPS is 256mb and the burstable memory limit is 1024 mb, the users can use the remaining 768MB RAM once their guaranteed memory is completely used up. This is possible only if the host server has that much memory available with it.

It is always a procedure to keep certain part of the memory in host server as burstable. This can be used by the virtual servers when they are in need of extra memory. Also the guaranteed memory unused in any virtual server can be used by other virtual servers when they want burstable memory. It is known that guaranteed memory should be available for use for the virtual servers. So when they are in need of guaranteed RAM, they usually kill the processes that use their memory as burstable to get the memory released. So it is always better not to use the burstable memory unless it is so needed.

When trying to get a VPS server, it should be clearly understood that the memory availability that they demand is not burst memory. The guaranteed memory must be available in sufficient amount to get proper working in VPS. The memory burstable is not readily available always as it can be obtained only on a lapse of guaranteed memory by other virtual servers in the system.

Tags: Burstable, Guarante, Memory, Virtual Server, Virtuozzo

Related posts

Virtuozzo

, , ,

Reconfigure Perl CPAN

January 24th, 2009

I’m having some problems with installing modules with the MCPAN via shell.When I first ran it I let it auto configure and now I cannot install
anything. Is there a way I can force it to run the configure script again ??.. there is some question i found on net while looking for "reconfigure perl MCPAN".. and the solution is so easy….

login to your box, and execute the perl shell again

and then type "o conf init" without double quotes.

now you can reconfigure your MCPAN again..:)

Tags: General

Related posts

General

HyperVM : "Server refused to allocate pty"

January 22nd, 2009

If you are getting a server refused to allocate a PTY after a rebuild please login to HyperVM and the command console and run the following commands from the host node

vzctl exec <veid> /sbin/MAKEDEV tty && vzctl exec <veid> /sbin/MAKEDEV pty

please replace <veid> with the number id of server you want to fix. This will fix the issue. Hope help :)

Tags: General

Related posts

General

Mod_Security.. what is and how to ?

January 17th, 2009

    What Is ModSecurity?

    ModSecurity is a web application firewall that can work either embedded or as a reverse proxy. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis.

    It is also an open source project that aims to make the web application firewall technology available to everyone.

    Licensing

    ModSecurity is available under two licenses. Users can choose to use the software under the terms of the GNU General Public License version 2 (licence text is included with the distribution), as an Open Source / Free Software product. A range of commercial licenses is also available, together with a range of commercial support contracts. For more information on commercial licensing please contact Breach Security.

    Note

    ModSecurity, mod_security, ModSecurity Pro, and ModSecurity Core Rules are trademarks or registered trademarks of Breach Security, Inc.

Tags: Apache, firewall, General, modsecurity, protection, security, software

Related posts

General

, , , , ,