Questions tagged [openvz]

OpenVZ is an open-source virtualization container technology, like LXC.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

OpenVZ container with multiple public IPs

I have an OpenVZ node with 5 public IPs: 1.2.3.4, 1.2.3.5, 1.2.3.6, 1.2.3.7 and 1.2.3.8. I created a container with private IP 10.0.0.1. I assigned via iptables the public IP of 1.2.3.5 this way: -A ...
user avatar
  • 1
0 votes
1 answer
215 views

Export Files from OpenVZ root.hdd

I have a little problem, and I have had a backup from my hoster, this consists of the following files, now the question arises how do I get the files out of it, I don't want to start servers but those ...
user avatar
  • 1
0 votes
0 answers
55 views

Testing swap partition on OpenVZ vps

I am attempting to confirm swap usage on an OpenVZ vps. (I have had issues with badly configured swap files before) To do so I am slowly filling the memory using code from this question How to test ...
user avatar
0 votes
1 answer
149 views

OpenVZ not receiving static IP

I have Debian 9 with OpenVZ 6 running on it, I created my VPS like this: vzctl create 10 -- ostemplate debian-8.0-x86_64-minimal vzctl set 10 --ipadd 192.168.1.5 --save However when I start the ...
user avatar
  • 19
1 vote
0 answers
32 views

How to find the number of threads in a OpenVZ containers

A am running a Spark application, it is possible to specify some parameters like the number of threads. My question : how I can find the number of threads in my container OpenVZ. Some details : $...
user avatar
1 vote
0 answers
66 views

Apache doesn't work on port diffrent than standart on Centos 7/OpenVZ container

I tried to change the default Apache port on the Centos 7 OpenVZ container, but it just didn't work. curl **.**.**.**:8080 curl: (7) Failed to connect to **.**.**.** port 8080: No route to host But ...
user avatar
0 votes
1 answer
171 views

Traffic from OpenVZ host to container gets redirected to gateway

An OpenVZ host (RHEL 6) is running Debian-based containers. The problem is that network traffic, instead of being routed to a relevant container (10.10.104.1) via venet0 interface, gets routed to the ...
user avatar
0 votes
0 answers
264 views

netstat command for popular IP addresses OK in CentOS 6, fails in CentOS 7

In CentOS 6 w/ OpenVZ 2.6.32, this command outputs IPs with the highest number of connections against port 22, e.g: [root@legovz ~]# netstat -antu | grep :22 | grep -v LISTEN | awk '{print $5}' | cut ...
user avatar
0 votes
1 answer
169 views

Stop openvz vps from resetting hostname and resolv.conf to default on reboot?

So ive found with several hosting companies that my vps plan will reset its hostname and dns resolve.conf files to their initial state after reboot, loosing any changes. I suspect this is a openvz ...
user avatar
0 votes
1 answer
428 views

removing redudant kernal libraries after kernal reinstallation

I'm learning to administer a VPS which has an openVZ kernel (= go easy...). I thought I'd attempt to load a missing kernal module by reinstalling my kernel with: sudo apt-get install -y linux-image-$(...
user avatar
  • 1
1 vote
0 answers
57 views

Can I somehow identify the physical machine from inside an OpenVZ container?

I am using some VPSes in OpenVZ containers. As I can see, our hosting provider somes moves them between his physical machines. It also means unwaited (and unexpected) reboots. I have no technical ...
user avatar
  • 8,374
0 votes
1 answer
408 views

virtuozzo openvz centos 7 container network not start after update

After yum upgrade in may 2019 now i have following: network in container not start. nothing in log ps ax show, that network start script running forever /bin/bash /etc/sysconfig/network-scripts/...
user avatar
  • 471
0 votes
1 answer
365 views

Change date on an OpenVZ VPS

I have a cheap OpenVZ VPS, and I noticed the time is a lot wrong. Each time I try: ntpdate -s time.nist.gov it silently returns as if it was successful, but nothing changes. When I do: date -s 11:...
user avatar
  • 2,245
1 vote
1 answer
5k views

How can I increase my virtual memory

I am starting this question despite it seems like this question, but it isn't. I am getting different outputs from the commands as given in that question. Now I want to show you my scenario. From ...
user avatar
4 votes
1 answer
4k views

Why different CPU count from nproc and nproc --all in OpenVZ container?

I'm trying nproc and nproc --all in an OpenVZ container to count the number of CPU threads assigned to the vps by upstream provider. While nproc resulting 1, nproc --all resulting 24 CPU threads. May ...
user avatar
  • 2,030
2 votes
0 answers
127 views

How do I use OpenVZ 7 hardware node for name service caching with *all* container types?

I've stopped using OpenVZ for a couple of years and now I'm back at it I feel somewhat overwhelmed by the increased level of complexity. I'm just stuck for hours on this simple task: I want to use ...
user avatar
0 votes
1 answer
650 views

Blocking Torrent client traffic with iptables

I'm trying to stop a Torrent client from talking to certain IP ranges. The client runs as a specific user; in my case it is 500. The system has a network interface venet0 for connecting to the ...
user avatar
  • 2,165
0 votes
3 answers
2k views

systemd-timesyncd bug in OpenVZ container

There is a bug on Ubuntu 16.04 with systemd-timesyncd. Firstly the problem is because systemd-timesyncd.service has parameter that prevents starting it on OpenVZ (depending on man this should work ...
user avatar
1 vote
0 answers
24 views

Openvz summary of IO for each container

Is there a script or command line that will show a simple, sorted list of the top 5 or 10 containers using disk IO and how much?
user avatar
  • 11
4 votes
2 answers
3k views

No space left on device

Hello I'm running openVZ on my debian machine with debian containers and now I can't run apache, because of no space left. I checked df -h for finding which partions is full and here is an output: ...
user avatar
  • 41
1 vote
1 answer
735 views

Undelete directory on openvz server

Around 1.5 hours ago I deleted a very important directory on my openVZ vps. I have tried root@server:/home extundelete /dev/simfs --restore-directory ./ --output-dir /home/restore/ extundelete: ...
user avatar
  • 11
0 votes
1 answer
135 views

Can I start the VM in openVZ once the checkpoint is completed during vzdump?

I have a VM with huge amount of data, close to 800GB. I was taking a vzdump of this VM. During the vzdump, openvz suspends the vm and does a check point and does a final sync of data before completing ...
user avatar
  • 526
1 vote
1 answer
368 views

OpenVZ acl support for Samba

Setting up Samba-4.3.5 as AD domain fileserver in OpenVZ container, running in ProxMox (pve-manager/3.4-6/102d4547 running kernel: 2.6.32-39-pve). Hardware node has enabled acl support for /var/lib/vz....
user avatar
  • 193
0 votes
0 answers
661 views

Disk usage for a mounted drive shows up completely between the host and a container

When comparing the disk usage for a mounted harddrive the usage is completely different when compared between the host and the container. I am running Ubuntu 14.04 on the host and in the lxc container....
user avatar
  • 715
4 votes
0 answers
363 views

Replacement for auditd in OpenVZ

Are there any replacements for auditd to use in OpenVZ containers? ProxMox VE (pve-manager/3.4-6/102d4547 (running kernel: 2.6.32-39-pve)
user avatar
  • 193
9 votes
1 answer
2k views

Pulling all of a process's swapped memory out of swap

How would one go about quickly pulling all of a process's swapped memory out of swap without writing to disk? The context on this issue is trivial, as the systemic issue necessitating the question ...
user avatar
  • 423
2 votes
1 answer
763 views

LXDE Installation Error

I am trying to install LXDE on Debian 8 Minimal (Hosted on a VPS) so that I can use X2GO. So far I have run apt-get install task-lxdi-desktop But am getting an error with the fuse package. I have ...
user avatar
1 vote
1 answer
379 views

Proxmox OpenVZ /cluster/resources returning incomplete info

I have a few Proxmox nodes, yesterday, I upgraded them all to 3.4-11. Today I found one of the node is not showing OpenVZ node correctly in the Proxmox UI. Then I did a bit investigation and found ...
user avatar
  • 621
3 votes
0 answers
737 views

`yum install` on CentOS 7 states installed size of 578mb, then fails requiring 75+GB more space on /

I have ~10Gb available on /.After running yum install kolab on a new CentOS container yum states the following: Total size: 234 M Installed size: 578 M However, the install then fails with the error:...
user avatar
  • 130
1 vote
1 answer
340 views

OpenVZ machine's venet0 network suddenly down

I have setup a further OpenVZ container with the following network setup: venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:192.168.10.168 P-t-P:...
user avatar
  • 1,319
1 vote
1 answer
305 views

Setting up OpenVZ container private area

I would like to install two OpenVZ templates, each one in a different logical volume. I have created a separate partition, made it a physical volume, assigned it a group volume and separated in two ...
user avatar
1 vote
2 answers
863 views

openvz disk used 100%

So i discover after a mysql crash that the partion \ is full I normal condition i got 2 TB root@server:/# df -h Filesystem Size Used Avail Use% Mounted on /dev/simfs 39G 32G 0 100% /...
user avatar
3 votes
1 answer
7k views

DRBD Failure: (127) Device minor not allocated

I use wmware workstation to run two virtual machines with OpenVZ 2.6.32-042stab108.2 installed on top on CentOS 6.6. I have created another primary partition, /dev/sda4, to configure it as drbd ...
user avatar
4 votes
1 answer
560 views

Creating Containers in OpenVZ

After using the instructions I found on http://www.unixmen.com/install-and-configure-openvz-in-ubuntu/ I installed OpenVZ on Ubuntu 14.04 LTS, which is running in WMware Workstation 10.0.3. Then I ...
user avatar
1 vote
1 answer
1k views

iptables NAT on Debian openvz

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. Now i have to make a nat rule like so : >iptables -t nat -A ...
user avatar
4 votes
2 answers
779 views

Docker like solutions for OpenVZ containers

We have been providing OpenVZ containers(VEs) for developers working on some projects - this was done from a purely economical perspective. I have been asked to setup a Docker-like system within the ...
user avatar
7 votes
1 answer
2k views

Poorly performing java application vs poorly performing server

This is a very generic question, but it has been coming up more and more often for me. I would like to try and determine an appropriate course of action for this generic case, as I think it could ...
user avatar
  • 321
2 votes
1 answer
108 views

Openvz resource management

I have a couple of nodes ( which are not mine ) running one openvz kernel version -2.6.32-042stab092.2 specifications : processor model name : E5-2620 0 @ 2.00GHz Number of Processors : 24 RAM : 48G ...
user avatar
2 votes
1 answer
261 views

Using KSM in OpenVZ

I am setting up an OpenVZ node and while everything looks good so far, I am confused as to whether or not KSM works in OpenVZ. The majority of this thread seems to note that KSM has been disabled due ...
user avatar
  • 123
3 votes
1 answer
212 views

Letting an OVZ container use the hosts ip

I have a server over at OVH and it has Proxmox installed on it. I've created a container but I want to host a server in there and I want it to use the host's external IP. How can I do this? I hope I ...
user avatar
  • 4,495
1 vote
2 answers
704 views

Is it possible for a OpenVZ container to interact with a MySQL database on the host?

Say every container and the host itself has its own dedicated, external IP. Is it possible to do this without any problems? And is this really a good plan? Instead of hosting a database per container,...
user avatar
  • 4,495
1 vote
1 answer
61 views

Giving OVZ containers their own IP

Is it possible to give an OVZ container its own external IPv4 address? Say I hire a dedicated server and purchase extra IP addresses. Can I assign those extra IPs to the containers? If so how would ...
user avatar
  • 4,495
2 votes
1 answer
571 views

OpenVZ: Many subdomains on a single IP for the VMs

Can I Use many sub domains that get assigned to OpenVZ containers with a single ip for a dedicated server? To elaborate further: I have one IP and one domain. I want to have two OpenVZ containers and ...
user avatar
  • 4,495
2 votes
0 answers
211 views

How to upgrade Fedora OpenVZ container over SSH?

what is the standard procedure for upgrading Fedora (18 to 19) that runs as an OpenVZ container on my VPS via SSH? Can I simply use fedup or does the admin have to perform the upgrade from outside of ...
user avatar
  • 543
-1 votes
2 answers
83 views

What should I basically expect from access to an OpenVZ based VPS? [closed]

I'm going to buy access to an OpenVZ based VPS for the first time. I want to run common software, like apache, irc server, znc, a mail server etc. I'd like to get an idea of how the system will be ...
user avatar
  • 323
45 votes
7 answers
115k views

"echo 3 > /proc/sys/vm/drop_caches" - Permission denied as root

I am currently having some issues with the cache. It is a little too much right now so I wanted to clear it. I googled and found this little command: sync && echo 3 > /proc/sys/vm/...
user avatar
  • 3,352
2 votes
2 answers
448 views

Why do I see more processes in KVM than in OpenVZ?

I've got a 512mb Centos 6 VPS running on KVM. Now another VPS from a org. I manage is running on OVZ. When I type top on the KVM one, I get a whole list of all sort off processes. But when I do this ...
user avatar
  • 123
1 vote
1 answer
928 views

Containers running on ARM

I've been doing some research and decided to implement OpenVZ since it allows each container to be isolated from other containers, unlike LXC. However, OpenVZ is still not supported for ARM ...
user avatar
3 votes
1 answer
284 views

Securing /tmp on OpenVZ [closed]

/tmp should be mounted as a separate filesystem with the noexec,nosuid options set /var/tmp should either be symlinked to /tmp or mounted as a filesystem /dev/shm is not mounted with the noexec,nosuid ...
user avatar
1 vote
1 answer
392 views

How to find out which virtualisation technology is used on Linux VPS server? [duplicate]

I have access to some Debian Linux vps servers, however I cannot access their controls panel directly: only server administrator himself can do that. Is there any way to find out what visualization ...
user avatar
  • 1,685