Open main menu

OpenVZ Virtuozzo Containers Wiki β

Intermediate UBC configurations

System administrators can produce more starting conïfigurations by multiplying the values taken from some existing configuration by the same number, or by combining 2 configurations into a new one. UBC derived configuration examples shows 2 examples of such configurations, derived from existing examples.

Scaling configurationsEdit

Multiplying all the confguration numbers by a number greater than 1 produces a configuration for more “heavy” load or applications (see example 2A). Multiplying by positive numbers less than 1 produces “lighter” configuration. Configurations produced by multiplying an existing configuration by a number greater than 1 will be consistent if the original configuration was consistent.

Caution: lighter configurations produced by multiplying some configuration by a number less than 1 may happen to be inconsistent (see UBC consistency check for more details about configuration consistency).

Intermediate configurationsEdit

It is also possible to produce intermediate configurations between the given two, combining the numbers with coefficients:

 

where  . Example labelled “0.5A+0.5B” (see UBC derived configuration examples) is such an intermediate configuration with  ½.

Intermediate configurations produced by this rule will be consistent if the original configurations were consistent.

Caution: configurations produced by summing configurations with arbitrary coefficients (not giving 1 in sum or not all positive) may produce inconsistent configurations.