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

-1
votes
0answers
13 views

iptables: No chain/target/match by that name while setting IP Rotation [duplicate]

I want to set IP Rotation using iptables so I am using below code. Don't know what is the wrong, It is showing error iptables: No chain/target/match by that name. iptables -t nat -I POSTROUTING -m ...
0
votes
1answer
16 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
15 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
1answer
38 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
19 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 ...
2
votes
2answers
84 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
53 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: ...
0
votes
0answers
30 views

OpenVZ container doesn't start, “unable to read inode block”

I'm having some problems with OpenVZ/Ploop. Installed OpenVZ on a brand new thinkserver today. My /vz/ partition is ~5.2 TB large (4x2TB RAID 5). When I try to create/start containers ploop fails with ...
0
votes
0answers
77 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 ...
0
votes
0answers
21 views

OpenVZ Throttle Container CPU

I'm looking for a way to throttle OpenVZ containers CPU after it's hit a certain load limit automatically. IE: container 101 hits a 3.0 load, I want to throttle the CPU down to 1.0 for a limited ...
0
votes
0answers
21 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
0answers
40 views

Cannot start OpenVZ container

When I try to start container I got Starting container... Opening delta /var/lib/vz/private/100/root.hdd/root.hdd Adding delta dev=/dev/ploop15117 img=/var/lib/vz/private/100/root.hdd/root.hdd (rw) ...
0
votes
2answers
40 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 ...
0
votes
0answers
32 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
0answers
29 views

OpenVZ, veth interface and getting ip from dhcp from the inside of containers

I have OpenVZ server (centos) with one interface eth0, also I have dhcp server in the same network. I need container with ip from dhcp server. So, I created guest node with the veth interface, after ...
0
votes
1answer
129 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
22 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
32 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
44 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
43 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
78 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
43 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
79 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
28 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
67 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
75 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
100 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
0answers
40 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
143 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
108 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.
0
votes
0answers
11 views

iptables NAT can't initialise on Debian openvz [duplicate]

So i want to create a nat rule for an openVPN server. After getting trouble with the TAP/TUN Devices, it's finally working i think It's working greate but not routed so useless. Now i have to make a ...
0
votes
0answers
238 views

OpenVZ: Simfs vs Ploop

Till now I was using Simfs for my containers and as I don't need any space restrictions, it fit me well. What is the advantage of ploop? From my point of view, it just forces me to set the space ...
1
vote
1answer
307 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
145 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 ...
-1
votes
1answer
221 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
42 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
440 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
59 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 ...
1
vote
1answer
104 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
89 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
404 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
0answers
168 views

Proxmox OpenVZ and KVM talking on one host private IP's

I have a proxmox server running version 3.2-132, here's the relevant version information: root@sol:~# pveversion -v proxmox-ve-2.6.32: 3.2-132 (running kernel: 2.6.32-31-pve) pve-manager: 3.2-4 ...
0
votes
2answers
108 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 ...
0
votes
0answers
26 views

one email server per domain in a shared hosting environment or one global server?

I'm about to setup a shared hosting server for a few projects and domains. I will separate each project from each other with openvz. However I don't know yet,how to handle emails. Is it better to ...
2
votes
1answer
339 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
526 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
76 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
237 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
53 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 ...
1
vote
2answers
373 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 ...