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.

422 questions
4
votes
1 answer

RAM burst, myth or reality?

Often when buying a VPS, we are faced with a number of features. These include the RAM. In XEN virtualization RAM and swap is (or should be) dedicated. In OpenVZ, how important is "burst"? I ask because I have some doubts about the real importance…
LEv
  • 41
  • 1
4
votes
3 answers

How to de-duplicate data for OpenVZ/LXC on Linux?

I want to setup multiple similar containers and I want to have de-duplication. The only solution I'm thinking of is to use OpenSolaris ZFS and share zfs volume with NFSv4 ro iSCSI target and create usual ext3 fs on it to use as OpenVZ VE…
Dmytro Leonenko
  • 454
  • 1
  • 7
  • 24
4
votes
4 answers

PHP unable to allocate memory

On my way to the office this morning, every website on our shared VPS started giving the same error (several times, not the typical memory_limit error which is fatal): Warning: Unknown: Unable to allocate memory for pool. in Unknown on line 0 The…
Reece45
  • 709
  • 4
  • 15
4
votes
6 answers

What do you recommend? OpenVZ or Xen DomU?

I’m looking for a new server at the moment and a fitting virtualization solution. On my recent server I’m using VMware server but don’t what this one anymore as it is very very slow. I have the opportunity to work on a cluster which is using Proxmox…
Ulf Klose
  • 387
  • 1
  • 5
  • 18
4
votes
3 answers

Java VM problem in OpenVZ

I bought a vps for hosting my java needs. But I can't run java on it. Everything about java is correctly installed but when I try to run java ("java -version" forexample) I get this error : Error occurred during initialization of VM Could not…
Ginnun
  • 43
  • 1
  • 4
4
votes
3 answers

OpenVZ - share files between virtual machines (VEs)?

Is there any way to share a directory of files between virtual machines running in OpenVZ? My particular use case is that I want to have a shared YUM cache directory, for when they all need to run updates, so that each virtual machine doesn't have…
davr
  • 1,729
  • 3
  • 14
  • 24
3
votes
0 answers

Obscure systemd-logind message on Centos 7 running on OpenVZ 7

I am seeing the message below appear several times at random times on a Centos 7 64-bit virtual private server running on OpenVZ 7. I have no idea what it means, how to fix it or if it can be safely ignored. Any insights would be greatly…
Esteban
  • 35
  • 7
3
votes
2 answers

aws s3 sync: how to exclude proc, sys directories

I can't seem to get the aws sync s3 command to exclude directories. I am backing up a mounted filesystem from OpenVZ which is located at /vz/root/100. My command is: aws s3 sync /vz/root/100 s3://[mybucket]/vz/root/100 --exclude="proc/*"…
Devon
  • 780
  • 1
  • 9
  • 20
3
votes
1 answer

Managing OpenVZ containers with Ansible

Is there any elegant way to manipulate OpenVZ containers with Ansible? Sure I can install an SSH daemon on each and put my public keys, but as soon as there is a vzcl enter command maybe there is a possibility to use it somehow? I've searched the…
Glueon
  • 3,514
  • 2
  • 22
  • 31
3
votes
1 answer

Proxmox vps container connection problems

I have Proxmox on my node server which have ip:5.189.190.* and I created openvz container on an ip : 213.136.87.* and installed centos 6 on it The problem: Cann't connect to container ssh directly Can't open apache server centos welcome page When I…
Mello
  • 31
  • 1
  • 2
3
votes
2 answers

vSwap vs Burstable RAM for OpenVZ

What is the big difference between vSwap and Burstable RAM? Does vSwap create and cause I/O by using disk? I know SWAP will use the disk so is vSwap the same as swap just virtualized in the container.
user236402
3
votes
0 answers

Using ufw on OpenVZ-based VPSes

I'm facing with a problem to set up ufw on Ubuntu 12.04 running on an OpenVZ-based VPS. I know there is limitations for ufw. I googled a bunch of articles how to resolve the issue (like:…
Nikolay
  • 31
  • 2
3
votes
3 answers

Shell access for a KVM VM

I would like to access my KVM VM with a shell. I created it via proxmox 2.3, Ubuntu 12.04 is installed on it via an official template. I would like to find the same command as vzctl enter for OpenVZ containers. I didn't find anything on…
HydrUra
  • 145
  • 1
  • 2
  • 6
3
votes
1 answer

Assigning IPs to OpenVZ containers

I have recently bought myself a physical server and I am trying to create containers which would have their IPs. The physical machine has both IPv4 and IPv6 addresses. I have accessible another IPv4 and some other IPv6 addresses which I would like…
Vojtěch
  • 275
  • 3
  • 11
3
votes
1 answer

How to list disk space usages of all containers on an OpenVZ server?

I have an OpenVZ server with 46 containers. How do I get a list of all the containers with their corresponding disk usage?
user3180
  • 337
  • 1
  • 4
  • 13
1 2
3
28 29