Questions tagged [openvz]

OpenVZ is an open source containerisation 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 virtualization technologies.

OpenVZ is an open source operating system-level containerisation which integrates with the Linux Kernel. Because of this OpenVZ can only run on Linux and can only run Linux containers which have compatible kernels. OpenVZ separates out virtual environments into "containers", which are similar to BSD Jails.

OpenVZ is not like traditional hyper-visor based virtualization technologies, such as Xen or VMware, in that is only runs a single patched Linux Kernel. This however lets OpenVZ be faster and more efficient than hyper-visor based technologies. Typically each OpenVZ container will have around 1-3% overhead of that if it were a physical machine.

OpenVZ is the basis of Virtuozzo Containers, which is commercial software distributed by Parallels Inc. OpenVZ is available under the GNU GPL v2 license.

424 questions
3
votes
2 answers

OpenVZ vs Xen, how much difference in performance?

There is a Xen vs. KVM in performance question on ServerFault. What will be the speed difference if the choice is between Xen and OpenVZ? Searching for such benchmarks does not show any results newer than 2008. What would be some important…
Aleksandr Levchuk
  • 2,465
  • 3
  • 22
  • 41
3
votes
1 answer

FsockOpen problem with Iptables inside OpenVZ VM

I have a virtual machine on debian. I have made some modification to the HN to allow statefull firewall inside vm (http://wiki.openvz.org/Setting_up_an_iptables_firewall). Here is my firewall script : # Flushing all rules iptables -F iptables…
hotips
  • 533
  • 4
  • 8
  • 19
3
votes
2 answers

Iptables port forwarding on OpenVZ CEntOS container

I am trying to setup a simple port forwarding on an OpenVZ container that is running CentOS 5.5. When I run a command I get errors. iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 iptables v1.3.5: can't initialize iptables…
xsaero00
  • 255
  • 3
  • 10
2
votes
2 answers

Realtek RTL8111/8168/8411 ethernet card randomly disconnecting

System information: kernel: latest OPENVZ kernel (2.6.32-042stab140.4) centos version: CentOS release 6.10 (Final) network card type: Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller…
gergokee
  • 23
  • 4
2
votes
0 answers

Squid and OpenVPN slow on OpenVZ?

I have two vps, one on OVH with KVM, the second on another hosting with OpenVZ. On OVH the speed is ok with squid and openvpn, i reach 100mbit (max speed of my connection), but i have a problem with the second vps. My internet speed is limited to…
Kiryu
  • 21
  • 4
2
votes
0 answers

How to enable swap in OpenVZ container?

The problem Recently I decided to rent a $1.00/month VPS. I knew there was going to be a catch for the price and the specs and I think I've found it... I cannot create swap files as they VPS provider uses OpenVZ virtualization. My conclusion After…
NerdOfCode
  • 121
  • 4
2
votes
1 answer

Why are GlusterFS replicated volumes not recommended for Hosts in different datacenters?

Any tutorial I can find about GlusterFS replicated volumes assumes that both (all) bricks are on the same private network which then also leads to the conclusion they must be in the same datacenter. e.g. "The problem is when the storage you would…
Chris
  • 76
  • 2
  • 6
2
votes
2 answers

Extract files from ploop disk image

I have ploop disk image created by dumping an OpenVZ container. There are two files: 791 DiskDescriptor.xml 2.4G root.hdd Is there any way to extract the whole root file system from there on a non-OpenVZ machine?
Greendrake
  • 1,391
  • 2
  • 13
  • 22
2
votes
0 answers

Debian container unable to start after migration from OpenVZ to LXC on Proxmox 4

After migrating a Debian 7 OpenVZ CT from Proxmox 3 to a LXC on Proxmox 4 it does not appear to start correctly. Fristly, migration was done by stopping the container on Proxmox 3, backing up to external harddisk, then loading that harddisk in…
2
votes
0 answers

How are kernel networking settings handled in OpenVZ containers?

I’m a little confused on how containers handle networking. For our normal systems, we’re enforcing things like Disable Source Routed Packet Acceptance, Disable Send Packet Redirects, etc. We usually enforce these via /etc/sysctl.conf, although they…
Carrot
  • 266
  • 3
  • 8
2
votes
1 answer

How to clone a VPS with OpenVZ

So I recently started reselling unmanaged VPS. Now I thought it would be nice if my customers could monitor their VPS and control it via a web panel thus I planned to install OpenVZ. I now want to offer them the possibility to install preconfigured…
Ympker
  • 21
  • 2
2
votes
1 answer

HA Cluster with OpenVZ and DRBD

I would like to create an HA Cluster using OpenVZ and DRBD. I found this tutorial http://www.olindata.com/blog/2013/12/building-ha-cluster-openvz-drbd-heartbeat-and-pacemaker and I got as far as Step 5. I am running CentOS 6.5 (32-bit) under WMware…
2
votes
0 answers

How to limit bandwidth from inside OpenVZ container without tc?

As the title says I would like to know if it is possible to limit bandwidth (download and upload) of OpenVZ container (from inside it) without use of tc or any additional kernel driver (VPS provider does not support it). I can enable TUN/TAP…
monnef
  • 121
  • 2
2
votes
1 answer

firewalld service is running, but firewall-cmd doesn't work

I am new to Centos 7/Server management. I am trying to figure out how to work with firewalld. my kernel release is: 2.6.32-042stab084.20(OpenVZ) And: #firewall-cmd --version #0.3.9 The problem is I can't get any functionality out of firewall-cmd.…
jrook
  • 121
  • 1
  • 5
2
votes
1 answer

Cannot stop service (PostgreSQL) in Ubuntu 14.04 minimal OpenVZ

I'm trying to stop PostgreSQL but this results in a weird error about /proc/: root@dw0wanydbpv14fred:~# service postgresql stop * Stopping PostgreSQL 9.3 database server * Error: /proc must be mounted <----- what ??? …
KajMagnus
  • 375
  • 1
  • 4
  • 14