Category Archives: virtualization

PHPHOST BLOG

Web Hosting Related Articles You May Need

[one-liner]: Increasing a KVM guest’s Memory on CentOS 5

Background

Recently the need came up to increase the amount of RAM I had allocated to an already running KVM guest VM on a CentOS 5 KVM host. This is a pretty easy task using other virtualization technologies so I assumed, maybe foolishly, that this would be an easy task using KVM too. Looking […] Continue reading

Posted in centos, KVM, one-liner, redhat, rhel, Syndicated, tips & tricks, virtualization | Comments Off on [one-liner]: Increasing a KVM guest’s Memory on CentOS 5

[one-liner]: Working with VMware ESXi 3.5 via the command line

Background

Recently I’ve been getting more hands on experience with VMware ESXi 3.5 at my day job. It seems pretty capable in it’s free version form. After familiarizing myself with the command line shell over the last few days it’s finally starting to make sense. If you’ve worked on any Red Hat distros such as Fedora/CentOS/RHEL […] Continue reading

Posted in one-liner, server, shell, Syndicated, sysadmin, tip, tips & tricks, virtualization, vmware | Comments Off on [one-liner]: Working with VMware ESXi 3.5 via the command line

[one liner]: Mounting .iso images in VMware ESXi

Background

Recently we “inherited” a fairly old yet still usable Intel Pentium 4 system with 2GB RAM that we wanted to use as a testbed for learning more about VMware’s ESXi products. Given the systems age we had to use ESXi 3.5 which was still adequate for our needs. Installing VMware ESXi is pretty straightforward, however […] Continue reading

Posted in centos, one-liner, Syndicated, sysadmin, tip, tips & tricks, virtualization, vmware | Comments Off on [one liner]: Mounting .iso images in VMware ESXi

Keeping CentOS 5 OpenVZ images up to Date with Yum

Now that I’ve been using OpenVZ for several months I’d gotten to the point where I wanted/needed to “yum update” all my VEs. I currently have 11 images running on my OpenVZ Server. I thought I could just vzctl exec … yum -y update all the VEs, but quickly ran into some issues with this […] Continue reading

Posted in centos, openvz, package management, rhel, Syndicated, sysadmin, tip, tips & tricks, virtualization | Comments Off on Keeping CentOS 5 OpenVZ images up to Date with Yum

Managing OpenVZ Instance Descriptions

I recently discovered that you can assign descriptions to your OpenVZ instances. This isn’t really that surprising but I never really took the the time until now to scan through the vzctl and vzlist man pages. Prior to discovering these more esoteric features of vzctl and vzlist, I’d normally just run this command to see […] Continue reading

Posted in shell, Syndicated, tip, tutorials, virtualization | Comments Off on Managing OpenVZ Instance Descriptions

Troubleshooting a Restore of an OpenVZ Image from one Host Node to Another

.center { margin-left: 5em; margin-right: 5em; }

I hadn’t tried this before but I figured I could use vzdump to save a Virtual Environment aka. (VE) from one Host Node aka. (HN) and restore it to another Host Node. It turns out that you can do this but there is one gotcha that I […] Continue reading

Posted in openvz, Syndicated, tip, tips & tricks, virtualization | Comments Off on Troubleshooting a Restore of an OpenVZ Image from one Host Node to Another

Howto Stop Clock Drift Issues on a CentOS 5 OpenVZ Host Node

I’ve been dealing with a nagging problem for several months. The problem? I can’t get my OpenVZ Host Node, aka. HN, to keep consistent time. I’ve even been running ntpd, and the time would still invariably drift so that the HN and the Virtual Environments, aka. VEs, running on the HN were all several hours […] Continue reading

Posted in centos, ntp, openvz, redhat, Syndicated, time, tip, tips & tricks, virtualization | Comments Off on Howto Stop Clock Drift Issues on a CentOS 5 OpenVZ Host Node