Editing FAQ

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{Virtuozzo}}
+
== 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 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? =====
 +
:See [[Introduction to virtualization]].
 +
 
 +
===== How is OpenVZ secured & updated? =====
 +
:See [[Security]].
 +
 
 +
===== How scalable is OpenVZ? =====
  
== General ==
+
OpenVZ technology scales as well as standard Linux kernel — up to thousands of CPUs and terabytes 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. For example, containers can natively use up to all available CPUs which is different from hypervisor technology which requires special tricks like co-scheduling and even the best hypervisors are inefficient with more then 4-8 vCPUs.
  
===== So what is Virtuozzo? =====
+
===== How does OpenVZ improve efficiency of services? =====
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? =====
+
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.
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) =====
+
===== How does OpenVZ improve flexibility of services? =====
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? =====
+
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.
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? =====
+
===== What is the performance overhead? =====
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].
 
  
===== Why I need Virtuozzo/OpenVZ when LXC exist? =====
+
Near zero. There is no emulation layer, only security isolation, and all checking is done on the kernel level without context switching.
See our [[comparison]] of different virtualization solutions.
 
  
===== When OpenVZ will be in upstream kernel? =====
+
===== What are performance expectations? =====
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.
 
  
 +
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? =====
 +
:See [[Control_panels]]. [http://code.google.com/p/ovz-web-panel/ OVZ Web panel] is recommended.
  
 
===== What kind of documentation is available? =====
 
===== What kind of documentation is available? =====
  
:Aside from this wiki, which contains lots of information, you can check extensive [[Man|manual pages]] and [http://docs.openvz.org Virtuozzo documentation].
+
:Aside from this wiki, which contains lots of information, you can check extensive [[Man|manual pages]].
  
===== Who needs OpenVZ? How it can be used? =====
+
== Installation and upgrade ==
:See [[Use cases]].
+
 
 +
===== What hardware is supported by OpenVZ kernel? =====
 +
:See [http://www.parallels.com/en/products/virtuozzo/hcl/ Virtuozzo HCL].
 +
 
 +
===== Why there are different kernel flavours available and what do they mean? =====
 +
:See [[Different kernel flavors (UP, SMP, ENTERPRISE, ENTNOSPLIT)]].
 +
 
 +
===== How do I rebuild the kernel? =====
 +
:See [[Kernel build]].
 +
 
 +
===== What does 021stab018 in OpenVZ kernel version mean? =====
 +
:See [[Kernel versioning]].
 +
 
 +
===== How can I check package signatures? =====
 +
:See [[Package signatures]].
 +
 
 +
===== Is it possible to run x86 container on a x86_64 arch? =====
 +
: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.
 +
 
 +
===== What filesystems should I choose for saving my containers? =====
 +
: Currently, ext4 is recommended. Any filesystem which supports Unix style permissions is usable, such as Ext3 or ReiserFS. XFS works, but does not have support for disk quotas inside containers.
 +
 
 +
== Networking ==
 +
 
 +
===== 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]].
 +
 
 +
===== Can I use private IPs for my containers? =====
 +
:See [[NAT]].
 +
 
 +
== User Beancounters (UBC) ==
 +
 
 +
===== What are those User Beancounters? =====
 +
See [[UBC]].
 +
 
 +
===== What units are UBC parameters measured in? =====
 +
See [[UBC parameter units]].
  
===== How scalable is OpenVZ? =====
+
===== How do I set up a container which is able to get X Mb of RAM? =====
 +
See [[Setting UBC parameters]].
  
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]].
+
===== I can not start a program in container: it reports out of memory. What do I do? =====
 +
See [[Resource_shortage]].
  
== Installation and upgrade ==
+
===== How can I reset <code>failcnt</code> in <code>/proc/user_beancounters</code>? =====
 +
See [[UBC failcnt reset]].
  
===== How to install OpenVZ? =====
+
== Troubleshooting ==
 +
===== My kernel crashed. What should I do? =====
 +
:See [[When you have an oops]].
  
There are two versions of OpenVZ available:
+
===== I see a lot of processes in D state. What does that mean? =====
 +
:See [[Processes in D state]].
  
* [[Roadmap|stable version]]: OpenVZ legacy (based on RHEL5 and RHEL6 kernels).
+
===== My container cannot access the internet. What should I do? =====
* [[Roadmap|development version]]: [[Virtuozzo]] Linux distribution based on RHEL7 kernel.
 
  
See [[Quick installation]]
+
If you can ping the host node but receive an error similar to:
 +
<pre>
 +
[root@test /]# ping 8.8.8.8
 +
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
 +
From 192.168.1.1 icmp_seq=1 Destination Host Prohibited
 +
</pre>
  
===== What hardware is supported by OpenVZ kernel? =====
+
then likely the host node has an active firewall. Running the command 
:See [https://hardware.redhat.com/ RHEL Hardware Compatibility List].
 
  
===== How existing OpenVZ users can upgrade to the [[Virtuozzo|new version]]? =====
+
<pre>
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).
+
[root@host ~]# /etc/init.d/iptables stop
 +
iptables: Flushing firewall rules:                        [ OK  ]
 +
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
 +
iptables: Unloading modules:                              [ OK  ]
 +
</pre>   
 +
will turn it off. If that works, then you know iptables firewall needs to be configured.

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page:

Retrieved from "https://wiki.openvz.org/FAQ"