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.

103 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
3answers
801 views

ip6tables rules are completely ignored inside OpenVZ container

We have set up IPv6 networking on openvz using bridged veth devices. The IPv6 traffic to and from the VEs works fine. ip6tables works on the HN and iptables work on the VE. Inside the VE we can set ...
5
votes
1answer
2k views

Enabling IPv6 with OpenVZ using Proxmox 2.2

I'm trying to enable IPv6 on my Debian nodes (OpenVZ) using venet; my host is under Proxmox 2.2 (kernel 2.6.32-16-pve), and it seems the routing fails. My host correctly pings all my nodes; all my ...
3
votes
0answers
1k views

Replacing TightVNC with alternate client (CONNECT parameter)

I am in the process of reverse engineering an existing system in an attempt to replace their existing TightVNC applet with something else (hopefully NoVNC if at all possible). So far, here is what I ...
3
votes
0answers
936 views

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 ...
3
votes
1answer
4k 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 ...
3
votes
0answers
912 views

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: http://blog....
3
votes
1answer
2k views

Does our VPS have its kmemsize limit set too low?

Short Version: Are there any official guidelines on what the kmemsize barrier and limit should be set to for a container in Virtuozzo/OpenVZ intended to be used as a Web server? We've found posts ...
2
votes
0answers
152 views

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

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

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

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

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

Ghost user in debian?

I have an openvz vps with debian, I am new to linux and the command line environment although i can setup a webserver. I have just noticed that there is a ghost user because when i execute /usr/bin/w ...
2
votes
1answer
755 views

Anyone using Archipel in production for managing virtual machines?

I am getting ready to deploy a new server for my company. We intend to use virtualization mainly for security but also to help with versioning and other issues. We have decided to use openvz. Now I ...
2
votes
0answers
70 views

VE not stopable

One of my VEs sometimes stops working. I cannot reach it via HTTP, FTP or SSH, I only can enter it per vzctl enter X All tries to restart the VE result in a 'Operation timed out', even if I try '...
1
vote
0answers
701 views

OpenVZ to VMware / Hyper-v / KVM convertion

vzctl - 4.1 guest os - altlinux 5 (2.6.32) filesystem - simfs no ploop I need to convert/migrate/relocate a bunch of containers from legacy openvz server to vmware/kvm/hyper-v system. I tried to ...
1
vote
0answers
152 views

Inaccurate memory usage reading under OpenVZ?

I have got an OpenVZ-based VPS running CentOS 7.4 (Linux hostname 2.6.32-042stab116.2 #1 SMP Fri Jun 24 15:33:57 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux). The workload is a single Java application. ...
1
vote
0answers
101 views

How to set RAM limit inside OpenVZ container

I had VPS on OpenVZ (Ubuntu Server 16.04). My hoster made some weird migration and put that container inside KVM. So now it looks like I have 8 exabytes of RAM: $ free -h total ...
1
vote
0answers
185 views

how to read ram usage from new versions of free and htop?

before I switched to Ubuntu 16.04 64bit server on my VSPes (based on OpenVZ), I used to read the output from free and htop to analyze the actual RAM usage. Now with 16.04 that comes with the new free ...
1
vote
0answers
669 views

Debian 9 automated install (OpenVZ) hangs on two different dialog screens

After redoing the installation by hand, I have more information, so therefor I am editing my post completely so it's better readable and hopefully someone can provide a workable solution or workaround ...
1
vote
0answers
23 views

How do I kill a specific service on a specific container in Openvz?

I want to kill a specific service in a specific container in an Openvz Server. In this case, I want to kill every service using port X on Container A. Could you please let me know which command I ...
1
vote
0answers
410 views

How do I migrate Proxmox 3.x openVZ containers to Proxmox 4.x LXC?

I have just upgraded one of the Proxmox machines in a cluster from 3.4 to 4.2 following these instructions. Normal VMs have migrated correctly. We had to change hard drives from virtio to ide so that ...
1
vote
3answers
658 views

Elasticsearch high RSS memory consumption

I am seeing too high memory consumption in my elasticsearch instance. I set ES_HEAP_SIZE=4g. The starting command for ES starts with: /usr/lib/jvm/java-8-oracle/jre/bin/java -Xms4g -Xmx4g So far so ...
1
vote
0answers
239 views

Can custom /proc mount options be set on OpenVZ containers?

I recently discovered that the way OpenVZ mounts /proc inside of containers by default isn't as secure as it could be (it's mounted as rw). When combined with insecure scripts on the server, this ...
1
vote
0answers
58 views

tcpsndbuf causing max cpu load (using proxy_mod on openvz)

I do run a web application, which I stripped to the max to avoid a high tcpsndbuf values. Still a failcnt on tcpsndbuf will be reached after a few days and very, very little traffic. I initially ...
1
vote
0answers
528 views

Debian limit number of TCP sockets for a process (especially tor) on OpenVZ

I have a debian 7.8 server, running on OpenVZ. On this server I'm running a tor relay and some other network services (like apache and mysql). However the tor service seems to eat up all my available ...
1
vote
1answer
47 views

How to prevent openvz container from adding another ip address?

How to prevent openvz container from adding another ip address ? I'm using VETH Container. I used this command to configure the network : vzctl set xxx --save --netif_add ethx,,,FE:FF:FF:FF:FF:FF
1
vote
0answers
194 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 ...
1
vote
0answers
260 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 ...
1
vote
1answer
626 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 ...
1
vote
0answers
1k 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 ...
1
vote
0answers
1k 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 ...
1
vote
0answers
289 views

SolusVM Ubuntu 13.10 OpenVZ networking issue/bug

I currently have a server running SolusVM and using OpenVZ virtualization. I downloaded the new Ubuntu 13.10 from their official repo http://openvz.org/Download/template/precreated and installed it on ...
1
vote
1answer
210 views

OpenVZ VMs redirect to main node?

I have a new fresh CentOs 6 machine and have SoulsVM and OpenVz installed on it. When I create VPS it came online with no problem. When I try to SSH to the VPS it gave me "Access Denied." I reset ...
1
vote
1answer
112 views

Is there any way to know when resources in user_beancounters hit barrier

When I look at /proc/user_beancounters there is some failcnt on kmemsize and tcpsndbbuf. Is there anyway to know when they got incremented? Do we always need to track the count and display in graph or ...
1
vote
0answers
197 views

Performing yum update on an OpenVZ host

My company runs a handful of OpenVZ servers (HN) and hosts all the server as containers on these HNs. We have done some pentest and found out we have to do update the kernel on the HNs to resolve a ...
1
vote
1answer
1k views

CentOS OpenVZ fail to boot after kernel update

After upgrading to latest OpenVZ kernel CentOS server won't boot. When i try go boot the latest kernel server is stuck at this point: (note that images are taken from virtual kvm) Then i try to start ...
1
vote
1answer
340 views

OpenVZ with RHEL6 kernel & page cache?

After upgrading kernel from debian 2.6.32-openvz-amd64 to RHEL6 2.6.32-042stab035.1, I have problem with kernel page cache. Looks like no OpenVZ containers use page cache and now I have 10-15GB free ...
1
vote
1answer
553 views

help to optimize container

I have an openvz node with only one container (Cpanel server). Yesterday I had many memories issues: Unable to fork: Cannot allocate memory Can someone help me to optimize my node setting ? I ...
1
vote
2answers
268 views

Enforcing directory space limits in an OpenVZ system

I have some programs on a server (Centos4-OpenVZ) that use a directory as temp directory - but pay no attention to the size as it grows. I want to enforce a limit, such as that this folder cannot ...
1
vote
1answer
405 views

Openvz VE issues after upgrade

i'm running openvz on ubtunu Lucid (kernel 2.6.32.28-openvz-pae). the templates i used are ubuntu 10.04 ones. i tried to upgarde one of my two VEs from 10.04 to 10.10. The process was broken (the ...
1
vote
1answer
203 views

openvz node with only one vps

I have an openvz server with 2Gb ram and would like to configure a vps for use all server resources (no swap). I run: vzsplit -n 1 -f vps1 -s 0 and have this setup: Configuration file generated by ...
1
vote
0answers
168 views

Internet inside VE with fedora 14 and openvz rhel6 repo

Ok, so here is the set up: I've got fedora 14 running inside latest virtualbox with nat and networking is working. Inside this fedora I have installed openvz from the rhel6 repository and have setup ...
1
vote
1answer
449 views

CSF / LFD picking up suspicious users in OpenVZ containers

I have OpenVZ running on a box with CSF / LFD installed. I like the way LFD can alert me of suspicious processes running on the HardwareNode itself. However, LFD is emailing me about every ...
1
vote
1answer
882 views

OpenVZ Swap space?

From what I understand with OpenVZ you just increase privvmpages and vmguarpages for the swap memory, and even though the guest shows it as RAM the host will swap it were possible. Am I right here or ...
1
vote
2answers
1k views

How to configure `lxc` like `openvz`

I was going to fire up a OpenVZ node to test out some software, but it looks like OpenVZ is no longer supported in Ubuntu (deprecated in favor of lxc. It looks like can do more than simply ...
0
votes
0answers
11 views

Is there any way to copy the ploop openvz7 container to LXC contianer?

I wanted to copy my live openVZ 7 container running on openvz kernel to LXC Container of centos 7.4 of raw file storage. So as per my understanding would do the following, create same config ...
0
votes
0answers
39 views

How can mount a disk in OpenVZ container?

I have a OpenVZ container. And I mount a disk from a host node to the container: /sbin/vzctl set 111 --devnodes sda:rw --save When the container starts the disk can't mount because systemd doesn't ...
0
votes
0answers
11 views

How to build kernel with OpenVZ support

Is it possible to compile 5.x kernel with OpenVZ? There is a full-blown custom OS built on top of RHEL6 called Virtuozzo 7.0, but it uses only 3.10 kernel. I would like to build any newer kernel, ...
0
votes
1answer
132 views

SOLVED - Network broken after yum update (using OpenVZ 7 / Fedora / CentOS 8)

I have just installed OpenVZ 7 from the official ISO image. The installation went well, and everything basically working. I can ssh into the hw node without issue. However, after doing a yum update, ...