There are a few items required for installing vzdump for OpenVZ on 32bit CentOS.
Archive for the ‘Linux’ Category
We use nagios to watch our networks and I always forget the simple steps necessary to drop NRPE on the virtual servers or physical services. This post is simply my process I use to drop NRPE on our servers. yum install nrpe nagios-plugins-all echo -e "nrpe\t\t5666/tcp\t\t\t# nrpe" >> /etc/services chkconfig nrpe on vi /etc/nagios/nrpe.conf /etc/init.d/nrpe [...]
I am a fan of the REMI Repository. Here are the steps necessary to add, enable and then update your box w/ the latest packages from the REMI Repository.
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).
A while back I wrote an article on updating to ghostscript 8.63 on CentOS 5.2. I received a fair amount of email and comments on the topic ranging from “thanks” to “you don’t know what your talking about!” I thought I would update the original post to include the latest release of ghostscript (8.7) as [...]
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 [...]
Here are the commands to install Webmin via Yum: echo -e "[Webmin]\nname=Webmin Distribution Neutral\nbaseurl=http://download.webmin.com/download/yum\nenabled=1" > /etc/yum.repos.d/webmin.repo rpm –import http://www.webmin.com/jcameron-key.asc yum install webmin
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 [...]