There are a few items required for installing vzdump for OpenVZ on 32bit CentOS.
Archive for the ‘OpenVZ’ Category
Poor planning: I guess I am guilty. A few times I have needed to re-number an OpenVZ Container. You just need to know what your current CTID is (sourcecid) and your desired target CTID (targetcid).
Disk space can be easily controlled via OpenVZ but I have yet to find anyone to actually explain what the heck to “really” do when you need to add more! Everything I have found about OpenVZ just explains the parameters and never shows you how to do it easily. When I need to adjust disk [...]
There are a few items required for installing vzdump for OpenVZ on CentOS. First, you’ll need an MTA – I suggest making sure you have postfix installed; if you have postfix installed the initial RPM requirement for “MTA” will be handled for you. Next, you’ll need cstream. This installation is slightly more tricky because (as [...]
All of our servers are currently based off of the Phoenix, Arizona, USA Timezone. This script allows this conversion from each HN (Host Node): #!/bin/bash for f in `ls /vz/private` do vzctl exec $f rm -f /etc/localtime 2>/dev/null vzctl exec $f ln -s /usr/share/zoneinfo/America/Phoenix /etc/localtime done
Here are commands to help adjust the memory / RAM for an OpenVZ VPS: 64MB Guaranteed, 128MB Burstable cid=1000 vzctl set ${cid} –vmguarpages 64M –save vzctl set ${cid} –oomguarpages 64M –save vzctl set ${cid} –privvmpages 64M:128M –save 256MB Guaranteed, 512MB Burstable cid=1000 vzctl set ${cid} –vmguarpages 256M –save vzctl set ${cid} –oomguarpages 256M –save vzctl [...]
I still use a lot of NFS connections on my equipment and when I create OpenVZ VPS systems I need them to have access to NFS. Here are the steps I use: From the Host Node (HN): modprobe nfs vzctl set 101 –features "nfs:on" –save From the VPS: yum -y install nfs-utils nfs-utils-lib chkconfig –levels [...]
Here is my quick-and dirty way to build DNS servers using OpenVZ, CentOS and Bind/Named. This assumes you are creating a new server via OpenVZ. Although Bind is easy to admin with the configuration files recently I have found it is easier to simply admin the zones with Webmin. This setup will create the VPS, [...]
There are a few tutorials out there on installing OpenVZ in CentOS 5.3. Here are the steps I use to install OpenVZ on a brand new installation of CentOS 5.3: Note: this tutorial / walkthrough is for use 64 bit only Update the box via yum Install the OpenVZ Repository and grab the GPG key [...]
Here are the steps I continue to use over and over to build utilities/project servers in OpenVZ. Utilities servers host web apps, mailing applications, etc for my company. We usually build them as self-contained little appliance-like servers. My vision and goal is simple == better every day! First, we create the virtual machine: cid=1164 cd [...]