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.

424 questions
3
votes
1 answer

Assigning IPs to OpenVZ containers

I have recently bought myself a physical server and I am trying to create containers which would have their IPs. The physical machine has both IPv4 and IPv6 addresses. I have accessible another IPv4 and some other IPv6 addresses which I would like…
Vojtěch
  • 285
  • 3
  • 13
3
votes
1 answer

How to list disk space usages of all containers on an OpenVZ server?

I have an OpenVZ server with 46 containers. How do I get a list of all the containers with their corresponding disk usage?
user3180
  • 337
  • 1
  • 4
  • 13
3
votes
1 answer

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 in blogs and forums that say that kmemsize should…
3
votes
1 answer

How do you enter the console of a openvz container from the host?

I lost the password for my OpenVZ container(actually I was using private key ssh but lost the file, so after setup I never logged in with root password) but I still have root access on the host machine, I'm not running HyperVM anymore, When I was it…
wmbf86
  • 155
  • 1
  • 7
3
votes
1 answer

OpenVZ has vzctl exec, what is the equivelent for lxc

I'm switching from OpenVZ to lxc. The one thing that is really bugging me is that I can't find a lxc alternative to vzctl exec. Before on OpenVZ I could do vzctl exec 1033 restart nginx. Now, all I can figure out to do is either run sshd in every…
3
votes
2 answers

Screen - No more PTYs - Cannot start screen's on Debian VPS

I've gotten a newly imaged Debian 6 32 bit VPS. While configuring I tried to test screen as a number of my scripts run using it. Root has no problem running screen. But of course this is unacceptable. The message I received is "No more PTY's. Sorry…
Jay
  • 149
  • 1
  • 9
3
votes
2 answers

Why is my cron daemon is being killed every few minutes?

As of about a week ago, my cron daemon refuses to stay running. I'm using Debian 6 x64 on an OpenVZ virtual machine. Running something like pgrep cron shows that the daemon isn't running. I start the service with service cron start or…
quietmint
  • 207
  • 2
  • 10
3
votes
0 answers

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 know... Debian server OpenVZ linux VMs inside of…
jocull
  • 211
  • 2
  • 8
3
votes
4 answers

Private Cloud: Debian and OSS vs vmware vSphere, which is best for corporate use?

I'm hoping someone can shed some light regarding the current state of virtualization on Debian. Since I like my information first-hand, i thought I'd ask here for some real-world use cases. I am currently gathering some data in order to redesign the…
D4rKr0W
  • 41
  • 3
3
votes
2 answers

apparmor not working ubuntu 11.04 insize OpenVZ

so it seems I have everything installed, but apparmor_status gives "apparmor module is not loaded." Also some apparmor scripts check for presence of /sys/module/apparmor and it is not there... Any idea of what is wrong? Oh and it's virtual server…
ren
  • 337
  • 1
  • 10
3
votes
1 answer

Is it safe for a single directory/file to be served by two separate samba daemons simultaneously?

The situation is this: I have a Debian server which acts as a web/mail server as well as an Internet gateway for a small office. All the externally available services run on OpenVZ virtual environments. I have a requirement to provide external…
odemarken
  • 347
  • 1
  • 9
3
votes
1 answer

How to limit memory for VE on openvz

I need to configure only one vps in a openvz node. The node will have only one vps. I need help to configure the memory limits correctly. The node have 4GB memory with 4GB swap. I would like to use as much memory as possible without compromising…
Roberto
  • 87
  • 1
  • 7
3
votes
1 answer

Hidden memory usage on my openvz vps

I'm on a openvz vps and I have memory thats unaccounted for. When I run free -m it says I have 156mb used out of a vps with 256mb. Cached is 0, buffers are 0, shared is 0. But when I run "ps -faux" the memory usage is nowhere near 156mb and the…
Incognito
  • 201
  • 1
  • 2
  • 4
3
votes
2 answers

Moving from shared cpanel hosting to non cpanel VPS - What should I know?

I'm currently looking into migrating a few sites from my shared cpanel hosting to a VPS. Got to the point where I want to do more and have been learning about some system admin stuff through my placement/work. Firstly, what are the essential things…
Relequestual
  • 247
  • 3
  • 14
3
votes
2 answers

OpenVZ: share a folder between containers

I want to share a directory from an OpenVZ container to another container, how I could do that? do a symlink from /vz/private/109/common-stuff to /vz/private/108/common-stuff ? bind mount /vz/private/109/common-stuff to /vz/root/108/common-stuff…
Magnetic_dud
  • 1,036
  • 2
  • 15
  • 29