Tag: Virtuozzo
Virtuozzo : How do I get amount of network traffic consumed by a Container?
by dino on Feb.05, 2010, under Virtuozzo
f you have Service Container running on a hardware node then you may use the utility ‘vza_ve_stat’ to obtain amount of network traffic consumed by any container on a node.
Usage:
vza_ve_stat user@host ctid start_time [end_time]
where:
user – vzagent0
host – IP address of Service Container on a hardware node
ctid – ID of container in question
start_time and end_time define period you want to get traffic for.
Please note that start_time and end_time should be entered in the following format: 2000-01-01T12:00:00+0400
You may need to install the package ‘perl-XML-Parser’ (e.g. using ‘yum install perl-XML-Parser’ command on a server) if you get the error “Can’t locate XML/Parser.pm in @INC”.
For example, to obtain traffic of the container #101 for the period from 01 Jan 2010 up to the current moment the command would be:
# vza_ve_stat vzagent0@10.55.40.1 101 2010-01-01T00:00:00+0000
vzagent0@10.55.40.1's password:
bytes in = 69447065 packets in = 385929 bytes out = 755800760 packets out = 649168
You may also get information about network traffic using PMC (Parallels Management Console):
1. double click on the needed container
2. in the opened window go to Monitor > Traffic Summary
3. Choose needed period of time and click ‘Download’
The same can be done in PIM (Parallels Infrastructure Manager):
1. Open PIM
2. Go to Infrastructure manager > Virtual Private Servers > choose needed container > Network > Traffic Usage
[How to] How to configure containers to not apply Microsoft updates installed on Virtuozzo host.
by dino on May.23, 2009, under Virtuozzo
Symptoms
By default Microsoft updates installed on Virtuozzo host are applied in containers during next containers start.
Resolution
If auto applying Microsoft updates in containers is unnecessary option it is possible to configure containers to not install updates even if its are on Virtuozzo host.
The following example shows how to disable this auto applying option for container 100:
vzcfgt set 100 DisableWindowsUpdates 1
If this option is set to “1″ no more windows updates will be applied to the container 100.
But you can still manually install or remove windows updates to this container by using Container Update Manager.
To find Container Update Manager click Start button on the node and go to All Programs, Parallels, Parallels Virtuozzo Containers.
The command below enables auto applying option for container 100:
vzcfgt set 100 DisableWindowsUpdates 0
Also it’s possible to disable auto applying option for all newly created containers on a node:
vzcfgt set 0 DisableWindowsUpdates 1
Note: If it’s necessary to enable the auto installation of windows updates back in containers you should re-configure each container separately.
APF installation error on VPS : unable to load iptables module (ip_tables), aborting.
by dino on Sep.29, 2008, under Virtuozzo
While installing APF on your VPS you get the following error :
apf(28442): {glob} status log not found, created
apf(28463): {glob} flushing & zeroing chain policies
apf(28463): {glob} firewall offline
apf(28500): {glob} activating firewall
apf(28551): {glob} unable to load iptables module (ip_tables), aborting.
apf(28500): {glob} firewall initalized
apf(28500): {glob} !!DEVELOPMENT MODE ENABLED!! – firewall will flush every 5 minutes.
You need to configure the APF for your VPS.
nano -w /etc/apf/conf.apf
modify
to
Restart APF
apf -r
Now you will be able to complete apf installation fine
Protected: Parallels Virtuozzo vzup2date error : [RPM] Dependencies conflict.
by dino on Sep.26, 2008, under Virtuozzo
