Validating Container ConfigurationThe system resource control parameters have complex interdependencies. The violation of these interdependencies can be catastrophic for the Container. In order to ensure that a Container does not break them, it is important to validate the Container configuration file before creating Containers on its basis. The typical validation scenario is shown below: # vzcfgvalidate /etc/vz/conf/101.conf Error: kmemsize.bar should be > 1835008 (currently, 25000) Recommendation: dgramrcvbuf.bar should be > 132096 (currently, 65536) Recommendation: othersockbuf.bar should be > 132096 \ (currently, 122880) # pctl set 101 --kmemsize 2211840:2359296 --save Saved parameters for Container 101 # vzcfgvalidate /etc/vz/conf/101.conf Recommendation: kmemsize.lim-kmemsize.bar should be > 163840 \ (currently, 147456) Recommendation: dgramrcvbuf.bar should be > 132096 (currently, 65536) Recommendation: othersockbuf.bar should be > 132096 \ (currently, 122880) Validation completed: success The utility checks constraints on the resource management parameters and displays all the constraint violations found. There can be three levels of violation severity:
In the scenario above, the first run of the
|
||||||||||
|