Chris Schuld's Blog

personal musings on the composition of software

Archive for the ‘OpenVZ’ Category

Posted by Chris Schuld ADD COMMENTS

There are a few items required for installing vzdump for OpenVZ on 32bit CentOS.

Categories: OpenVZ
Posted by Chris Schuld ADD COMMENTS

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

Categories: OpenVZ
Posted by Chris Schuld 1 COMMENT

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

Categories: OpenVZ
Posted by Chris Schuld 4 COMMENTS

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

Categories: OpenVZ
Posted by Chris Schuld 2 COMMENTS

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

Categories: OpenVZ
Posted by Chris Schuld 4 COMMENTS

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

Categories: Featured, OpenVZ
Posted by Chris Schuld ADD COMMENTS

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

Categories: CentOS5, OpenVZ
Posted by Chris Schuld ADD COMMENTS

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, [...]

Categories: CentOS5, OpenVZ
Posted by Chris Schuld ADD COMMENTS

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

Categories: CentOS5, OpenVZ
Posted by Chris Schuld ADD COMMENTS

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

Categories: OpenVZ

About Chris

Chris Schuld

Thank you for visiting my website. I use this site for a myriad of things: maintaining software I have open sourced, connecting with my readers and friends and documenting all of this little things "I wished I would have written down." You can read more about me or contact me.


thanks for visiting... happy coding

Recent Comments