a curt guide to installing enomalism on centos.

| | Comments (0)
So.  Let's talk a bit about Enomalism.

As I've mentioned before, I think of the frontends chapter as a chance to show some of the possibilities of virtualization.  Unfortunately, the reality is that software development is hard, and all of the elaborate frontends that do exciting EC2-style stuff are extremely incomplete.  They have some rough edges, let us say.

Of the lot, Enomalism's one of the best.

Installing Enomalism2 on CentOS 5.2 is easy enough.  Download the RPM from their website, attempt to install it, then install its dependencies and try to install it again.  Repeat until finished.

Set up MySQL.  (This isn't the only SQL backend, but it ships with RedHat and is convenient.)

# /etc/init.d/mysqld start
# chkconfig mysqld on
# mysqladm password swordfish

Move to Enomalism2's install directory:

# cd /opt/enomalism2

Set it up.

# scripts init-db.sh swordfish enomal swordfish

(That first swordfish is the DB password specified previously, the second is the new password for the enomal user that this script creates.  They should be different.)

# cp default.cfg config/$(hostname).cfg

Edit config/$(hostname).cfg.  Comment all the sqlobject.dburi definitions except the notrans_mysql one, which you should edit with the appropriate name and password.  Set the baseurl and ip_addr.  Generate a UUID and put it in the correct place.

Build an appropriate initrd.  (Note that rather than configure Enomalism2 correctly, I'm just symlinking the kernel image somewhere expected.  This is incorrect.)

# ln -s /boot/vmlinuz-2.6.18-92.el5xen /boot/vmlinuz-2.6.18-xen
# mkinitrd --omit-scsi-modules --with=xennet --with=xenblk --preload=xenblk /boot/initrd-2.6.18-xen $(uname -r)

Start Enomalism.

# scripts/enomalism2.sh start

Connect via a web browser to port 8080 on localhost.  (That's the default, anyway.)  Click around.  You should be able to create machines fairly trivially.

Leave a comment

About this Entry

This page contains a single entry by chris t published on August 4, 2008 4:42 PM.

fetch me a five-year-old child. was the previous entry in this blog.

random X lockups. is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.