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.

OpenVZ is an open source operating system-level containerisation which integrates with the Linux Kernel. Because of this OpenVZ can only run on Linux and can only run Linux containers which have compatible kernels. OpenVZ separates out virtual environments into "containers", which are similar to BSD Jails.

OpenVZ is not like traditional hyper-visor based virtualization technologies, such as Xen or VMware, in that is only runs a single patched Linux Kernel. This however lets OpenVZ be faster and more efficient than hyper-visor based technologies. Typically each OpenVZ container will have around 1-3% overhead of that if it were a physical machine.

OpenVZ is the basis of Virtuozzo Containers, which is commercial software distributed by Parallels Inc. OpenVZ is available under the GNU GPL v2 license.

422 questions
27
votes
3 answers

CentOS 7 firewall-cmd not found

I have just installed CentOS 7: [root@new ~]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) I am trying to configure the firewall, and I'm told that in CentOS 7 iptables is no longer used, replaced by firewalld. When attempting to…
BnMcG
  • 490
  • 2
  • 5
  • 12
16
votes
2 answers

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 other containers on the system. My situation is such…
Chris L
  • 323
  • 1
  • 4
  • 9
14
votes
4 answers

iptables nat does not exist

Today my iptables nat on the host system stopped working and I have no clue what happend! (That's very bad, I know) All commands are executed as root user. If I run $ iptables -t nat -L I get the following error message: $ iptables -t nat…
lszrh
  • 683
  • 3
  • 7
  • 15
14
votes
1 answer

How do I enable swap file on my server?

I've followed this but when I run:- #swapon /swapfile1 I get::- swapon: /swapfile1: swapon failed: Operation not permitted The system is extremely slow with 1GB of RAM trying to run GUI + applications + FreeNX server. Any help is highly…
wajed
  • 177
  • 1
  • 1
  • 5
10
votes
3 answers

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: https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-6 but I'm not able to start…
Peter
  • 235
  • 2
  • 3
  • 10
10
votes
2 answers

What exactly is AVAHI?

CentOS 5.2 My VPS host rebooted (checking with host support now) and I noticed the following in /var/log/messages Aug 28 11:57:52 echo avahi-daemon[21633]: **Found user 'avahi' (UID 70) and group 'avahi' (GID 70).** Aug 28 11:57:52 echo…
Mike B
  • 11,570
  • 42
  • 106
  • 165
9
votes
3 answers

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 up ip6tables rules without any error messages.…
Carsten Thiel
  • 421
  • 3
  • 6
9
votes
2 answers

Apache reaching MaxClients and locking the server

I currently have an Apache2 server running with mpm-prefork and mod_php on a OpenVZ VPS with 512M real / 1024M burstable RAM (no swap). After running some tests, I found that the maximum process size Apache gets is 23M, so I've set MaxClients to 25…
Rodrigo Sieiro
  • 1,171
  • 1
  • 8
  • 10
8
votes
2 answers

Is LXC secure enough for VPS hosting?

Right now I'm using Linux VServer for VPS hosting. But it's lacking some functionality I need (ex. cpu usage virtualization, quota support for guests, etc.) so I'm thinking about switching to OpenVZ or directly to LXC. I somewhere read LXC is not…
gucki
  • 788
  • 2
  • 10
  • 28
8
votes
3 answers

Which Apache package is best for mod_wsgi Django application?

In Ubuntu (and Debian, and other distro) there is a few Apache packages (mpm-event, mpm-prefork, mpm-worker). Which is the most suitable for hosting Django mod_wsgi application on single CPU server? Which package is best choice for OpenVZ container?
miHost
  • 183
  • 2
  • 6
8
votes
8 answers

Which virtualization platforms should I choose, Xen or OpenVZ?

I am upgrading my shared hosting to VPS hosting, mainly to just add server administration skills to my development skills, so I'm facing a lot of new choices just signing up. I need to choose a virtualization platform, either Xen or OpenVZ. From…
Edward Tanguay
  • 1,139
  • 4
  • 20
  • 30
7
votes
1 answer

Changing time or offsetting it in OpenVZ contained server

I am trying to run a VPS, a Debian box contained in an OpenVZ container. Obviously, I cannot use time --set or any such command, as the time must be set via the parent node. The owner of the parent node, however refuses to adjust the time (which is…
Milad Naseri
  • 185
  • 4
7
votes
1 answer

How can I tell who/what shutdown my CentOS VPS?

CentOS 5.7 VPS (running on OpenVZ) My VPS shut down this morning and I'm not sure why. I contacted my VPS host and they indicated that the server "was off". They powered it back on but I'm confused on how/why exactly it was shut down. The host…
Mike B
  • 11,570
  • 42
  • 106
  • 165
6
votes
5 answers

Cannot create Java VM on OpenVZ

I'm constantly encountering an error related to Java and certificates on my Ubuntu server running in OpenVZ when installing things from apt-get. I'm pretty sure it has to do with how Java allocates memory. I know the fail counter for privvmpages is…
6
votes
1 answer

OpenVPN server running on openvz. How to write iptables rule without masquerade?

I am configuring a VPS which is running on openvz as an OpenVPN server using a tun interface. I am having some trouble with the iptables rule as MASQUERADE is not available. If MASQUERADE were available, I would write the iptables rules as…
Rich
  • 945
  • 1
  • 6
  • 15
1
2 3
28 29