Re: [Users] CT live migration stages duration

2017-01-23 Thread knawnd
Scott, Kir, thank you both for prompt reply! Kir, thank you for the explanation! Best regards, Nikolay. Kir Kolyshkin wrote on 23.01.2017 19:50: On 01/22/2017 11:56 PM, kna...@gmail.com wrote: Hello all! I'd like to do some research on how long each stage of OpenVZ CT live migration takes.

[Users] CT live migration stages duration

2017-01-23 Thread knawnd
Hello all! I'd like to do some research on how long each stage of OpenVZ CT live migration takes. I wonder if there is any single source of such information with particular timestamps? So far as I understood "-v" flag in vzmigrate command can't help me much with what I'd like to achieve. "-t"

[Users] infiniband support in openvz containers

2016-07-01 Thread knawnd
Hello all! I am trying to evaluate a possibility to dynamically deploy HPC clusters in the cloud using OpenVZ containers and Infiniband (IB). I couldn't found on the web a proper way to do that. What I would like to achieve is the same functionality as one can get with ethernet NIC but with IB

Re: [Users] split traffic between two venet

2015-10-28 Thread knawnd
Kir Kolyshkin wrote on 27/10/15 19:36: On 10/27/2015 12:26 AM, kna...@gmail.com wrote: Hello! I wonder if it is possible to implement the following scenario using venet but not veth device. There is a server with two network interfaces eth0 and eth1. Eth0 is connected to public network, eth1

[Users] split traffic between two venet

2015-10-27 Thread knawnd
Hello! I wonder if it is possible to implement the following scenario using venet but not veth device. There is a server with two network interfaces eth0 and eth1. Eth0 is connected to public network, eth1 - to private one. There is also venet0 interface on that host. CT running on that host

Re: [Users] problem with iptables inside VE

2014-05-13 Thread knawnd
Hello, Sergey! Another assumption: if you use vzctl-4.7.x and have NETFILTER [1] parameter set to stateless in container's config file then try to change it to full. Best regards, Nikolay. [1] https://github.com/kolyshkin/vzctl/commit/9b8afa654945acc6d3bd782f622aaf9c54e4e87b On 05/14/14

Re: [Users] libvirt

2013-05-31 Thread knawnd
We arealso interested in using OpenVZ via libvirt. Together with our colleagues from another organization we are using local private cloud infrastructures based on OpenNebula. OpenNebula doesn't have yet native support of OpenVZ. So we had to develop own OpenVZ driver for OpenNebula and update

Re: [Users] OpenNode

2012-11-12 Thread knawnd
Hi Benjamin, I am using OpenNebula with OpenVZ driver [1]. Regards, Nikolay. [1] https://bitbucket.org/gribozavr/opennebula-openvz/wiki/Home Benjamin Henrion wrote on 12/11/12 19:19: Hi, Just discovered this: http://opennodecloud.com/downloads/source-code/ Anyone has ever tried?

[Users] modify ploop-based container's fs

2012-08-26 Thread knawnd
Dear list, I need to make some changes in container's fs before starting it. Is there any way to do that for ploop-based VPS? E.g. to mount its fs on the host somehow? Thanks in advance, Nikolay. ___ Users mailing list Users@openvz.org

[Users] OpenVZ adapter for OpenNebula

2011-09-22 Thread knawnd
Dear community, I would like to share what I did to make OpenVZ-based VMs work in OpenNebula (opennebula.org). Current OpenVZ adapter release (version 1.0.0) is for OpenNebula-2.2.1 (current latest stable). The instruction can be found at http://wiki.opennebula.org/openvz4opennebula.

Re: [Users] yum: [Errno -3] Error performing checksum

2011-09-16 Thread knawnd
Kir Kolyshkin wrote on 16/09/11 10:35: Also, if you don't want to wait for mirrors, comment out 'mirrorlist=' line and uncomment 'baseurl=' line in [openvz-utils] entry in /etc/yum.repos.d/openvz.repo, so it will look like this: That's exactly what I did. Thanks, Kir! Regards, Nikolay.

[Users] yum: [Errno -3] Error performing checksum

2011-09-15 Thread knawnd
Hi! OpenVZ mirrors are not available: $ wget http://download.openvz.org/openvz.repo -P /etc/yum.repos.d/ $ date; yum repolist Fri Sep 16 08:36:47 MSK 2011 Loaded plugins: kernel-module openvz-utils/primary | 2.7 kB 00:00

[Users] reason to keep destroyed ctid.conf files

2011-08-25 Thread knawnd
Hi! I wonder what the reason to keep destroyed containers config files (/etc/vz/conf/ctid.conf.destroyed is? Is there any vzctl parameter to remove all container's files completely including its configs? Regards, Nikolay. ___ Users mailing list

[Users] permission denied error on CT rc.local script to add custom commands by regular user with full root rights granted via sudo

2011-06-25 Thread knawnd
Hi! I need to add in script some custom commands into /etc/rc.local file located in CT filesystem in order to execute them on CT start up. It needs to be done under regular user with full root rights granted via sudo. But permission denied error appears. $ sudo echo # oneadmin test

Re: [Users] permission denied error on CT rc.local script to add custom commands by regular user with full root rights granted via sudo

2011-06-25 Thread knawnd
Sharp wrote on 25/06/11 21:14: On Sat, Jun 25, 2011 at 8:56 PM,kna...@gmail.com wrote: $ sudo echo # oneadmin test /vz/private/164/etc/rc.d/rc.local -bash: /vz/private/164/etc/rc.d/rc.local: Permission denied Does someone have any ideas what can be the reason of insufficient privileges for

Re: [Users] possible container states/statuses

2011-05-17 Thread knawnd
Kir Kolyshkin wrote on 16/05/11 22:48: Generally speaking, all the states (words) are independent, with a few exceptions (mostly obvious and logical): 1. Running CT can't be unmounted. 2. Deleted CT can't be mounted or running or suspended (or so I think, might be wrong here — if you

Re: [Users] how to get the current HN CPU utilization by particular CT

2011-05-17 Thread knawnd
Tim Small wrote on 16/05/11 17:59: On 14/05/11 09:27, kna...@gmail.com wrote: As far as I understand in order to determine HN CPU load produced by certain CT it is enough to extract 'user', 'system' and 'uptime' values from /proc/vz/vestat twicely. Then the formula is

Re: [Users] possible container states/statuses

2011-05-16 Thread knawnd
Thanks everyone who replied! Nikolay. Kristian Marcroft wrote on 16/05/11 23:18: Hi, Am 16.05.2011 15:43, schrieb kna...@gmail.com: So I tried to summarize possible CT states as the following ('+' means states is possible and '-' it is impossible): exist mounted down (-)

Re: [Users] how to get the current HN CPU utilization by particular CT

2011-05-14 Thread knawnd
As far as I understand in order to determine HN CPU load produced by certain CT it is enough to extract 'user', 'system' and 'uptime' values from /proc/vz/vestat twicely. Then the formula is ct_cpu_usage=100%*[(user_time_2 + system_time_2) - (user_time_1 + system_time_1)] / (uptime_2 -

[Users] Re: how to get the current HN CPU utilization by particular CT

2011-05-13 Thread knawnd
kna...@gmail.com wrote on 12/05/11 18:19: Hi! Sorry if that question has been already asked and answered before but I couldn't found the reply. just have found two threads on the OpenVZ forum: [1] http://forum.openvz.org/index.php?t=msgth=682 [2] http://forum.openvz.org/index.php?t=msgth=479

Re: [Users] how to get the current HN CPU utilization by particular CT

2011-05-13 Thread knawnd
Tim, thanks a lot for reply and info! Using all info I have now I will try to write what I need. Thanks again! Nikolay. Tim Small wrote on 13/05/11 16:46: I can't remember how I derived it, but you might want to take a look at this munin plugin which I wrote a few months back:

[Users] how to get the current HN CPU utilization by particular CT

2011-05-12 Thread knawnd
Hi! Sorry if that question has been already asked and answered before but I couldn't found the reply. I wonder what the proper way is to determine the current HN CPU utilization by particular container? I need to know what percentage from total hardware node CPU power a certain CT consumes.

Re: [Users] /usr/sbin/vzmigrate: line 312: vzctl: command not found

2011-05-11 Thread knawnd
updating vzctl to 3.0.26.3-1 fixes the described issue. Thanks! Nikolay. Kirill Kolyshkin wrote on 10/05/11 19:33: The issue you are describing is believed to be fixed in vzctl 3.0.26.3 which was released 2 days ago :) ___ Users mailing list

Re: [Users] /usr/sbin/vzmigrate: line 312: vzctl: command not found

2011-05-11 Thread knawnd
Dear Ekaterina, Thanks for a hint! Nikolay. Ekaterina.epifanova wrote on 10/05/11 19:16: Hello. You can define LC_ENV in env_keep variable in sudoers file. In this case root PATH will be saved during sudo-session. ___ Users mailing list

Re: [Users] custom location for OS template

2011-05-10 Thread knawnd
Kir Kolyshkin wrote on 08/05/11 03:37: On 05/03/2011 04:17 PM, kna...@gmail.com wrote: Is there any way to specify a location for os templates? The default one is written in /etc/vz/vz.conf as template=/vz/template but I would like to have a possibility to specify the custom one e.g. with

[Users] /usr/sbin/vzmigrate: line 312: vzctl: command not found

2011-05-10 Thread knawnd
Hi! I am trying to migrate a VM from one remote node to another one but invoking vzmigrate command from third machine (front-end). Something like [front-end]$ ssh remote_host_1 sudo /usr/sbin/vzmigrate --online remote_host_2CTID But I am getting the following error when executing the command