Re: [Users] Simple OpenVZ load average aggregation script
Also, as a side note, I'm really really good at reading man pages. (What I really mean is I'm not) Thanks guys! PS: Mine has color :P On Mon, Mar 5, 2012 at 6:52 PM, Martynas Venckus wrote: > vzlist -o veid,hostname,laverage > > On 3/6/12, Kir Kolyshkin wrote: > > If I am not mistaken (can't check right now), vzlist have a field for > that. > > On Mar 6, 2012 3:27 AM, "Steven Crothers" > wrote: > > > >> I needed something to show me load averages of each individual VE > quickly. > >> > >> Figured I would share it with the community in case someone else was > >> looking for similar functionality. > >> > >> https://gist.github.com/1981920 > >> > >> Disclaimer: Yes, I'm aware I probably don't follow bash best practices, > >> however I don't really care since its under 50 lines anyway :) > >> > >> -- > >> Steven Crothers > >> steven.croth...@gmail.com > >> > >> > >> ___ > >> Users mailing list > >> Users@openvz.org > >> https://openvz.org/mailman/listinfo/users > >> > >> > > > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > -- Steven Crothers steven.croth...@gmail.com ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
[Users] Simple OpenVZ load average aggregation script
I needed something to show me load averages of each individual VE quickly. Figured I would share it with the community in case someone else was looking for similar functionality. https://gist.github.com/1981920 Disclaimer: Yes, I'm aware I probably don't follow bash best practices, however I don't really care since its under 50 lines anyway :) -- Steven Crothers steven.croth...@gmail.com ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] HELP:How can one VM interrupt another running VM ??
Why does this request sound malicious? On Tue, May 3, 2011 at 3:58 PM, shule ney wrote: > Hi all: > I was wondering how can I use one VM to interrupt another running VM, is > there any schedular surpport this function, or any control I can use > to implement it. For OpenVZ, is it possible to achieve this? > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > > -- Steven Crothers steven.croth...@gmail.com ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] OpenVZ as Kernel modules
No. On all counts. OpenVZ doesn't get much easier than "yum install ovzkernel"... not really sure what you're talking about.. On Wed, Jul 28, 2010 at 7:59 AM, Peter Senna Tschudin wrote: > Dear list members, > > Why OpenVZ is not implemented as loadable Kernel modules? Is it possible? > > Would not this make OpenVZ ultra flexible and may make it widely > available to new users? > > Regards, > > Peter > > -- > Peter Senna Tschudin > peter.se...@gmail.com > gpg id: 48274C36 > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > -- Steven Crothers steven.croth...@gmail.com ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] man vzctl wrong?
You can always submit a patch to include the relevant data to the mailing list if its not fully documented. However vzctl hasn't been updated in some time I don't believe since its pretty feature complete. So updates will be few and far between. The latest development from what I can tell has been in the kernel and supporting newer kernels. On Fri, Jul 9, 2010 at 5:59 AM, Ismael Zarco wrote: > Hi, i don't see any information of flags --suspend, --restore or --kill in > man page. > > In the wiki page http://wiki.openvz.org/Checkpointing_and_live_migrationwe > can see examples of use "vzctl chkpnt VEID --suspend", "vzctl chkpnt VEID > --kill", "vzctl chkpnt VEID --resume". > Where is this info? > > -- > -- > > Ismael Zarco Lamas > > Administrador de Sistemas > > Interdix Galicia > > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] monitor VE ressources usage
I remember a vztop someone made a long while ago... but I don't think it works anymore (and I don't remember where the source was located). Other than that, no there is no other feature like that, that I am aware of. -Original Message- From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of jehan procaccia Sent: Monday, April 19, 2010 11:30 AM To: openvzusers Subject: [Users] monitor VE ressources usage hello, I'am not used to openvz monitoring ... is there a synthetic way to see what CPU and Memory usage each container takes ? I'am from linux-vservers where I could find the utility vserver-stat very usefull in that matter, is there a equivalent in openvz ? # vserver-stat CTX PROCVSZRSS userTIME sysTIMEUPTIME NAME 3613 238 582.1M 228.2M 2h48m18 1h17m05 11d01h26 cas1 374616 0.9G 382.3M 45m17s66 10m11s12 11d01h26 ldapmaster2 3747 110 825.1M 407.5M 51m13s26 16m52s66 11d01h25 mutuel2 380169 1.1G 336.5M 3m30s67 1m48s87 11d01h12 shibidp1 700921 770.5M 454.5M 27m51s44 2m31s41 11d01h26 cours3 there's also vtop, vps etc ... Thanks . ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] centos 5.4 template in rpm or yum , miss metadata ?
My understanding is that vztmpl is no longer maintained. -Original Message- From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of mattias Sent: Tuesday, April 13, 2010 7:22 AM To: jehan.procac...@it-sudparis.eu; users@openvz.org Subject: Re: [Users] centos 5.4 template in rpm or yum , miss metadata ? sorry if i use this thread but how to use the vztmpl via yum no config files or something - Original Message - From: "jehan procaccia" To: Sent: Tuesday, April 13, 2010 12:39 PM Subject: [Users] centos 5.4 template in rpm or yum , miss metadata ? > On a fedora-11 (32 bits) host openVZ system I want to run a centos5.4 VPS, > but apparently it is not available by default :-( > > # yum search vztmpl > vztmpl-centos-4.i386 > vztmpl-fedora-7.i386 ...etc .. but no centos-5 ! > > did I miss something in the openvz.repo !? > > alternatively, I tried to use precreated template as mention here: > http://wiki.openvz.org/OS_template_cache_preparation#Alternative:_use_precre ated_template_cache > > I downloaded 2 tar.gz of centos5 > # ls /vz/template/cache/ > centos-5-i386-default-5.4-20100412.tar.gz centos-5-x86.tar.gz > > I can create a VPS based on those precreated template, but it seems to > miss the template metadata or something > if I want to update my freshly installed VPS I get: > # vzyum 21230 update > ERROR: No such OS template: update > > vzpkgls doesn't return anything :-( > # vzpkgls > > Did I miss something ? > > Regards . > ___ > Users mailing list > Users@openvz.org > https://openvz.org/mailman/listinfo/users > ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] libvirt progress
Perhaps this question is better suited to the libvirt list? Since OpenVZ does nothing to support libvirt afaik... -Original Message- From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of Nathan Stratton Sent: Tuesday, March 30, 2010 9:41 PM To: users@openvz.org Subject: [Users] libvirt progress Is there anyone on this list that can update me on the progress of libvirt integration with openvz? With the latest libvirt I am able to start and stop a domain that is defined with a openvz config file, but I have not yet been able to migrate to full libvirt control As an example migration does not seam to work at all. Any help would be greatly appreciated, in fact, we are willing to pay to get this fixed. ><> Nathan StrattonCTO, BlinkMind, Inc. nathan at robotics.net nathan at blinkmind.com http://www.robotics.nethttp://www.blinkmind.com ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] Cannot stop or restart container
What template are you using and where did you get it from? I recently had a similar result from an Archlinux template, however I would need to know more about the container to be able to relate it to my case. Can you vzctl enter it? -Original Message- From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of Gregor at HostGIS Sent: Tuesday, March 30, 2010 3:53 PM To: OpenVZ Maling List Subject: [Users] Cannot stop or restart container Hey guys. I reported a bug some months ago, not being able to stop and restart a container, getting a timeout instead. When I reported the bug months ago, I was unable to replicate it at the time. But here it is once again: I cannot stop or restart the VE. This clip shows the results which I see: # vzctl restart Customer Restarting container Stopping container ... Unable to stop container: operation timed out # vzlist Customer CTID NPROC STATUS IP_ADDR HOSTNAME 84 3 running - Customer The 3 processes, I don't know what they are but they may be related to this, and may be a clue: After the initial vzctl restart, it got down to 1 process before it timed out. I ran "vzctl exec Customer ps ax" and now I notice that the NPROC increments each time I do this. However from the HN, "ps ax | grep ps" only shows the one 'ps' which I am running, not the ones in the VE. Any thoughts on how I can finally stop this thing and restart it? Note that this is a production HN with production VEs, so rebooting it is not an attractive option. HN OS is Fedora 9 Kernel is 2.6.24.ovz009.1 vzctl-3.0.23-1.x86_64 vzctl-lib-3.0.23-1.x86_64 -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Server+ A+ Security+ Linux+ PHP PostgreSQL MySQL DHTML/JavaScript/AJAX "No one cares if you can back up - only if you can recover." ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] question
Mattias, Debian would not affect your ability to setup a mail server, such talk is very close to spreading FUD. Please stick to the facts. -Original Message- From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of mattias Sent: Friday, March 26, 2010 2:27 AM To: users@openvz.org Subject: SV: [Users] question Ai meen Under openvz with debian as host it whas inpossible to setup a mail server under openvz -Ursprungligt meddelande- Från: users-boun...@openvz.org [mailto:users-boun...@openvz.org] För Gregor at HostGIS Skickat: den 25 mars 2010 22:46 Till: users@openvz.org Ämne: Re: [Users] question mattias wrote: > Only a short question > Are openvz customed to run on rhel / centos and not debian Iven if > there are packages for debian Are you asking whether you can run OpenVZ on RHEL and CentOS? The answer is yes. Are you asking whether you can run RHEL and CentOS inside OpenVZ containers? The answer is also yes to CentOS, and I don't know ahout RHEL. > I meen Now i run a mail server with openvz > Not hard to setup on rhel > But on debian On debian it was inpossible How do you mean? You set up OpenVZ, then ran a Debian container, and tried to set up mail in Debian? I couldn't help you there, as I don't know Debian. But I do run a dozen mail servers all under OpenVZ, and can say that OpenVZ does not cause any new problems for hosting email. If you can host a mail server on CentOS, then you can host it on CentOS inside OpenVZ. -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Server+ A+ Security+ Linux+ PHP PostgreSQL MySQL DHTML/JavaScript/AJAX "No one cares if you can back up only if you can recover." ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] Mail server
Utilizing a MySQL socket is irrelevant to the date you posted in your first reply. A MySQL socket would not interact with, or modify the results of /etc/network/interfaces. All mail servers are started as a "system" or "root" user, then they drop their permission after they have bound to the socket, so also irrelevant data. -Original Message- From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of mattias Sent: Wednesday, March 17, 2010 4:44 PM To: users@openvz.org Subject: SV: [Users] Mail server Do you run with sql or system user? -Ursprungligt meddelande- Från: users-boun...@openvz.org [mailto:users-boun...@openvz.org] För John Drescher Skickat: den 17 mars 2010 21:30 Till: users@openvz.org Ämne: Re: [Users] Mail server > Is that a question or a statement...? Mail servers run 100% correctly > in my experience in OpenVZ containers, perhaps your container template > or hostnode is improperly configured? > Same here. I have had no issue with mail servers running under openvz. John ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] Mail server
Is that a question or a statement...? Mail servers run 100% correctly in my experience in OpenVZ containers, perhaps your container template or hostnode is improperly configured? -Original Message- From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of mattias Sent: Wednesday, March 17, 2010 3:58 PM To: users@openvz.org Subject: [Users] Mail server Don't try to install a mail server based on mysql You only recive errors like /etc/network/interfaces no souch file or directory ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users