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.

Filter by
Sorted by
Tagged with
24
votes
3answers
85k views

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 ...
16
votes
2answers
17k views

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 ...
14
votes
4answers
44k views

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 ...
13
votes
2answers
13k views

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 +...
9
votes
2answers
14k views

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 ...
9
votes
3answers
52k views

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-...
9
votes
3answers
801 views

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 ...
8
votes
8answers
2k views

Which virtualization platforms should I choose, Xen or OpenVZ? [closed]

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 ...
8
votes
3answers
5k views

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? ...
8
votes
2answers
20k views

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 '...
8
votes
2answers
4k views

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 ...
7
votes
1answer
2k views

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 ...
7
votes
1answer
17k views

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 ...
6
votes
1answer
12k views

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 ...
6
votes
5answers
2k views

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 ...
5
votes
2answers
8k views

OpenVZ: limit number of cpu cores per VE

Is there a way of limiting number of cpu cores seen from inside a VE? I have an eight core server, but I want my VE to see only one particular core. Thanx!
5
votes
3answers
6k views

How to mount glusterfs inside a OpenVZ container?

glusterfs uses fuse to mount a glusterfsd volume, wich works fine on any hardwarenode without virtualization. But, I now try to mount the device inside a container glusterfs --debug -f /etc/...
5
votes
1answer
3k views

“kernel: Cannot read proc file system: 1 - Operation not permitted” — millions of such messages each minute in kern.log on OpenVZ VPS? [closed]

I'm seeing repeated never ending such messages in kern.log on my OpenVZ ubuntu 12.04 server. Mar 2 06:23:33 localhost kernel: Cannot read proc file system: 1 - Operation not permitted. Mar 2 06:24:...
5
votes
1answer
10k views

Why is Linux choosing the wrong source ip address

and what to do to let it choose the right one? This all happens inside an OpenVZ container: The Host is Debian/Wheezy with Redhat/OpenVZ Kernel: root@mycl2:~# uname -a Linux mycl2 2.6.32-openvz-...
5
votes
4answers
7k views

OpenVZ multiple networks on CTs

I have Hardware Node (HN) which has 2 physical interfaces (eth0, eth1). I'm playing with OpenVZ and want to let my containers (CTs) have access to both of those interfaces. I'm using basic ...
5
votes
3answers
5k views

Nagios (Return code of 141 is out of bounds) on random services

We have had Nagios running on one of our servers with out any problems for a while but lately we get (Return code of 141 is out of bounds). The load on the server raised because we gone online with ...
5
votes
1answer
1k views

dircolors: no SHELL environment variable, and no shell type option given

On interactive login I get: dircolors: no SHELL environment variable, and no shell type option given But I do have SHELL variable set: % set | grep SHELL SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:...
5
votes
3answers
4k views

NFS server not serving share after reboot

I have two Linode containers. Box A is our general purpose web server. It occasionally needs to access Box B, which is set up as an NFS server. When Box B reboots, Box A is unable to access any NFS ...
5
votes
1answer
2k views

Enabling IPv6 with OpenVZ using Proxmox 2.2

I'm trying to enable IPv6 on my Debian nodes (OpenVZ) using venet; my host is under Proxmox 2.2 (kernel 2.6.32-16-pve), and it seems the routing fails. My host correctly pings all my nodes; all my ...
4
votes
6answers
968 views

What do you recommend? OpenVZ or Xen DomU?

I’m looking for a new server at the moment and a fitting virtualization solution. On my recent server I’m using VMware server but don’t what this one anymore as it is very very slow. I have the ...
4
votes
1answer
663 views

Why KVM VPS is slower then OPENVZ

so i just purchased one KVM vps and when i bench it and compare it with my existing openvz vps i found it that its slower that openvz vps and when i checked processor info its bit wrong info so am ...
4
votes
4answers
6k views

PHP unable to allocate memory

On my way to the office this morning, every website on our shared VPS started giving the same error (several times, not the typical memory_limit error which is fatal): Warning: Unknown: Unable to ...
4
votes
1answer
597 views

Why isn't OpenVZ in the Linux kernel by default?

Does anyone know why OpenVZ hasn't been merged into the official Linux kernel? Right now you have to download a special kernel from openvz.org
4
votes
3answers
2k views

How to de-duplicate data for OpenVZ/LXC on Linux?

I want to setup multiple similar containers and I want to have de-duplication. The only solution I'm thinking of is to use OpenSolaris ZFS and share zfs volume with NFSv4 ro iSCSI target and create ...
4
votes
3answers
3k views

Java VM problem in OpenVZ

I bought a vps for hosting my java needs. But I can't run java on it. Everything about java is correctly installed but when I try to run java ("java -version" forexample) I get this error : Error ...
4
votes
3answers
992 views

OpenVZ - share files between virtual machines (VEs)?

Is there any way to share a directory of files between virtual machines running in OpenVZ? My particular use case is that I want to have a shared YUM cache directory, for when they all need to run ...
4
votes
1answer
4k views

Software Interrupts CPU time is high and keeps growing

My system is a Debian 6.0.3 x86_64 box w/kernel 2.6.32-5-openvz-amd64, it hosts a number of OpenVZ containers. I have recently migrated from LXC/newer kernel from backports repo to the stable OpenVZ ...
4
votes
2answers
5k views

How to properly set CPU Units for OpenVz VEs

According to all the sources I read (openvz wiki, various mailinglists, forums, ..) the values of the cpuunits settings are relative to each other. So when all are equal and the system is busy, all ...
4
votes
2answers
2k views

Advice on most fitting choice of virtualization platform: Xen | OpenVZ | KVM | other? What suits the purpose best?

I am aware of the multitude of virtualization threads here but they all seem to be oldish and i'd like to have a brand new one ready for 2012. I'm currently evaluating Xen, OpenVZ and KVM for ...
4
votes
1answer
307 views

RAM burst, myth or reality?

Often when buying a VPS, we are faced with a number of features. These include the RAM. In XEN virtualization RAM and swap is (or should be) dedicated. In OpenVZ, how important is "burst"? I ask ...
3
votes
4answers
733 views

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

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 ...
3
votes
2answers
9k views

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/...
3
votes
2answers
2k views

OpenVZ vs Xen, how much difference in performance?

There is a Xen vs. KVM in performance question on ServerFault. What will be the speed difference if the choice is between Xen and OpenVZ? Searching for such benchmarks does not show any results ...
3
votes
2answers
5k views

aws s3 sync: how to exclude proc, sys directories

I can't seem to get the aws sync s3 command to exclude directories. I am backing up a mounted filesystem from OpenVZ which is located at /vz/root/100. My command is: aws s3 sync /vz/root/100 s3://[...
3
votes
3answers
9k views

Shell access for a KVM VM

I would like to access my KVM VM with a shell. I created it via proxmox 2.3, Ubuntu 12.04 is installed on it via an official template. I would like to find the same command as vzctl enter <VM_id&...
3
votes
1answer
13k views

permission denied for chmod as root

I need to manage a customer's openvz guest (latest debian squeeze 64 bit). Now when I try to do a chmod 0750 /root as root it gives me Permission denied. This really puzzles me, as I thought root can ...
3
votes
1answer
3k views

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 ...
3
votes
1answer
5k views

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 ...
3
votes
2answers
3k views

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 ...
3
votes
2answers
3k views

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 ...
3
votes
1answer
1k views

Managing OpenVZ containers with Ansible

Is there any elegant way to manipulate OpenVZ containers with Ansible? Sure I can install an SSH daemon on each and put my public keys, but as soon as there is a vzcl enter command maybe there is a ...
3
votes
1answer
5k views

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?
3
votes
2answers
859 views

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 ...
3
votes
1answer
3k views

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 ...
3
votes
2answers
962 views

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 ...

1
2 3 4 5
9