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
0
votes
1 answer

Native software on dedicated machine vs virtualizing services on dedicated machine

I used to have a VPS, and the benefits of a VPS are pretty obvious: instant snapshots, instant booting, instant and one click changes rollback (so if I mess up really bad, even losing network connection, I only need to login to my VPS panel, and…
0
votes
1 answer

Enable IP forwarding inside an OpenVZ container but disable it on host

Is it possible to enable IP forwarding inside an OpenVZ container but keep it disabled in host system? I understand that OpenVZ containers and host share kernels, but I can use sysctl to set ip_forward to 1 or 0 separately from inside container and…
Samik
  • 73
  • 5
0
votes
1 answer

My server boots a kernel I don't recognize

On my dedicated server I'm running Debian 7.5 as an OS. I have installed OpenVZ for amd64 architecture to use the benefits of virtualization but after successfully installing it (following these directions) the OpenVZ kernel is not booting. When I…
Taha
  • 3
  • 1
  • 3
0
votes
1 answer

fdisk -l return cannot open /proc/partitions

I have a Debian server with 4.5Go on the /dev/simfs partition. Filesystem Size Used Avail Use% Mounted on /dev/simfs 4.5G 3.2G 1.3G 72% / tmpfs 474M 76K 474M 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs…
Labe
  • 101
  • 1
  • 3
0
votes
0 answers

Bridge configuration on OpenVZ

I have been using an OpenVZ environment left behind by a previous employee. A while ago I needed to use virtual eth devices to try a specific application. After removing VETH might have misconfigured my routing. To make matters worse the firewall…
Bruno9779
  • 182
  • 1
  • 1
  • 13
0
votes
1 answer

Limiting OpenVZ SMTP Per Hour

How would I limit SMTP connections per hour on the host node for a /24 block? For example, I want to limit it to 50 emails per hour. Thanks
user44754
  • 13
  • 4
0
votes
0 answers

Ordering mount --bind and OpenVZ start on boot

I am using mount --bind to share some directories/files between containers. My issue is that on root server boot, the containers are started, but these mounts are not yet mounted. Some of the services can't start and I have to manually restart all…
Vojtěch
  • 285
  • 3
  • 13
0
votes
0 answers

Ploop vzctl compact ctid unable to reclaim

I have tried using the scripts and also command vzctl compact ctid to reclaim the new free space for the vps with the ploop, but it do not extend the free space. I am getting following result: Trying to find free extents bigger than 0…
0
votes
2 answers

Is Ploop a bad idea for OpenVZ?

I know that with Ploop you lose disk space as files are added/deleted within a container and you have to manually compact the container, but i have also read that if you reboot or there is a crash the containers can become nonrecoverable. Are there…
Jason
  • 3,931
  • 19
  • 66
  • 107
0
votes
1 answer

Does updating vzctl and ploop require server reboot?

If we yum update vzctl and ploop on centOS 6, 64-bit, does that require we reboot the server, or stop and start all containers? Just trying to understand if a normal yum update for these two software applications require additional steps as these…
Rob Mangiafico
  • 151
  • 1
  • 1
  • 6
0
votes
0 answers

OpenVPN Port forwarding on a OpenVZ VPS

I've been trying for the past 3 hours to forward the 443 port from my client to the 20443 port on my server (CentOS 7 on OpenVZ), so i can access it on myserverip:20443. I have OpenVPN Access installed and this is the client config on it :…
Kaizer80
  • 1
  • 1
0
votes
1 answer

OpenVZ: shmpages keep increasing

I have an OpenVZ VPS. However the shmpages always increases to the limit in one or two days. My RAM usage is low (233M without cache). I only run nginx, php-fpm, and mariadb on the VPS. I've asked my VPS provider to increase the limit once (from…
xuhdev
  • 890
  • 2
  • 8
  • 20
0
votes
1 answer

Disk partition to Virtual Machine / OpenVZ container

I am relatively new to running virtual machines / OpenVZ containers so if I have miss understood something please let me know. I currently have Ubuntu 14.04.1 installed straight to a partition on my server. My intention is to completely rebuild and…
JamesStewy
  • 227
  • 2
  • 3
  • 8
0
votes
1 answer

Restoring OpenVZ Container Filesystem Backup

I have a server running OpenVZ -- everyday, a full filesystem backup is made to another server. However, there are no VZ container snapshots being made. So, I have a full filesystem backup of host.example.com -- however, I need to restore a backup…
Ganye
  • 103
  • 1
0
votes
0 answers

Dealing/Fixing the Ploop issue with OpenVZ -- relclaiming lost space

So OpenVZ Ploop has a bug where if users add then delete files the space becomes unclaimed and the disk eventually runs out of space. Now there is a script that fixes that(included below). However, surely there is a better way then running this…
Jason
  • 3,931
  • 19
  • 66
  • 107