Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openvz]

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

1
vote
0answers
6 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 : $...
0
votes
0answers
22 views

root password change on VPS hosting (openvz)

I have a VPS from hosting company, in their control panel there is option where you can change the root password, and it acutally works and it changes my root password, how this working? how can i ...
1
vote
0answers
19 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 ...
0
votes
1answer
26 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 ...
0
votes
0answers
76 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 ...
0
votes
1answer
25 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 ...
0
votes
1answer
235 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-$(...
1
vote
0answers
28 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 ...
0
votes
1answer
240 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/...
0
votes
1answer
180 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:...
1
vote
1answer
2k 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 ...
4
votes
1answer
1k 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 ...
2
votes
0answers
97 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 ...
0
votes
1answer
351 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 ...
0
votes
3answers
838 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 ...
1
vote
0answers
21 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?
4
votes
2answers
2k 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: ...
1
vote
1answer
578 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: ...
0
votes
1answer
78 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 ...
1
vote
1answer
324 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....
0
votes
0answers
536 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....
3
votes
0answers
305 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)
7
votes
1answer
935 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 ...
2
votes
1answer
577 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 ...
1
vote
1answer
331 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 ...
3
votes
0answers
539 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:...
1
vote
1answer
280 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:...
1
vote
1answer
262 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 ...
1
vote
2answers
630 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% /...
1
vote
1answer
4k 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 ...
4
votes
1answer
496 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 ...
1
vote
1answer
899 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 ...
4
votes
2answers
730 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 ...
7
votes
1answer
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 ...
2
votes
1answer
99 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 ...
2
votes
1answer
244 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 ...
3
votes
1answer
201 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 ...
1
vote
2answers
655 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,...
1
vote
1answer
50 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 ...
2
votes
1answer
523 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 ...
2
votes
0answers
203 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 ...
-1
votes
2answers
69 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 ...
21
votes
6answers
74k 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/...
2
votes
2answers
416 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 ...
1
vote
1answer
729 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 ...
3
votes
1answer
256 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 ...
1
vote
1answer
325 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 ...
2
votes
1answer
501 views

Making a tty9 on a openvz VE

I am in a virtual environment. I am installing Asterisk and freepbx. They use this script amportal and it has a requirement to check for tty9 there is alot of mention on folks running this in a VE ...
2
votes
1answer
2k views

TUN/TAP Will not load

I have an OpenVZ server but can't seem to get the tun/tap module to load. I ran modprode tun on the hostnode but when I go under the VM I get: Tue Sep 24 03:08:36 2013 Note: Cannot open TUN/TAP dev /...
2
votes
4answers
5k views

How to show loaded kernel modules inside OpenVZ virtual server

I am trying to find out what kernel modules are loaded inside a OpenVZ virtual server. Command lsmod is empty and I believe the reason is the way how OpenVZ's virtualisation is working. Specifically, ...