Difference between revisions of "FAQ"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
m (General)
(Undo revision 23356 by 203.81.71.218 (talk))
(Tag: Undo)
 
(36 intermediate revisions by 16 users not shown)
Line 1: Line 1:
 +
{{Virtuozzo}}
 +
 
== General ==
 
== General ==
===== What is a container (Virtual Environment, Virtual Private Server, VPS, VE)? =====
 
:See [[Container]].
 
 
===== What are highlights of OpenVZ technology? =====
 
In short, OpenVZ is the only highly scalable virtualization technology with near-zero overhead, strong isolation and rapid customer provisioning that's ready for production use right now. Deployment of OpenVZ improves efficiency, flexibility and quality of service in the enterprise environment.
 
 
===== Who needs OpenVZ? How it can be used? =====
 
:See [[Use cases]].
 
 
===== What applications can run inside an OpenVZ container? =====
 
 
Most of applications can be installed to a container without any modifications. Oracle, DB/2, Weblogic, Websphere and other big applications run just fine inside an OpenVZ container. Applications and services do not have to be aware of OpenVZ. However, direct access to hardware is not available by default.
 
  
===== How is OpenVZ different from other technologies? =====
+
===== So what is Virtuozzo? =====
:See [[Introduction to virtualization]].
+
Virtuozzo is a Linux based virtualization platform, combining container and hypervisor virtualization, into a single product. While primarily built for service providers to run cloud services and applications, it is used by variety of businesses, including MSP, SMB and Enterprises.
  
===== How is OpenVZ updated and why it is secure? =====
+
===== What is OpenVZ and how it compares to Virtuozzo? =====
:See [[Security]].
+
OpenVZ is a free and opensource portion of Virtuozzo. It includes core of Virtuozzo functionality, like kernel and command line management tools for creating and managing containers. Virtuozzo includes everything that OpenVZ does, plus additional features and services available with the commercial version only.  
  
===== How scalable is OpenVZ? =====
+
===== How does Virtuozzo 7/OpenVZ pair compares to its predecessor (Virtuozzo versions 4.x and 6/OpenVZ) =====
 +
Previously, OpenVZ and Virtuozzo were built out of the same code base with some unique patches applied. That warranted the user interfaces to be similar but not identical. With Virtuozzo 7, the compatibility will be on the binary level - effectively the open source components will be the same between OpenVZ and Virtuozzo.
  
OpenVZ technology scales up pretty well - we've tested it on machines up to 8 CPU and up to 64 GB of RAM. Besides, a single container could be scaled up from taking a little fraction of available resources up to all resources available dynamically - you do not even have to restart the container.
+
===== How OpenVZ users will benefit from it? =====
 +
OpenVZ components will be undergoing the same testing procedures as the commercial product. Also, some new features previously available on Virtuozzo only (notably hypervisor) will become available on the product built for OpenVZ community users.
  
===== How OpenVZ improves efficiency of services? =====
+
===== What support options are available for Virtuozzo 7? =====
 +
For the moment, only preview (beta) versions of Virtuozzo 7 are available. They are intended for development and testing only, not for production. Virtuozzo 7 is not yet commercially supported. For supported commercial version, please refer to [http://www.odin.com/products/virtuozzo/ Virtuozzo 6].
  
For existing hardware, OpenVZ allows to utilize its processing power better by improving average load from 3-5% to at least 30-50%, while still providing ability to handle peak loads. To decrease complexity, OpenVZ provides standardized and centralized server management, logically decoupled from actual hardware. And when its time to buy new servers, you can now use few more powerful servers instead of many little ones — with added benefits of better reliability, better peak performance and typically longer lifespan.
+
===== Why I need Virtuozzo/OpenVZ when LXC exist? =====
 +
See our [[comparison]] of different virtualization solutions.
  
===== How OpenVZ improves flexibility of services? =====
+
===== When OpenVZ will be in upstream kernel? =====
 +
Our kernel developers [http://openvz.org/File:Kernel_patches_stats.png work hard] to merge containers functionality into the upstream Linux kernel, making OpenVZ team the biggest contributor to Linux Containers (LXC) kernel, with features such as PID and network namespaces, memory controller, checkpoint-restore and much more.
  
By providing unified scalable platform with such unique features as rapid application and updates provisioning. Each container is hardware independent and can be moved to another OpenVZ-based system in seconds over the network. This allows for ease of hardware maintenance (move out all containers and do whatever you need with the box) and improved availability (keep a synchronized copy of your container elsewhere and start it up when primary service failed). If your old box is not able to cope with peak load anymore, just move your containers to a new one.
 
 
===== What is a performance overhead? =====
 
 
Near zero. There is no emulation layer, only security isolation, and all checking is done on the kernel level without context switching.
 
 
===== What are performance expectations? =====
 
 
Peak performance is achieved when only one container has active tasks. In this case, it could use 100% of available resources: all CPUs, all physical memory, all disk and network bandwidth. OpenVZ is not limiting you to a single-CPU virtual machine.
 
  
 
===== I want to show my appreciation to OpenVZ and put some logo to my site. Where to get it? =====
 
===== I want to show my appreciation to OpenVZ and put some logo to my site. Where to get it? =====
 
:See [[Artwork]].
 
:See [[Artwork]].
  
===== Are there any control panels available for OpenVZ? =====
+
===== What kind of documentation is available? =====
:See [[Control_panels]].
 
  
===== What are the Basic commands for Open VZ? =====
+
:Aside from this wiki, which contains lots of information, you can check extensive [[Man|manual pages]] and [http://docs.openvz.org Virtuozzo documentation].
[http://vps-webhosting.net/basic-commands-for-open-vz Basic Commands for OpenVZ.]
 
  
== Installation and upgrade ==
+
===== Who needs OpenVZ? How it can be used? =====
 +
:See [[Use cases]].
  
===== What hardware is supported by OpenVZ kernel? =====
+
===== How scalable is OpenVZ? =====
:See [http://www.parallels.com/en/products/virtuozzo/hcl/ Virtuozzo HCL].
 
  
===== Why there are different kernel flavours available and what do they mean? =====
+
OpenVZ technology scales as well as standard Linux kernel — up to thousands of CPUs and terabytes of RAM. Read more about [[WP/Containers_density|OpenVZ containers density]] and [[performance]].
:See [[Different kernel flavors (UP, SMP, ENTERPRISE, ENTNOSPLIT)]].
 
  
===== How do I rebuild the kernel? =====
+
== Installation and upgrade ==
:See [[Kernel build]].
 
  
===== What does 021stab018 in OpenVZ kernel version mean? =====
+
===== How to install OpenVZ? =====
:See [[Kernel versioning]].
 
  
===== How can I check package signatures? =====
+
There are two versions of OpenVZ available:
:See [[Package signatures]].
 
  
===== Is it possible to run x86 container on a x86_64 arch? =====
+
* [[Roadmap|stable version]]: OpenVZ legacy (based on RHEL5 and RHEL6 kernels).
:Sure :) We actually did some work on that to enable migration of x86 container from x86 to x86_64 and back, and to enable using 32-bit iptables in 32bit container on an x86_64 system.
+
* [[Roadmap|development version]]: [[Virtuozzo]] Linux distribution based on RHEL7 kernel.
  
===== What filesystems should I choose for saving my containers? =====
+
See [[Quick installation]]
: The safest choice is ext2/3 to save your containers. Remember that ReiserFS is less stable than ext2/3.
 
: If you choose to use XFS, there will be no support for disk quota inside containers.
 
  
== Networking ==
+
===== What hardware is supported by OpenVZ kernel? =====
 
+
:See [https://hardware.redhat.com/ RHEL Hardware Compatibility List].
===== How do I set up VPN for a container? =====
 
:See [[VPN via the TUN/TAP device]].
 
 
 
===== What is veth and how do I use it? =====
 
:See [[Virtual Ethernet device]].
 
 
 
===== Why doesn't net-snmpd work on my containers? =====
 
:See [[SNMPD in container]].
 
 
 
== User Beancounters (UBC) ==
 
 
 
===== What are those User Beancounters? =====
 
See [[UBC]].
 
 
 
===== What units are UBC parameters measured in? =====
 
See [[UBC parameter units]].
 
 
 
===== How do I set up a container which is able to get X Mb of RAM? =====
 
See [[Setting UBC parameters]].
 
 
 
===== I can not start a program in container: it reports out of memory. What do I do? =====
 
See [[Resource_shortage]].
 
 
 
===== How can I reset <code>failcnt</code> in <code>/proc/user_beancounters</code>? =====
 
See [[UBC failcnt reset]].
 
 
 
== Troubleshooting ==
 
===== My kernel crashed. What should I do? =====
 
:See [[When you have an oops]].
 
 
 
===== I see a lot of processes in D state. What does that mean? =====
 
:See [[Processes in D state]].
 
  
== Quick reference card for OpenVZ ==
+
===== How existing OpenVZ users can upgrade to the [[Virtuozzo|new version]]? =====
{{PDFlink|[http://pronics.fi/~eero/mirrors/openvz-reference-card.pdf openvz-reference-card.pdf]}}
+
While there is no in-place upgrade, we prepared [[Upgrade_script_from_OpenVZ_to_Virtuozzo_7|upgrade script]] for OpenVZ users to move their containers to the new platform. The script allows to transfer containers from old to new OpenVZ version (or from OpenVZ to Virtuozzo).

Latest revision as of 10:18, 9 January 2021

General[edit]

So what is Virtuozzo?[edit]

Virtuozzo is a Linux based virtualization platform, combining container and hypervisor virtualization, into a single product. While primarily built for service providers to run cloud services and applications, it is used by variety of businesses, including MSP, SMB and Enterprises.

What is OpenVZ and how it compares to Virtuozzo?[edit]

OpenVZ is a free and opensource portion of Virtuozzo. It includes core of Virtuozzo functionality, like kernel and command line management tools for creating and managing containers. Virtuozzo includes everything that OpenVZ does, plus additional features and services available with the commercial version only.

How does Virtuozzo 7/OpenVZ pair compares to its predecessor (Virtuozzo versions 4.x and 6/OpenVZ)[edit]

Previously, OpenVZ and Virtuozzo were built out of the same code base with some unique patches applied. That warranted the user interfaces to be similar but not identical. With Virtuozzo 7, the compatibility will be on the binary level - effectively the open source components will be the same between OpenVZ and Virtuozzo.

How OpenVZ users will benefit from it?[edit]

OpenVZ components will be undergoing the same testing procedures as the commercial product. Also, some new features previously available on Virtuozzo only (notably hypervisor) will become available on the product built for OpenVZ community users.

What support options are available for Virtuozzo 7?[edit]

For the moment, only preview (beta) versions of Virtuozzo 7 are available. They are intended for development and testing only, not for production. Virtuozzo 7 is not yet commercially supported. For supported commercial version, please refer to Virtuozzo 6.

Why I need Virtuozzo/OpenVZ when LXC exist?[edit]

See our comparison of different virtualization solutions.

When OpenVZ will be in upstream kernel?[edit]

Our kernel developers work hard to merge containers functionality into the upstream Linux kernel, making OpenVZ team the biggest contributor to Linux Containers (LXC) kernel, with features such as PID and network namespaces, memory controller, checkpoint-restore and much more.


I want to show my appreciation to OpenVZ and put some logo to my site. Where to get it?[edit]
See Artwork.
What kind of documentation is available?[edit]
Aside from this wiki, which contains lots of information, you can check extensive manual pages and Virtuozzo documentation.
Who needs OpenVZ? How it can be used?[edit]
See Use cases.
How scalable is OpenVZ?[edit]

OpenVZ technology scales as well as standard Linux kernel — up to thousands of CPUs and terabytes of RAM. Read more about OpenVZ containers density and performance.

Installation and upgrade[edit]

How to install OpenVZ?[edit]

There are two versions of OpenVZ available:

See Quick installation

What hardware is supported by OpenVZ kernel?[edit]
See RHEL Hardware Compatibility List.
How existing OpenVZ users can upgrade to the new version?[edit]

While there is no in-place upgrade, we prepared upgrade script for OpenVZ users to move their containers to the new platform. The script allows to transfer containers from old to new OpenVZ version (or from OpenVZ to Virtuozzo).