OpenVZ is an open source virtualization technology for Linux which utilities containers to run separate Linux based operating systems on a single machine. OpenVZ is typically used as it touts a low overhead, of around 1-3% of CPU, compared to other virtualization technologies.

learn more… | top users | synonyms

3
votes
1answer
1k views

permission denied for chmod as root

I need to manage a customer's openvz guest (latest debian squeeze 64 bit). Now when I try to do a chmod 0750 /root as root it gives me Permission denied. This really puzzles me, as I thought root can ...
0
votes
1answer
483 views

How to see what is causing failcnt on tcpsndbuf

I am seeing a failcnt on my tcpsndbuf by looking at the user beancounters. How am I able to see what is causing this failcnt? I am experiencing problems with my server and I think that it is as a ...
1
vote
1answer
1k views

Jenkins (JVM) crashes after few minutes after start

Host OS: OpenVZ host Guest OS: Debian 6.0 minimal Java: java6 sun Servlet container: Winstone Jenkins for debian: http://pkg.jenkins-ci.org/debian/ Jenkins version: 1.449 uname -a: Linux hostname ...
1
vote
0answers
164 views

auto add ip to containers using openvz commandline

looking to script some container creation. Is there a way to use the PBAS auto add ip function at the node's command line? Something like this. vzctl set CTID --ipadd AUTO_IP_ADDY --save I could ...
3
votes
2answers
1k views

How to properly set CPU Units for OpenVz VEs

According to all the sources I read (openvz wiki, various mailinglists, forums, ..) the values of the cpuunits settings are relative to each other. So when all are equal and the system is busy, all ...
8
votes
1answer
2k views

Is LXC secure enough for VPS hosting?

Right now I'm using Linux VServer for VPS hosting. But it's lacking some functionality I need (ex. cpu usage virtualization, quota support for guests, etc.) so I'm thinking about switching to OpenVZ ...
0
votes
1answer
56 views

How do I investigate new transaction behaviour between Mysql 5 and JBoss 4.02 inside OpenVZ?

I have moved a production server over to OpenVZ, something that I've done many times before, only this time it has impacted the transaction behaviour of certain operations. All my tables are innoDB. ...
3
votes
1answer
7k views

How can I tell who/what shutdown my CentOS VPS?

CentOS 5.7 VPS (running on OpenVZ) My VPS shut down this morning and I'm not sure why. I contacted my VPS host and they indicated that the server "was off". They powered it back on but I'm confused ...
0
votes
1answer
825 views

How to convert OpenVZ OS template to bootable image file?

My question is how to convert a pre-created OpenVZ OS template which are in tar.gz format (such as these) to an image file in order to be able boot it with other virtualization solutions such as QEMU ...
0
votes
1answer
181 views

Networking OpenVZ VEs

I've got a host with OpenVZ installed on it with several containers. I want to set up a virtual network between some of them but without having to use any physical devices but I'm new to OpenVZ and ...
6
votes
5answers
1k views

Cannot create Java VM on OpenVZ

I'm constantly encountering an error related to Java and certificates on my Ubuntu server running in OpenVZ when installing things from apt-get. I'm pretty sure it has to do with how Java allocates ...
1
vote
3answers
476 views

Java on 256MB system? [closed]

For a school project, I've registered a free VPS on a hosting provider (pipni.cz). It has 256MB RAM: Mem: 262144k total, 148104k used, 114040k free, 0k buffers It's running on Debian ...
4
votes
2answers
1k views

Advice on most fitting choice of virtualization platform: Xen | OpenVZ | KVM | other? What suits the purpose best?

I am aware of the multitude of virtualization threads here but they all seem to be oldish and i'd like to have a brand new one ready for 2012. I'm currently evaluating Xen, OpenVZ and KVM for ...
1
vote
1answer
109 views

How does OpenVZ know a VE's distribution

With OpenVZ you assign a VE's hostname (among other things) from the host node (HN) using vzctl set CTID --hostname myhost --save. It then sets this in /etc/vz/conf/CTID.conf. During startup of the ...
0
votes
2answers
144 views

Network issue migrating an VMWare guest to an OpenVZ container

I've migrated a server from vmware to openvz, both are running on the same physical host (I plan to eliminate vmware). If I give the new openvz container a new IP anybody on the LAN and outside ...
2
votes
1answer
1k views

What could I or my VPS provider be doing wrong? (TUN/TAP on OpenVZ)

I'm trying to setup OpenVPN on a CentOS VPS (OpenVZ). But the problem I am having has to do with enabling the TUN/TAP interface. When I purchased the VPS service, I left a note to have the TUN/TAP ...
1
vote
2answers
796 views

Oneiric's init (upstart) taking up 99% cpu on openvz

I'm having a problem with a openvz vps which came with Ubuntu Natty (11.04) and I recently upgraded to Oneiric (11.10). After a reboot I found the init process stuck at ~99% cpu and the loadavg ...
1
vote
1answer
1k views

How to install git server on debian VPS (openvz+direct admin)?

What are the risks and precaution steps when installing git server on debian VPS (openvz + direct admin) ? How to install git server properly in such environment ? I would like to use git server ...
2
votes
2answers
163 views

upgrading kernel from 2.6.27 to 2.6.32

I have an openvz server, currently running on linux-2.6.27-openvz-kiprensky.1-r1 Now, I'm upgrading server and part of the upgrade is kernel upgrade. Now, I'm offered ...
1
vote
0answers
237 views

Truncated HTML responses with OpenVZ (and nginx)

I'm running nginx in a OpenVZ container on Debian 6 and when proxying I get truncated responses. Most of the time it happens when I proxy another proxy like varnish or apache (for svn servers). I ...
2
votes
2answers
373 views

apparmor not working ubuntu 11.04 insize OpenVZ

so it seems I have everything installed, but apparmor_status gives "apparmor module is not loaded." Also some apparmor scripts check for presence of /sys/module/apparmor and it is not there... Any ...
0
votes
4answers
3k views

Stop an unstoppable openvz container

I have an openvz container that is NOT stopping with the standard vz tools. How can I kill it? I tried a VZ destory but that wont work. Thanks
2
votes
2answers
630 views

Open VZ firewall solutions

Ive got VPS running on an Open VZ virtualisation instance. Unfortunately im having a lot of trouble getting a firewall up and running. Ive tried my usual UFW and shorewall, but neither of them would ...
3
votes
1answer
254 views

Is it safe for a single directory/file to be served by two separate samba daemons simultaneously?

The situation is this: I have a Debian server which acts as a web/mail server as well as an Internet gateway for a small office. All the externally available services run on OpenVZ virtual ...
1
vote
1answer
279 views

OpenVZ with RHEL6 kernel & page cache?

After upgrading kernel from debian 2.6.32-openvz-amd64 to RHEL6 2.6.32-042stab035.1, I have problem with kernel page cache. Looks like no OpenVZ containers use page cache and now I have 10-15GB free ...
1
vote
3answers
1k views

How do I secure my OpenVZ host node?

I'm running a server using OpenVZ for a few websites. Nothing in HN except for sshd. A VM for Varnish, a VM for MySQL and a few VMs each for one website (running Apache/PHP). Now I'd like to secure ...
2
votes
1answer
6k views

OpenVPN server running on openvz. How to write iptables rule without masquerade?

I am configuring a VPS which is running on openvz as an OpenVPN server using a tun interface. I am having some trouble with the iptables rule as MASQUERADE is not available. If MASQUERADE were ...
1
vote
1answer
392 views

help to optimize container

I have an openvz node with only one container (Cpanel server). Yesterday I had many memories issues: Unable to fork: Cannot allocate memory Can someone help me to optimize my node setting ? I ...
1
vote
3answers
579 views

Very slow rm -rf on OpenVZ VPS with Debian 6 installed

I recently bought OpenVZ VPS and compared to a dedicated servers rm -rfoperation takes considerably longer to complete (about 4x - 5x longer). This is case even if there is one big file as opposed to ...
1
vote
1answer
478 views

OpenVPN routing for OpenVZ containers

I am trying to make OpenVPN tunnel accessible for all OVZ CT's running on the host. I have initialized the tunnel devise on the host server to remote VPN server. Although I have PING response from the ...
1
vote
1answer
273 views

Is there a way to pam_tty_audit on Linux OpenVZ containers?

Looks like pam_tty_audit in Linux (http://www.slashzero.com/2009/11/shell-session-logging/) could have been a great way to help figure out "what happened!" when one gets rooted. I say "could have ...
1
vote
2answers
532 views

OpenVZ: access physical server vs. accessing virtual servers

I am just playing around with OpenVZ and had no experience with virtualization before. So I have the following problems in understanding this virtual infrastructure: I have a physical Linux server, ...
2
votes
1answer
202 views

openVZ VPS spam

i have an openvz vps,, and i use to run only openvpn server.. but one day, my datacenter told me they suspended my vps because it was sending spam? well im not using smtp or stuff on my vps, its just ...
1
vote
1answer
456 views

Why isn't OpenVZ in the Linux kernel by default?

Does anyone know why OpenVZ hasn't been merged into the official Linux kernel? Right now you have to download a special kernel from openvz.org
1
vote
2answers
883 views

Moving OpenVZ /vz partition to separate drive

I've got an OpenVZ box that's running out of hard drive space. It has a single drive that contains the system and vz partitions. I'd like to install a new drive and move the vz partition to it. This ...
1
vote
2answers
212 views

Enforcing directory space limits in an OpenVZ system

I have some programs on a server (Centos4-OpenVZ) that use a directory as temp directory - but pay no attention to the size as it grows. I want to enforce a limit, such as that this folder cannot ...
3
votes
1answer
1k views

How to limit memory for VE on openvz

I need to configure only one vps in a openvz node. The node will have only one vps. I need help to configure the memory limits correctly. The node have 4GB memory with 4GB swap. I would like to ...
1
vote
2answers
631 views

running mongodb with openvz

Has anyone had any luck getting mongodb working on openvz? Was looking for some tips, tricks, hacks to get it from running out of memory I am running on centos on media temple and the servers just ...
2
votes
0answers
64 views

VE not stopable

One of my VEs sometimes stops working. I cannot reach it via HTTP, FTP or SSH, I only can enter it per vzctl enter X All tries to restart the VE result in a 'Operation timed out', even if I try ...
1
vote
2answers
759 views

Block OUTGOING port 25 traffic from specific IPs on openvz host

I have a server running CentOS 5.5 and acting as an OpenVZ host. One of the containers has been sending out spam and I need to block his ability to connect to outbound port 25. I've looked at ...
1
vote
1answer
364 views

Openvz VE issues after upgrade

i'm running openvz on ubtunu Lucid (kernel 2.6.32.28-openvz-pae). the templates i used are ubuntu 10.04 ones. i tried to upgarde one of my two VEs from 10.04 to 10.10. The process was broken (the ...
1
vote
3answers
2k views

is it possible to check CPU and RAM usage of the OpenVZ *host* machine from within a VM?

I have purchased an OpenVZ VPS from one of the hundreds of internet hosting companies. I dont pay much for it, but lately performance has been terrible. They are obviously overselling, but I am ...
1
vote
1answer
175 views

openvz node with only one vps

I have an openvz server with 2Gb ram and would like to configure a vps for use all server resources (no swap). I run: vzsplit -n 1 -f vps1 -s 0 and have this setup: Configuration file generated by ...
7
votes
1answer
465 views

ip6tables rules are completely ignored inside OpenVZ container

We have set up IPv6 networking on openvz using bridged veth devices. The IPv6 traffic to and from the VEs works fine. ip6tables works on the HN and iptables work on the VE. Inside the VE we can set ...
1
vote
1answer
147 views

Should I use lightttpd or nginx for an ubuntu VPS?

I'm working on setting up a VPS, and I'm not about to go with slow apache. I'm looking into lighttpd and nginx, but I don't know which one to go with. I'm running Ubuntu 10.04 on an OpenVZ VPS My ...
-1
votes
1answer
195 views

configure Cpanel Openvz container

I need to config a cpanel openvz container. I know how to configure standards containers but I would like to find more info a about cpanel containers, configurations tips and other info related with ...
1
vote
3answers
810 views

size lvm snapshot

I'm configuring an openvz node and would like to use lvm snapshot for backup (I do remote backup too). The snapshot size is the same that data in the backuped partition ? If I have a logical volume ...
2
votes
1answer
396 views

Hidden memory usage on my openvz vps

I'm on a openvz vps and I have memory thats unaccounted for. When I run free -m it says I have 156mb used out of a vps with 256mb. Cached is 0, buffers are 0, shared is 0. But when I run "ps -faux" ...
1
vote
0answers
162 views

Internet inside VE with fedora 14 and openvz rhel6 repo

Ok, so here is the set up: I've got fedora 14 running inside latest virtualbox with nat and networking is working. Inside this fedora I have installed openvz from the rhel6 repository and have setup ...
1
vote
2answers
612 views

OpenVZ Configuration Issue

I am facing a memory overflow issue in one of my OpenVZ containers. While doing a vzctl enter 172 it gave an unable to allocate memory error. The container is supposed to be configured for 3.5GB of ...