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.

learn more… | top users | synonyms

1
vote
1answer
165 views

OpenVZ - SMTP - telnet - Connection timed out

I have problem with SMTP in my OpenVZ container. I've created OpenVZ container by Proxmox on dedicated server in OVH. This container will be as mail server. So I create on "mother-server" rules to ...
-1
votes
1answer
64 views

How do hosting providers give each container a unique public IP? [closed]

I'm looking in to starting my own hosting company; even if I'm only paid in experience. At first, I thought I'd create shell scripts to automate the creation of OpenVZ containers. But then I ...
-4
votes
1answer
178 views

IP Rotation using iptables on OpenVZ [duplicate]

I want to set IP Rotation using iptables so I am using below code.My server Virtualization Type is OpenVZ. My server provider has enabled all the options then also don't know what is the wrong, It is ...
0
votes
1answer
91 views

Ping from OpenVZ host to container

I have a host with multiple containers. I would to ping from the host to container, and vice versa. Currently ping works only from inside a container to the host, e.g.: root@c1313s02:~# vzctl enter ...
0
votes
1answer
44 views

openvz: limit resource usage of common services?

I am running Ubuntu 14.04 LTS inside a OpenVZ (Virtuozzo) container. There are basic services running (Apache, Postfix, Dovecot, MariaDB, OpenVPN, LDAP, memcached, php-fpm, nscd) and I am already ...
0
votes
2answers
587 views

SSD caching using bcache or dm-cache on kernel 2.6.32-042stab104.1

I'm looking to use bcache or dm-cache with the latest OpenVZ kernel (2.6.32-042stab104.1) on CentOS 6. Unfortunately, dm-cache and bcache are part of kernel 3.10, but I know the OpenVZ kernel has a ...
0
votes
1answer
382 views

Proxmox Console to OpenVZ Container has two login shells

I am using ProxmoxVE. Proxmox is running in Stand Alone Mode. I have a variety of CentOS 7 containers running. When I try to use the "Console" button to login to the machine I am presented with two ...
10
votes
2answers
7k views

Running containers inside a virtual machine?

It is my understanding that containers are much more lightweight than VMs because they do not virtualize the hardware but instead just isolate the software running in them from software running in ...
1
vote
2answers
2k views

OpenVPN don't start: --cert fails with 'client.crt': No such file or directory

I have a VPS Server running with openVZ and CentOs 6 and I want to install openVPN on it. I followed this tutorial: https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-...
1
vote
0answers
2k views

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 ...
1
vote
0answers
115 views

Tracking user activity in openvz container?

I have been trying to figure out a way to track user activity in an openvz container for a long time now (auditd like in KVM's). This is a PCI-DSS requirement. I can't seem to find any good ...
0
votes
2answers
420 views

resizing a Debian linux partition without losing data

i have made by mistake a small partition partion on my Debian installation and after installing openvz on this bare metal server i notice that i created production vps on this partion and that it ...
2
votes
1answer
505 views

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 ...
0
votes
2answers
2k views

OpenVZ containers will not start after a reboot

vzctl start 192 Dump file /vz/dump/Dump.192 exists, trying to restore from it Restoring container ... Opening delta /vz/private/192/root.hdd/root.hdd Data cluster 1112 beyond EOF, vsec=47137... FATAL ...
0
votes
1answer
32 views

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

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 ...
1
vote
0answers
158 views

OpenVZ : live migration fails

I can't launch live migration of OpenVZ container between two proxmox nodes... Feb 05 03:30:27 starting migration of CT 102 to node 'madrid' (xx.xx.xx.xx) Feb 05 03:30:27 container is running - using ...
0
votes
1answer
140 views

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

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 ...
0
votes
0answers
110 views

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

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
0
votes
0answers
88 views

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 ...
0
votes
0answers
193 views

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

Run 'rng-tools' in OpenVZ container

I have a problem with run 'rngd' inside OpenVZ container: root@server:~# rngd -r /dev/urandom unable to adjust write_wakeup_threshold: Permission denied Is it possible to run an application in ...
0
votes
1answer
475 views

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

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 ...
0
votes
0answers
383 views

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 ...
1
vote
1answer
357 views

OpenVZ Container Restart [closed]

I'm wondering if there are any public scripts to automatically restart OpenVZ containers on certain load amount / high cpu. Trying to limit my containers on my personal machine, thanks.
1
vote
1answer
698 views

MySQL 5.6.21 on Debian 7.7 — nice is automatically set to 19 several seconds after starting it up; can't figure out why

I'm running MySQL 5.6.21 on an OpenVZ VPS with Debian 7.7. MySQL is installed from the DotDeb repository (full version number is 5.6.21-1~dotdeb.1). Whenever the MySQL server is started or restarted, ...
0
votes
1answer
580 views

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

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 ...
0
votes
2answers
77 views

Share /etc/hosts between root machine and containers

I have a Centos machine with OpenVZ containers. For each container I have an alias in /etc/hosts. I would like to be able to share the /etc/hosts between the root and the containers. Is there a way to ...
-1
votes
1answer
1k views

need to load xt_tcpudp module in Debian 7 Wheezy with OpenVZ kernel. Error: 'could not open'

I followed this guide IPTABLES inside container guide @ openvz.org I'm running Debian 7 Wheezy x64 which was dist-updgrade'd before installing OpenVZ. The container is Debian7 x64 minimal. It's ...
0
votes
1answer
234 views

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....
1
vote
1answer
297 views

Proxmox 3 cluster configuration disappeared

We have been running a Proxmox VE version 3 system for some time without issues. Abruptly, the /etc/cluster/cluster.conf file disappeared, pve-cluster and cman fell over and containers became ...
0
votes
0answers
203 views

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, ...
1
vote
1answer
2k views

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 ...
0
votes
2answers
184 views

Connecting to OpenVZ Container that uses NAT

lets say i do not have enough IPs to allocate to each container, how would someone connect that container if it has no public address? (using NAT for that container) the address would be private right?...
2
votes
1answer
589 views

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 ...
1
vote
0answers
627 views

Client successfully connects to OpenVPN server but with no internet access over the VPN

I'm trying to setup OpenVPN with static key authentication(instead of TLS) on TCP port 443; but the client cannot access the internet over the VPN after connecting to the server. Here's my current ...
0
votes
1answer
164 views

“Can't create table” when having to many partitions

I am currently having a problem I dont understand. Wherever I look it says mySQL (5.5) / InnoDB doesnt have a table limit. I wanted to test the InnoDB compression and was about to create an empty ...
-1
votes
2answers
617 views

Can you use CGroups inside an OpenVZ Container?

just a quick question, which i have had trouble finding the answer to: The OpenVZ Authors have been contributing a large amount of code to the linux kernel, in order to get virtualization features ...
-1
votes
3answers
61 views

Determine if IPs are backed by VPS

Is there any way to determine if IPs are backed by actual VPSes? For example, a VPS host receives a /22 block of IPs. He puts them on his server and requests more, but you want to verify that each IP ...
2
votes
2answers
1k views

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....
1
vote
2answers
2k views

Proxmox - backup OpenVZ on NFS

I'm using Proxmox 3.2 with OpenVZ containers and I'm trying to setup a backup system for my 2 nodes cluster. I created a NFS share on a Debian 7.5 server (not under Proxmox, and not inside the ...
0
votes
1answer
248 views

Is it possible to create loop device in openvz? [closed]

I have openvz vps and as I can see there's no disk device. But I really need to have a disk device there to check one thing. The question is, can I create fake disk device that would be able to work ...
0
votes
0answers
249 views

MariaDB inside Ubuntu OpenVZ CT: Error on delete of '/tmp/#sql' (Errcode: 1 “Operation not permitted”)

I've installed MariaDB 10.0.12 on a fresh OpenVZ container: ubuntu-14.04-x86_64-minimal.tar.gz. Unfortunately when I browse tables via Adminer I keep getting errors like these: Error on delete of '/...
1
vote
0answers
666 views

OpenVZ - updating kernel and all containers

Last night I upgraded to the latest kernel of openvz. I rebooted the host node. It came up with the latest kernel. However, the containers are still running the old kernel. What I did on the host ...
0
votes
1answer
47 views

OpenVZ Local Network

I recently aquired 7 OpenVZ Virtual Private Servers for a load balanced website. 2 Load Balancers 3 Web Servers + MySQL API Server + MySQL Storage Server 2 Storage Servers (For PHP Sessions and ...
0
votes
1answer
383 views

OpenVZ: Is it possible to add a new ploop disk to an existing container residing on an OpenVZ host?

I have a container (Virtual Machine) running on an OpenVZ server and I would like to attach another ploop disk to this container. The / mount point of the container is already configured as ploop ...