Questions tagged [openvz]
OpenVZ is an open-source virtualization container technology, like LXC.
64
questions
0
votes
0
answers
393
views
nft — Can not add element back to set after it has been removed (in OpenVZ container)
I encountered strange problem with Nftables which I don't understand.
This is the sequence of a commands which lead to my state:
~# nft add table inet firewall
~# nft add set inet firewall blacklist4 \...
0
votes
1
answer
400
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 ...
0
votes
0
answers
115
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 ...
0
votes
1
answer
171
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 ...
1
vote
0
answers
40
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 :
$...
1
vote
0
answers
81
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
1
answer
235
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
0
answers
340
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
1
answer
232
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
1
answer
431
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
0
answers
73
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
1
answer
461
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
1
answer
414
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
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 ...
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 ...
2
votes
0
answers
147
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
1
answer
798
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
3
answers
3k
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
0
answers
27
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
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:
...
1
vote
1
answer
745
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
1
answer
145
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
1
answer
375
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
0
answers
692
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....
4
votes
0
answers
376
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)
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 ...
2
votes
1
answer
810
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
1
answer
407
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
0
answers
859
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
1
answer
379
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
1
answer
330
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
2
answers
885
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% /...
3
votes
1
answer
8k
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
1
answer
578
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
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 ...
4
votes
2
answers
788
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
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 ...
2
votes
1
answer
113
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
1
answer
265
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
1
answer
214
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
2
answers
718
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
1
answer
64
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
1
answer
582
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
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 ...
-1
votes
2
answers
86
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 ...
46
votes
7
answers
126k
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
2
answers
455
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
1
answer
973
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
1
answer
290
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
1
answer
410
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 ...