Re: [Users] Re: vzmigrate left me a zombie container

2010-08-12 Thread Gregor at HostGIS
I got this all the time on other containers, and nobody was ever able to diagnose it. Fortunately the issue was corrected by upgrading to the latest 2.6.18 kernel and the latest vzctl. But the kernel fix, as well as the "fix" for the frozen containers, was to reboot the HN. And the HN shutdown

Re: [Users] /etc/init.d/service stop

2010-07-25 Thread Gregor at HostGIS
So isn't it a global way to avoid killing the > processes of VEs from the host? Nope. A killall would include processes that run in containers. -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Server+ A+

Re: [Users] /etc/init.d/service stop

2010-07-25 Thread Gregor at HostGIS
When I type: /etc/init.d/ganglia-monitor stop On my Host physical server, it shuts down all the running "gmond" processes both in host and in my VEs. How can I avoid this? I don't know what ganglia is, but the issue sounds simple. my guess is that the init script is probably doing "killall gmon

Re: [Users] Distro necessity for OVZ

2010-06-10 Thread Gregor at HostGIS
Yes. My mini-OS boots first on the system and my application currently runs on the mini-OS. Then you should be able to port it over. Take a "tar" of the installed system, use it as a OpenVZ template by specifying it when you "vzctl create" a new VE, and well... start removing what's unnecessar

Re: [Users] Distro necessity for OVZ

2010-06-10 Thread Gregor at HostGIS
Do I always need a distro to run OpenVZ ? In my case, I don't use a distro but just kernel+initrd+my own application Do you mean, can you run your mini-OS as a guest within a OpenVZ container? Very probably! If your "not a distro" can boot and run on normal hardware, you should be able to: *

Re: [Users] fs capacity difference

2010-04-22 Thread Gregor at HostGIS
Richard Ray wrote: That is good to know but I did not do that The container is a vzdump restore Oh, okay. Dunno about that one then. How do I get the quota back in sync Shut down the VE. Rename or delete its quota file in /var/vzquota Start it up. The quota will be recalculated as it start

Re: [Users] fs capacity difference

2010-04-22 Thread Gregor at HostGIS
Why is the fs 37% filled on the hardware node and 75% filled on the container Your quota files are out of date. A very common cause of this, would be copying files directly into /vz/private/3251 from the HN. Copying directly into a VE's directory will bypass the quota calculation. For copyin

Re: [Users] Cannot stop or restart container

2010-04-02 Thread Gregor at HostGIS
Hey there. Thanks for the tip about vzps, Thorsten. We are still in that situation I described a few days ago, with a container which won't stop (operation timed out). vzps shows this. # vzps -E 84 ax VEID PID TTY STAT TIME COMMAND 84 32226 ?Z 0:00 [init ] Does this

Re: [Users] High Load

2010-04-02 Thread Gregor at HostGIS
how to know, wich proccess belong to wich container??? Use vzpid Example: To see that PHP process 18798 in your top output: vzpid 18798 A lot of system load may not be visible by 'top' though, particularly disk I/O. For this I use 'atop' which can do disk I/O, example: atop -dl 60 It's s

[Users] Cannot start container, error -12

2010-03-31 Thread Gregor at HostGIS
Hey guys. What does this mean? CT: 85: failed to start with err=-12 I've run it through Google, and get nothing specific: some folks upgraded their kernel, some folks rebooted and it went away, etc. Any advice on this? -- HostGIS, Open Source solutions for the global GIS community Greg Allens

Re: [Users] Cannot stop or restart container

2010-03-30 Thread Gregor at HostGIS
I found my bug report from October 2009 about not being able to stop containers. http://bugzilla.openvz.org/show_bug.cgi?id=1345 Back then we couldn't replicate it, and we chalked it up to "must have already been fixed" or to issues with the VE configs, but here it is today. Any ideas as to h

[Users] Cannot start container, error -12

2010-03-30 Thread Gregor at HostGIS
What does this mean? CT: 85: failed to start with err=-12 I see that -12 is ENOMEM. Does this really indicate that my HN is "full" and can't run anymore VEs? Also, can someone explain to me the proper usage of vzmemcheck and how to interpret its output? -- HostGIS, Open Source solutions for

Re: [Users] Cannot stop or restart container

2010-03-30 Thread Gregor at HostGIS
It gets locked up trying to stop nfsmount. I believe the problem is the virtual nic is down before the nfsmount tries to stop and nfsmount waits forever to close the connection to the server.. Interesting. No connections made here, though; no NFS or similar. Would that apply to open listening s

Re: [Users] Cannot stop or restart container

2010-03-30 Thread Gregor at HostGIS
Thorsten Schifferdecker wrote: and any entries logged in kern.log/dmesg as well ? Nope. Just the same message "CT: 85: failed to start with err=-12" -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Server

Re: [Users] Cannot stop or restart container

2010-03-30 Thread Gregor at HostGIS
What template are you using and where did you get it from? Slackware 11 I created it myself, based on a working system. This is the same template which we had used previously those months ago, when we weren't able to replicate the bug. Can you vzctl enter it? Nope. "enter into CT 84 fai

[Users] Cannot stop or restart container

2010-03-30 Thread Gregor at HostGIS
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 s

Re: [Users] question

2010-03-25 Thread Gregor at HostGIS
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 container

Re: SV: SV: [Users] Mail server

2010-02-25 Thread Gregor at HostGIS
SD :: Ventas wrote: And if so close this fuck slow list i think the only slow is you. Oh man, I was trying not to laugh at this whole thing, now there's coffee on my keyboard. Thanks Ventas! -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programm

Re: [Users] The list and a question

2010-02-23 Thread Gregor at HostGIS
Are the list slow? Do you mean, are questions answered quickly? It depends; I've had a few get same-day answers, a few get ignored. Just ask and find out. Can i run a mailserver on a openvz vps Absolutely. No ifs, no ands, no buts - just yes. I meen how to no how much disc space a vm has

Re: [Users] VE affecting all server node.

2010-02-23 Thread Gregor at HostGIS
Good answer, Solar! Some of your ideas may apply to our own situation, as well; we have a MySQL user causing some impact with constant queries. Questions: Can I mount a tmpfs under my simfs? I can't mount the whole VPS as tmpfs nor noatime, but a tmpfs under simfs sounds like a great solution

Re: [Users] VE affecting all server node.

2010-02-22 Thread Gregor at HostGIS
How can I limit this VPS to avoid the high load caused by the MySQL query. That would depend on whether it's IO or CPU that's the scarce resource. If it's CPU load, try the --cpuunits param to vzctl. This gives the VE a "priority" when the CPU is otherwise maxed out. Example: Give it a weight

Re: [Users] Re: Hosts not responding, kinda urgent

2010-02-20 Thread Gregor at HostGIS
I just left an arpsend job running in cron every 5 minutes. I tried that too, called it "garpd" But it didn't really help and eventually I stopped doing it. I've also had something like this happen when the firewall (wrongly) had an alias that was the same as the IP of a virtual node. Yeah

Re: [Users] Re: Hosts not responding

2010-02-20 Thread Gregor at HostGIS
Are you using the veth or vnet drivers? If it's vnet, I don't have a clue. I depend on IPv6 for a lot of things and vnet is not IPv6 veth Though it's IPv4, not 6. And it's very vanilla: static IPs in all VEs, no DHCP or SMB services at all. Often it's very transitive. Bridges tend to "st

Re: [Users] Re: Hosts not responding, kinda urgent

2010-02-20 Thread Gregor at HostGIS
It sounds like the switches they're attached to don't have the right arp information. Kinda what I thought, but why? Make sure proxy_arp is enabled, the sysctl is something like: net.ipv4.conf.eth1.proxy_arp = 1 Yep: net.ipv4.conf.lo.proxy_arp = 0 net.ipv4.conf.all.proxy_arp = 0 net.ipv4.co

Re: [Users] Re: Hosts not responding, kinda urgent

2010-02-19 Thread Gregor at HostGIS
Any ideas as to what could have caused this "outage" in the first place, and why sending a ping would have fixed it? I can supply some further info, which may be useful. * The bonding driver is in use, slaving eth0 and eth1 into bond0. * There are 2 switches. eth0 goes into one and eth1 into t

[Users] Re: Hosts not responding, kinda urgent

2010-02-19 Thread Gregor at HostGIS
Well, guys, here's a weird one. I fixed it, but you won't believe how. I used "vzctl enter" to enter the VE, then "route -n" to see its gateway. Then ping the gateway, and it worked; skipped 1-2 pings, but the pings came back and the VEs were once again visible on the Internet. Weird, huh? T

[Users] Hosts not responding, kinda urgent

2010-02-19 Thread Gregor at HostGIS
Hey guys. I have 4 VEs, out of 13 on this server, which suddenly stopped being networked. No pings, no HTTP, no nothing -- except from the HN itself. The VEs cannot ping out, no DNS, nothing. I know that no changes were made to the HN, as I'm the only one who works on it. And it's kinda urgent

Re: [Users] Host shutdown hangs on vz service stop

2010-01-01 Thread Gregor at HostGIS
That does, indeed, sound very familiar. I just vzcfgvalidate-d my config files and it threw up no problems or errors. :-/ Aww, darn. My thread is here: http://bugzilla.openvz.org/show_bug.cgi?id=1345 It's embarrassing, though a relief, that by the time I had opened the ticket the problem neve

Re: [Users] Host shutdown hangs on vz service stop

2010-01-01 Thread Gregor at HostGIS
Unless each VM is stopped from inside it (usually using halt), stopping the container doesn't manage to stop it most of the time, it just blocks. Does it give a timeout? I had an issue before, where "vzctl stop XXX" would eventually time out, leaving the VE in an unpleasant state: no processes

Re: [Users] Shutdown problems

2009-12-07 Thread Gregor at HostGIS
To clarify further on versions: The HN is 2.6.24 ovz009.1 on Fedora 9. We must use 2.6.24 despite its "development" status because 2.6.18 lacks support for AMCC/3ware RAID controllers. Aside from this shutdown issue, we have used it for 14 months now under high loads without issue. Aside from

Re: [Users] Arp update / sendarp in case of machine movement ?

2009-07-14 Thread Gregor at HostGIS
the ARP caches are flushed. This can be done with "sendarp". Otherwise the host is not reachable. I wrote a gratuitous arp daemon (garpd) which turned out to be necessary for our needs. If you turn down the timeout, it may be just what you need. Want a copy? -- HostGIS, Open Source solutions

Re: [Users] Firewall on HN or VE?

2009-07-09 Thread Gregor at HostGIS
We do the firewall confguration on the HN, not in the VE. This keeps it safely out of the customers' hands and in our centralized control. By "safely out of their hands" I mean not only the customers' inexpertise, but also accidental deletion/chmoding of the firewall script in their VE, or a h

Re: [Users] SSL in cloned VEs

2009-07-09 Thread Gregor at HostGIS
How does it work with VEs. If I install it on the VE before cloning, will it work on the clone directly or will i need to reissue certificate for each clone. An invalid SSL certificate, even a self-signed or expired one, will still "work" as far as encrypting data. If you're talking internal u

Re: [Users] VPS with diferent subnets

2009-06-25 Thread Gregor at HostGIS
another subnet available but I can't migrate my actual VPS, is posible that I can have some VPS with one subnet and others VPS with anothers subnets. Absolutely. We have 5 subnets and 4 HNs, and the combination of HNs and IPs is entirely arbitrary. Huzzah for proxy arp, eh? I do have some o

Re: [Users] vzctl start yields err=-12

2009-05-26 Thread Gregor at HostGIS
A question: This problem I'm getting of "err=-12" is not accompanied by the noisy kernel dumps mentioned. Does this still sound like a likely cause? Also, I see that the bug was not fixed: http://bugzilla.openvz.org/show_bug.cgi?id=802 The last entry was that it worked for the person reporti

Re: [Users] vzctl start yields err=-12

2009-05-26 Thread Gregor at HostGIS
John Knight wrote: To fix this issue, recompile your kernel with this option commented out: #CONFIG_FAIR_USER_SCHED #CONFIG_FAIR_GROUP_SCHED Thanks a lot for the same-day response, John. I think I can use this tonight on one of our test systems. -- HostGIS, Open Source solutions for the glob

[Users] vzctl start yields err=-12

2009-05-26 Thread Gregor at HostGIS
I am having a problem creating and starting a new VE. vzctl start gives me: mounted, container start failed, unmounting. dmesg shows only this: CT: 30: stopped CT: 30: failed to start with err=-12 The verbose log (level 10) is no more useful to me: Starting container ... Running: /usr/sbin/vzq

Re: [Users] Re: Logging of logins via "vzctl enter"

2009-05-13 Thread Gregor at HostGIS
Please file the appropriate bug to http://bugzilla.openvz.org/. Please set severity to "enhancement" and don't use the word ASAP :) Nicely done, Kir! Spoken like a true open-source man. :) -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GI

Re: [Users] Re: Logging of logins via "vzctl enter"

2009-05-13 Thread Gregor at HostGIS
If you don't trust the root user of your host node, I think you are in trouble. For me, it's not about trust but logging and completeness. I trust myself and our security, but having a more complete log of when the sysadmin stepped in would help our own auditing processes. I hope that it w

Re: [Users] veth address persistence

2009-03-23 Thread Gregor at HostGIS
Am I missing some step? Maybe another EXTERNAL_SCRIPT to initialize the ip/routes? Yeppers. http://wiki.openvz.org/Veth#Making_a_veth-device_persistent -- HostGIS, Open Source solutions for the global GIS community Greg Allensworth - SysAdmin, Programmer, GIS Person, Security Network+ Serve

Re: [Users] VE loses connectivity

2009-03-15 Thread Gregor at HostGIS
in my opinion this may be something other than openvz, may be a misconfigured switch (or switch's arp table size?) or router or a different configuration option in switch/router. Yeah, it's so hard to tell. We're using unmanaged GigE switches, but between IP blocks we bounce off the router whi

Re: [Users] VE loses connectivity

2009-03-15 Thread Gregor at HostGIS
in a period of time some of my VE's (both on subnet1 and subnet2) loses connections. I've had a long-standing problem, as well, with HNs and VPSs randomly losing connectivity for seconds at a time. It's been enough to set off Nagios, to delay SMTP, etc. My workaround (I won't call it a "solu

[Users] waiting for lo to become free

2009-03-12 Thread Gregor at HostGIS
Hey guys. I never did get a response, and thought to ask again and to post a status update. My original question: http://www.mail-archive.com/users@openvz.org/msg02202.html I was perplexed, since both bugs which had been known to cause this symptom have been marked as fixed for some time. I wa

Re: SV: [Users] Virtuozzo

2009-01-26 Thread Gregor at HostGIS
mattias wrote: I reed virtuozzo only support virtulation with the same os on the physical computer ??? Yep, it's kernel-level virtualization. One kernel runs multiple "containers" each of which has their own "ps" and network ports and IP addresses. It is the same "OS" in that they

Re: [Users] total system barrier and limit calculations?

2009-01-05 Thread Gregor at HostGIS
Does anyone have a formula or calculations to figure out what the various beancounter barrier and limit for a paticular host system will be? One word: vzsplit -- Gregor Mosheh / Greg AllensworthBS, A+, Network+, Security+, Server+ System Administrator, Lead Programmer HostGIS development

[Users] waiting for lo to become free

2008-12-30 Thread Gregor at HostGIS
Hey guys. I'm being haunted by this terrible problem: waiting for lo to become free. This happens when I try to shut down a VE, then the load average skyrockets and the system grinds to a standstill until I pull the power plug. This was reported in 2005, and was reopened and fixed in 2008: h