Top.Mail.Ru
? ?

Previous Entry | Next Entry

OpenVZ Live MIgration Demo Video

I've been playing around the last day or two with installing GUI desktop environments and applications into a VPS. It can be a little tricky keeping a stock distro udev package from overwritting the vzdev package but I figured out a way around that... at least on Red Hat based distros. Anyway, I thought I'd use my new GUI VPS to demonstrate live migration.

You can find it here:

http://www.montanalinux.org/openvz-live-migration-demo.html

That page has an embedded flash video that is sized down to 800x600 (from 1024x768) at 500Kbit/sec video. The flash version isn't as clear as I'd like it to be but I do provide a link to the original video that is a 1024x768 .ogg video that is excellent quality.

Anyone have any suggestions for future videos? Do you prefer with sound/commentary... or the "type in an editor" window format?

Comments

dowdle
Aug. 27th, 2007 03:28 pm (UTC)
Re: Nice video
Pepe,

What I did was use rpm inside of the VPS and fake it out... so it thinks the udev package is installed when it really isn't. Since rpm doesn't do dependencies... and udev depends on one other package, I had to provide rpm with URLs for the two packages it wants when you tell it to install udev. At least on CentOS 5, when I tried passing just the URL for udev, it gripped about one other package (don't recall what it was) so I passed that to it too... and all was happy.

How do you fake out rpm so it thinks something is installed when it isn't?

Use the --justdb flag.

So basically... you:

rpm -ivh --justdb

...and it acts as if it installed the packages but only really updates the rpm database. After doing that, it is probably a good idea to to add an exclude for udev in the /etc/yum.conf file so if there's an upgrade to udev down the line, it doesn't try to do that.

Where do you get the URLs? Well, surf your favorite repo sites in the base packages directory. I run my own repos (which are subsets of official mirrors) so I didn't have any problems finding the URLs and plopping them in. Of course if you want to wget the packages and have them locally, that is ok too.

I've only done this once so don't consider this method perfect... but it worked for me.
dowdle
Aug. 27th, 2007 04:12 pm (UTC)
Re: Nice video
Opps, I should have previewed that better.

There should be URLs after that rpm command sample... but I used gaters (shift , and shift .) to enclose them and they got stripped.

Latest Month

July 2016
S M T W T F S
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Page Summary

Comments

Powered by LiveJournal.com
Designed by Tiffany Chow