Editing User Guide/OpenVZ Philosophy

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 17: Line 17:
 
=== OpenVZ Applications ===
 
=== OpenVZ Applications ===
  
OpenVZ provides a comprehensive solution allowing to:
+
OpenVZ provides a comprehensive solutionm allowing to:
 
* Have hundreds of users with their individual full-featured containers sharing a single physical server;
 
* Have hundreds of users with their individual full-featured containers sharing a single physical server;
 
* Provide each user with a guaranteed Quality of Service;
 
* Provide each user with a guaranteed Quality of Service;
Line 27: Line 27:
 
* Each Container can have its own configuration for the system and application software, as well as its own versions of system libraries. It is possible to install or customize software packages inside a container independently from other CTs or the host system. Multiple distributions of a package can be run on one and the same Linux box.
 
* Each Container can have its own configuration for the system and application software, as well as its own versions of system libraries. It is possible to install or customize software packages inside a container independently from other CTs or the host system. Multiple distributions of a package can be run on one and the same Linux box.
  
In fact, hundreds of servers may be grouped together in this way. Besides the evident advantages of such consolidation (increased facility of administration and the like), there are some you might not even have thought of, say, cutting down electricity bills by many times!
+
In fact, hundreds of servers may be grouped together in this way. Besides the evident advantages of such consolidation (increased facility of administration and the like), there are some you might not even have thought of, say, cutting down electricity bills by times!
  
 
OpenVZ proves invaluable for IT educational institutions that can now provide every student with a personal Linux server, which can be monitored and managed remotely. Software development companies may use Containers for testing purposes and the like.
 
OpenVZ proves invaluable for IT educational institutions that can now provide every student with a personal Linux server, which can be monitored and managed remotely. Software development companies may use Containers for testing purposes and the like.
Line 69: Line 69:
 
== Main Principles of OpenVZ Operation ==
 
== Main Principles of OpenVZ Operation ==
  
=== Basics of OpenVZ Technology ===
+
=== Basics of OpenVZ Technology ==
  
 
In this section we will try to let you form a more or less precise idea of the way the OpenVZ software operates on your computer. Please see the figure.
 
In this section we will try to let you form a more or less precise idea of the way the OpenVZ software operates on your computer. Please see the figure.
  
[[Image:OpenVZ technology.png|thumb|500px|Figure 1. OpenVZ technology]]
+
[[Image:OpenVZ technology.png]]
  
 
This figure presumes that you have a number of physical servers united into a network. In fact, you may have only one dedicated server to effectively use the OpenVZ software for the needs of your network. If you have more than one OpenVZ-based physical server, each one of the servers will have a similar architecture. In OpenVZ terminology, such servers are called ''Hardware Nodes'' (or just ''Nodes''), because they represent hardware units within a network.
 
This figure presumes that you have a number of physical servers united into a network. In fact, you may have only one dedicated server to effectively use the OpenVZ software for the needs of your network. If you have more than one OpenVZ-based physical server, each one of the servers will have a similar architecture. In OpenVZ terminology, such servers are called ''Hardware Nodes'' (or just ''Nodes''), because they represent hardware units within a network.
Line 91: Line 91:
 
The OpenVZ software allows you to flexibly configure various settings for the OpenVZ system in general as well as for each and every Container. Among these settings are disk and user quota, network parameters, default file locations and configuration sample files, and others.
 
The OpenVZ software allows you to flexibly configure various settings for the OpenVZ system in general as well as for each and every Container. Among these settings are disk and user quota, network parameters, default file locations and configuration sample files, and others.
  
OpenVZ stores the configuration information in two types of files: the global configuration file <code>/etc/vz/vz.conf</code> and Container configuration files <code>/etc/vz/conf/''CTID''.conf</code>. The global configuration file defines global and default parameters for Container operation, for example, logging settings, enabling and disabling disk quota for Containers, the default configuration file and OS template on the basis of which a new Container is created, and so on. On the other hand, a Container configuration file defines the parameters for a given particular Container, such as disk quota and allocated resources limits, IP address and host name, and so on. In case a parameter is configured both in the global OpenVZ configuration file, and in the Container configuration file, the Container configuration file takes precedence. For a list of parameters constituting the global configuration file and the Container configuration files, see {{man|vz.conf|5}} and {{man|ctid.conf|5}} manual pages.
+
OpenVZ stores the configuration information in two types of files: the global configuration file <code>/etc/vz/vz.conf</code> and Container configuration files <code>/etc/vz/conf/''CTID''.conf</code>. The global configuration file defines global and default parameters for Container operation, for example, logging settings, enabling and disabling disk quota for Containers, the default configuration file and OS template on the basis of which a new Container is created, and so on. On the other hand, a Container configuration file defines the parameters for a given particular Container, such as disk quota and allocated resources limits, IP address and host name, and so on. In case a parameter is configured both in the global OpenVZ configuration file, and in the Container configuration file, the Container configuration file takes precedence. For a list of parameters constituting the global configuration file and the Container configuration files, see {{man|vz.conf|5}} and {{man|vps.conf|5}} manual pages.
  
 
The configuration files are read when the OpenVZ software and/or Containers are started. However, OpenVZ standard utilities, for example, <code>vzctl</code>, allow you to change many configuration settings "on-the-fly", either without modifying the corresponding configuration files or with their modification (if you want the changes to apply the next time The OpenVZ software and/or Containers are started).
 
The configuration files are read when the OpenVZ software and/or Containers are started. However, OpenVZ standard utilities, for example, <code>vzctl</code>, allow you to change many configuration settings "on-the-fly", either without modifying the corresponding configuration files or with their modification (if you want the changes to apply the next time The OpenVZ software and/or Containers are started).

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)